I have a problem with the architecture of JPA 2.0/ORM, in our production system (and i believe in a lot of sy开发者_开发知识库stems) we need the ability to change the SQL queries dynamically because s
Is there any way that criteria for qu开发者_如何学编程eries can be built on a remote (Swing/SWT etc) client?We\'ve been using the DetachedCriteria functionality in Hibernate for quite some time, but w
Why would the following query fail due to a foreign key constraint? There is no other way for me to delete the associated data that I am aware of.
Does JPA 2 have any mechanism for running recursive queries? Here\'s my situation: I have an entity E, which contains an integer field x. It also may have children of type E, mapped via @OneToMany. W
I am using the Hibernate 3.5.1 and EntityManager for data persistence (with JPA 2.0 and EHCache 1.5). I can obtain the query by the following code:
When using Blob-fields in n-to-m-relations Hibernate and MSSQL are failing for some reason. SQL Error: 421, SQLState: S0001
How can I formulate the following JPA2 criteria query without using the metamodel classes: CriteriaBuilder cb = em.getCriteriaBuilder();
I have the following database tables: party, with a pk \"pty_id\" connected to a sequence for generating pk values.
Could someone provide a simple example that demonstrates how to implement a simple开发者_StackOverflow社区 \"update\" method? This one does not update
I am using JPA 2 for an enterprise application, and my DBA\'s just hit me with a twist. They want me to use the group\'s centralized object ID generator for all my tables.This means rather than using