I took a working project with Hibernate and Spring. I'm trying to migrate it to Batoo, to test performance change. I swapped Hibernate Session Factory and Tx manager according to HelloJSF example.
This is how far I got. I think it may be because of JPA annotations, but NPE does not tell much.
08:26:20.711 ERROR o.s.test.context.TestContextManager Caused by: org.batoo.common.BatooException: Unknown error occurred during deployment
08:26:20.711 ERROR o.s.test.context.TestContextManager at org.batoo.jpa.core.impl.deployment.DeploymentManager.handleException(DeploymentManager.java:248)
08:26:20.711 ERROR o.s.test.context.TestContextManager at org.batoo.jpa.core.impl.deployment.DeploymentManager.perform(DeploymentManager.java:336)
08:26:20.711 ERROR o.s.test.context.TestContextManager at org.batoo.jpa.core.impl.deployment.LinkManager.perform(LinkManager.java:78)
08:26:20.711 ERROR o.s.test.context.TestContextManager at org.batoo.jpa.core.impl.manager.EntityManagerFactoryImpl.(EntityManagerFactoryImpl.java:155)
08:26:20.711 ERROR o.s.test.context.TestContextManager at org.batoo.jpa.core.BatooPersistenceProvider.createContainerEntityManagerFactory(BatooPersistenceProvider.java:72)
08:26:20.711 ERROR o.s.test.context.TestContextManager at org.batoo.jpa.core.BatooPersistenceProvider.createContainerEntityManagerFactory(BatooPersistenceProvider.java:44)
08:26:20.711 ERROR o.s.test.context.TestContextManager at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:288)
08:26:20.711 ERROR o.s.test.context.TestContextManager at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:310)
08:26:20.711 ERROR o.s.test.context.TestContextManager at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1541)
08:26:20.711 ERROR o.s.test.context.TestContextManager at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1479)
08:26:20.711 ERROR o.s.test.context.TestContextManager ... 46 common frames omitted
08:26:20.711 ERROR o.s.test.context.TestContextManager java.lang.NullPointerException: null
08:26:20.711 ERROR o.s.test.context.TestContextManager at org.batoo.jpa.core.impl.model.mapping.PluralAssociationMappingImpl.link(PluralAssociationMappingImpl.java:488)
08:26:20.711 ERROR o.s.test.context.TestContextManager at org.batoo.jpa.core.impl.deployment.LinkManager.perform(LinkManager.java:101)
08:26:20.711 ERROR o.s.test.context.TestContextManager at org.batoo.jpa.core.impl.deployment.LinkManager.perform(LinkManager.java:39)
08:26:20.711 ERROR o.s.test.context.TestContextManager at org.batoo.jpa.core.impl.deployment.DeploymentUnitTask.call(DeploymentUnitTask.java:75)
08:26:20.711 ERROR o.s.test.context.TestContextManager at org.batoo.jpa.core.impl.deployment.DeploymentUnitTask.call(DeploymentUnitTask.java:42)
08:26:20.711 ERROR o.s.test.context.TestContextManager at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
08:26:20.711 ERROR o.s.test.context.TestContextManager at java.util.concurrent.FutureTask.run(FutureTask.java:166)
08:26:20.711 ERROR o.s.test.context.TestContextManager at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
08:26:20.711 ERROR o.s.test.context.TestContextManager at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
08:26:20.711 ERROR o.s.test.context.TestContextManager at java.lang.Thread.run(Thread.java:724)
I took a working project with Hibernate and Spring. I'm trying to migrate it to Batoo, to test performance change. I swapped Hibernate Session Factory and Tx manager according to HelloJSF example.
This is how far I got. I think it may be because of JPA annotations, but NPE does not tell much.