Top "Eclipselink" questions

EclipseLink delivers a comprehensive open-source Java persistence solution.

JAXB Compiling Issue - [ERROR] Property "Any" is already defined

I am trying to create JAXB binding for xccdf-1.1.4.xsd which is a standard schema that can be obtain from …

jaxb eclipselink moxy
EclipseLink and Sequence Generator Preallocation

I have an issue I can't get my head around. In hibernate I have no problem with the following: @GeneratedValue( …

hibernate jpa eclipselink
Catching constraint violations in JPA 2.0

Consider the following entity class, used with, for example, EclipseLink 2.0.2 - where the link attribute is not the primary key, …

java jpa try-catch eclipselink unique-constraint
javax.persistence.* sources, where?

I might be missing something really obvious here, but I couldn't find the sources for a few classes from the …

java eclipse jpa eclipselink
How to use joda time with JPA (eclipselink)?

I tried to use the DataTime in my entity class. Adding @Temporal(TemporalType.DATE) above the field, I got the …

java jpa persistence eclipselink jodatime
Jaxb project in eclipse indigo

When I create a jaxb project in eclipse indigo, it tells me "The currently selected JAXB library provider is invalid" …

java jaxb eclipselink moxy
JPQL query with WHERE on nested fields

I have a java entity class UserBean with a list of events: @OneToMany private List<EventBean> events; EventBean …

jpa eclipselink jpql named-query
Select for update skip locked from JPA level

In my application - Oracle with JPA (EclipseLink), I'm using the following expression to lock the subset of the records …

java oracle jpa locking eclipselink
Why merging is not cascaded on a one to many relationship

My question here is almost similar to my other question Explicit delete on JPA relationships but I thought of simplifying …

java jpa eclipselink ejb-3.1
Prevent duplicate entries in a join table in a many-to-many relationship in JPA

I'm using EclipseLink 2.5.1 (and Hibernate 4.3.5 final). Given the following tables in MySQL. product prod_colour (join table) colour There is …

hibernate jpa many-to-many eclipselink jpa-2.1