Top "Eclipselink" questions

EclipseLink delivers a comprehensive open-source Java persistence solution.

Is @ManyToMany(mappedBy = ... ) + @OrderColumn supported by the JPA?

I have an entity mapped as following: @Entity @Table(name = "Groups") @IdClass(value = GroupId.class) public class Group implements Serializable { @…

hibernate jpa many-to-many eclipselink
Cannot get EclipseLink MOXy to work

I'm new to JAXB and I want to change the default namespace prefix using EclipseLink MOXy. My package-info.java has …

xml jaxb eclipselink moxy
How to handle org.eclipse.persistence.exceptions.OptimisticLockExceptio

I want to handle concurrent execution by using Optimistic Locking. I have included @Version annotation in my entity class. In …

jpa locking eclipselink optimistic-locking optimistic-concurrency
Why doesn't NetBeans IDE see the generated sources?

I have a Maven-built web-app that uses JPA 2.0 at the back end. The JPA provider is EclipseLink 2.3.2. When I build …

maven netbeans eclipselink netbeans-7
JPA/EclipseLink: Does EntityManager.getTransaction() create a new transaction or return the active one?

I am using EclipseLink 2.3.0. I have a method that I am calling from a unit test (hence outside of a …

jpa transactions eclipselink
javax.ejb.EJBException: Illegal non-business method access on no-interface view

I'm using EclipseLink on GlassFish 3.1.1 and I'm trying to understand this exception: javax.ejb.EJBException: Illegal non-business method access on …

servlets jpa ejb eclipselink
JPA - correct way to insert to a join table (with extra columns)

I managed to insert crew for my movie - now I want to do it the right way. Entities (abbreviated): @…

jpa eclipselink jpa-2.0 entitymanager
EclipseLink JPA inheritance without discriminator column

I have a Client and Affiliate class, inheriting from Person class. Joined inheritance strategy type is being used - each …

java jpa eclipselink discriminator
MOXy JAXB: how to exclude elements from marshalling

I have my model: @XmlRootElement @XmlAccessorType(XmlAccessType.FIELD) public class CustomerTest { private Long id; @XmlPath("contact-info/billing-address") private AddressTest billingAddress; @…

jaxb eclipselink moxy
Disable Cascade in ManyToOne relationship JPA when saving

I'm having problems when saving entities in my DB. I have something like (very simplified) : @Entity public class Building { @OneToMany(…

java jpa eclipselink cascade many-to-one