entitymanager
How to prevent non-repeatable query results using persistence API in Java SE?
I am using Java SE and learning about the use of a persistence API (toplink-essentials) to manage entities in a Derby DB. Note: this is (distance learning) university work, but it is not \'homework\'[详细]
2023-01-07 00:31 分类:问答Two db connections using ejb, java persistence entitymanager
I am am tryign to access two dbs via one slsb, specifically one method within an slsb.However this is not possible ?Other than altering the stored procs is there anything else I could do ?[详细]
2023-01-05 14:17 分类:问答TestConnectionOnCheckin c3p0 Configuration Property in Hibernate/Spring Framework
I would like to set the testConnectionOnCheckin property for c3p0. However I am having trouble doing so because the c3p0 datasource is created on my behalf within a hibernate entity-manager bean.[详细]
2023-01-04 04:48 分类:问答EntityManager does not update on flush()
Java EJB\'s EntityManag开发者_运维问答er does not update data from a Consumer. A Consumer logs into a shop, buys some stuff and wants to look at his shopping-history. Everything is displayed but his[详细]
2023-01-02 04:54 分类:问答JPA2 -- Where is EntityManager.detach?
I read in several places that JPA2 will support a detach method call on Entity Manager.I am running with Hibernate 3.5.1-FINAL and Spring 3.0.2-RELEASE as Maven dependencies -- snagged from the JBoss[详细]
2022-12-31 18:22 分类:问答Websphere 7 EntityManagerFactory creation problem
I\'m working on a maven project which uses seam 2.2.0, hibernate 3.5.0-CR-2 as JPA provider, DB2 as database server and Websphere 7 as application server. Now I\'m facing de following problem:[详细]
2022-12-29 01:23 分类:问答When we need more than one EntityManager?
I am learning JPA and have one question: In which situations we need more than one EntityManager in our application?[详细]
2022-12-26 09:56 分类:问答How do I get spring to inject my EntityManager?
I\'m following the guide here, but when the DAO executes, the EntityManager is null. I\'ve tried a number of fixes I found in the comments on the guide, on various forums, and here (including this),[详细]
2022-12-26 02:18 分类:问答Spring, Hibernate, EntityManager and class inheritance
I\'m pretty much new to Spring & Hibernate. In our team, we are building a web application using Struts 2 for the presentation layer, with Spring 3 and Hibernate 3 (with Annotations) underneath. W[详细]
2022-12-22 23:02 分类:问答Problem on jboss lookup entitymanager
I have my ear-project deployed in jboss 5.1GA. From webapp i don\'t have problem, the lookup of my ejb3 work fine![详细]
2022-12-22 13:28 分类:问答