Top "Eclipselink" questions

EclipseLink delivers a comprehensive open-source Java persistence solution.

JPA2: Case-insensitive like matching anywhere

I have been using Hibernate Restrictions in JPA 1.0 ( Hibernate driver ). There is defined Restrictions.ilike("column","keyword", MatchMode.ANYWHERE) which …

java criteria eclipselink jpa-2.0 hibernate-criteria
JPA No transaction is currently active

Using JPA with EclipseLink implementation. Code: try{ if(!em.getTransaction().isActive()) em.getTransaction().begin(); System.out.println(2); em.persist(currentUser); …

java jpa eclipselink
How to write JPA query with boolean condition

In my project i am using JPA 2.0 with eclipselink inplementation, an I have following problem: I have defined entity with …

jpa-2.0 eclipselink jpql
Multiple writable mappings exception in EclipseLink

I have these tables: Which my intention is : A user can be a company or a person but each one …

jpa orm ejb jpa-2.0 eclipselink
Example of using CURRENT_DATE in JPA query

Can anyone point me to an example on how to use CURRENT_DATE in a JPA query? CURRENT_DATE is …

java jpa eclipselink
JAXB unmarshalling multiple XML elements into single class

I have the following XML structure, which is modelling a single concept across multiple XML elements. This format is not …

java xml jaxb eclipselink moxy
Manually specify the value of a primary key in JPA @GeneratedValue column

I'm having an Entity which has a primary key / id field like the following: @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private …

java mysql jpa orm eclipselink
Hibernate or EclipseLink for JPA?

I was wondering if anyone has experience with the JPA2.0 implementation of any of those frameworks? Especially together with Spring3.…

java hibernate jpa eclipselink jpa-2.0
Update Entity using EntityManager JPA EclipseLink

I am getting a ERROR: duplicate key value violates unique constraint "users_pkey" Detail: Key (userid)=(2701) already exists. whenever i …

java jpa eclipselink spring-roo
EclipseLink : No Persistence provider for EntityManager named

I'd like to create one Bundle that is able to use Java Persistence. To achieve this, I've created a plugin …

java jpa osgi eclipselink equinox