Regardless of the following persistence.xml configuration the database is persisted on disk. <persistence-unit name=\"com.mysimpatico_inmemory_persiste开发者_如何学编程nce_nbm_1.0-SNAPSHOTPU\" tr
I am using Spring + EclipseLink 2 to manage entity on a Derby database. Select object from db works fine but when I try to persist one, nothing happens. Program executes correctly and no exception are
Hey guys,I have the following query and for the life of me I can\'t seem to translate it into JPQL.The working SQL is:
Given the following example (departments - projects): A department has the following properties (composite primary key):
I\'m trying to use a UUID for a primary key using JPA 2 (EclipseLink). I\'m using PostgreSQL as the database. I have my entity declared as follows: I have an Employee table with its PK set as a UUID.
I\'m currently trying to implement a ManyToMany Relationship with Data in the JoinTable. I\'m following this approachwith the Eclipselink JPA Framework.
EclipseLink normally generates SQLs like: SELECT t0.ID, t1.NAME FROM MAN t0, WIFE t1 WHERE t0.ID = t1.MAN_ID
When I execute: public void beginTransaction() { em.getTransaction().begin(); } following an active transaction started in the same way, I get the following exception:
My current persistence.xml table generation strategy is set to create. This guarantees that each new installation of my application will get the tables, but that also means that everytime the applicat
Using the EclipseLink JPA2 implementation (not sure if it\'s the same with the Hibernate implementation)