-
1. Re: Jboss 5.1 to 6.0 migration
jaikiran Jan 5, 2011 3:11 AM (in response to sabbirali)Does the AbcSiteSatausFacade bean inject any persistence unit or persistence context? What does that code look like? And where is the persistence.xml placed?
-
2. Re: Jboss 5.1 to 6.0 migration
sabbirali Jan 5, 2011 4:42 AM (in response to jaikiran)i have put persistence.xml in META-INF folder of EJB module
but i have change runtime and it is showing error like below
15:00:30,968 INFO [EntityBinder] Bind entity com.eks.ias.service.core.entity.MstUsr on table MST_USR
15:00:30,984 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=IASEar.ear/IASEJB.jar#eksOracle state=Create: org.hibernate.AnnotationException: Associations marked as mappedBy must not define database mappings like @JoinTable or @JoinColumn: com.eks.ias.service.core.entity.MstUsr.mapConceptZoneSites
Thanx for reply ....
15:00:30,968 INFO [EntityBinder] Bind entity com.eks.ias.service.core.entity.MstUsr on table MST_USR15:00:30,984 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=IASEar.ear/IASEJB.jar#eksOracle state=Create: org.hibernate.AnnotationException: Associations marked as mappedBy must not define database mappings like @JoinTable or @JoinColumn: com.eks.ias.service.core.entity.MstUsr.mapConceptZoneSites -
3. Re: Jboss 5.1 to 6.0 migration
nickarls Jan 5, 2011 5:13 AM (in response to sabbirali)That is a Hibernate error causing the failure. Check the entity.
-
4. Re: Jboss 5.1 to 6.0 migration
sabbirali Jan 5, 2011 6:59 AM (in response to nickarls)thanx for your valuable reply Nicklas Karlsson......
-
5. Re: Jboss 5.1 to 6.0 migration
spiritfox26 Jul 27, 2011 9:09 AM (in response to sabbirali)I have this error, you resolved it?
Thanks