jpa
JPA- Hibernate - ID values generated from Select statement
I am having problems mapping a legacy database schema using JPA annotations. The schema uses a table to generate unique IDs for most of the tables in the db - it has a structure of:[详细]
2023-04-12 08:48 分类:问答many-to-many persistence
I am new to Java EE, and I set up a learning case for myself where I can register users and persist the data to the database, I use Glassfish, EclipseLink JPA 2.0 and JSF framework. The databasecontai[详细]
2023-04-12 06:56 分类:问答JPA need for explicit .refresh on Entity indepent of CascadeType.REFRESH?
Why isn\'t my CascadeType.REFRESH actually refreshing my entities? When adding an object it doesn\'t update the collection (still empty).[详细]
2023-04-12 06:12 分类:问答Salesforce's Database.com and Google App Engine via JPA
Currently i try to connect (via JPA/Datanucleus) with an application, hosted by Google App Engine, to the database service of database.com (Salesforce)[详细]
2023-04-12 06:08 分类:问答JPA: how do you get/print the JPQL query string behind a (typed) query after parameters have been set?
How do you get/print the JPQL query string behind a (typed) query, that is after parameters have been set? (e.g. for debugging purposes)[详细]
2023-04-12 03:31 分类:问答How can I cascade delete a collection which is part of a JPA entity?
@Entity public class Report extends Model { public Date date; public double availability; @ElementCollection[详细]
2023-04-12 03:24 分类:问答Hibernate Annotations one-to-many parent-child delete
I am working with onetomany relationship in hibernate JPA annotations, here is my table and entity class details...[详细]
2023-04-12 02:52 分类:问答Hibernate EntityManagerImpl: Getting or setting up access to it
We are developing a Java EE application using Hibernate as a JPA provider. We now wish to use Hibernate Criterias but for that I need to get access to the HibernateEntityManagerImpl.[详细]
2023-04-12 01:30 分类:问答Usecases that really need Hibernate HQL over JPQL
I know JPQL is a subset of HQL. Are there any practical usecases (please give examples) that really need HQL specific features to be used (that means it is impossible or considerably difficult with[详细]
2023-04-12 01:09 分类:问答hibernate : parent contains a collection of children, when child is deleted/saved I want to automatically "refresh" parent's collections
So if a child is created or deleted, I want to remove/add to collection on parent without manually callin开发者_如何学JAVAg accessing the collection or retreving a new parent object from the session.[详细]
2023-04-12 00:30 分类:问答