NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Posted via mailing list.
|
Posted: Thu Jun 21, 2012 12:51 am Post subject: Can you resolve this error? |
|
|
I encountered this error while I was deploying my Java EE project.
I generated entity beans from mySQL and I think that raised this error but I cannot figure out what this means since I'm newbie to this tool. Can anyone help me resolve this?
Error occurred during deployment: Exception while preparing the app : Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [AffableBeanPU] failed.
Internal Exception: Exception [EclipseLink-7220] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.ValidationException
Exception Description: The @JoinColumns on the annotated element [field sprint] from the entity class [class entity.TeammemberHasSprint] is incomplete. When the source entity class uses a composite primary key, a @JoinColumn must be specified for each join column using the @JoinColumns. Both the name and the referencedColumnName elements must be specified in each such @JoinColumn.. Please see server.log for more details.
Thank you.  |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|