I\'m getting an error when trying to persist a many to one entity: Internal Exception: org.postgresql.util.PSQLException: ERROR: insert or update on table \"concept\" violates foreign key constraint
is there an easy approach to store my model, which I use with EclipseLink, in XML files? I want to implement an export functionality in my progr开发者_如何学运维am and I was wondering if this can be
I have a SQL query SELECT * FROM Thing AS a JOIN Thing_Property AS b ON a.id=b.Thing_ID JOIN Property AS c ON b.properties_ID = c.id
My application architecture looks like this. GWT in the UI layer -> Calls GWT RPC service (servlets) -> Looksup Spring Beans -> Calls the DAO l开发者_运维问答ayer which is implemented in JPA (Eclipse
I\'ve been using JPA for some time now and been in projects where we\'ve used both Hibernate Annotations and Toplink Essentials.
I have a question regarding JPA persistence in Glassfish. Situation: I have a Supplier class that has a 1:n bidirectional relation to SupplierAddress.
In the projects where Hibernate is my persistence provider, I can issue queries with \'join fetch\' expressions, and Hibernate will generate SQL that mirrors that: SQL containing join expressions usin
I have class named AbstractEntity, which is annotated with @MappedSuperclass. Then I have a class named User (@Entity) which extends AbstractEntity. Both of these exist in a package named foo.bar.fram
I have some trouble understanding a JPA behaviour. Mabye someone could give me a hint. Situation: Product entity:
Hey guys, my goal is create an EntityManager using properties dependent on which database is in use.I\'ve seen something like this done in all my Google searches(I made the code more basic for the pur