I\'m using MOXy to unmarshal a relatively simple XML document, but I\'m getting inconsistent behavior. The document consists of two elements with basic information (a name and date) followed by a list
I\'m using EclipseLink (JPA 2.0) on Netbeans 7.0 with a MySQL database - which I configured according to this screencast. But sometimes when I persist an Object/Entity my table get\'s cleared before t
In EclipseLink, I run into a problem where an element is inserted twice, resulting into a primary key violation. The scenario is as follows:
I\'ve created my model classes with JPA 2.0 annotations. At runtime, I will use EclipseLink 2.2.0, but I\'ve been careful to use only pure JPA annotations in my model classes.
I have the following design: (source: kawoolutions.com) Simple logic: Foos uses a multi-column PK to PostAddresses using the same columns (same key).
Is there is anything in the JPA specification that describes what a valid @Embeddable class can be? I have looked but cannot find anything.
Started a new project from scratch, converted to JPA, my persistence provider is EclipseLink, added the necessary libraries (eclipselink.jar, eclipselink.jar, javax.persistence, mysql-connector-java-5
I am trying to call a stored procedure using native query call from an entity manager like this String command = \"...\"//my stored procedure call command
I am using eclipselink, and I have the following code to call a stored procedure: Query q = em.createNativeQuery(\"exec ....\");
I am using the latest version of EclipseLink (2.2.0) with SQL Server 200开发者_StackOverflow社区5.