jpa-1.0
JPA 1.0: How to write an efficient transformer from an entity to a transfer object?
I want to write an efficient transformer, that will transform a JPA (1.0) entity to my transfer object and that:[详细]
2023-04-07 15:24 分类:问答Using JPA1.0: How to write queries
Good day, I have this weird problem: This following statement works Query q = em.createQuery(\"SELECT m from AccountClass as m\");[详细]
2023-03-22 11:44 分类:问答Legacy database mapping issue with JPA 1.0
I have a problem with mapping a legacy database with JPA 1.0. The database is stored denormalized for data-mining purposes. I condensed it to a simple example that hopefully clarifies the issue. Assum[详细]
2023-03-19 15:52 分类:问答Question about concurrency with jpa 1.0 transactions
Currently we\'re creating a single EntityManager per request in our web app. We\'re wanting to开发者_JAVA技巧 create a transaction at the beginning of the request and close it at the end to get autom[详细]
2023-01-30 17:02 分类:问答JPA 1.0 or hibernate?
We are planning to migrate to Java EE 5 from j2EE 1.4. All of our ORM needs were fulfilled well by Hibernate 2.1.0 s0 far. Since we are moving to Java EE 5 which has support for JPA 1.0, I am wonderin[详细]
2023-01-25 00:54 分类:问答JPA OneToMany not deleting child
I have a problem with a simple @OneToMany mapping between a parent and a child entity. All works well, only that child records are not deleted when I remove them from the collection.[详细]
2022-12-15 19:00 分类:问答