entitymanager
JPA entityManager is null in Pointcut
I have defined a pointcut using the @Aspect annotation in my class. I configure the pointcut using a custom annotation which I have defined in my context:[详细]
2023-02-17 20:37 分类:问答Hibernate Annotations self referencing class?
I have defined this Entity class, but it does not seem to save the children to the database. Any ideas?[详细]
2023-02-17 01:10 分类:问答EntityManager doesn't refresh the data after querying
My current project uses HSQLDB2.0 and JPA2.0 . The scenario is: I query DB to get list of contactDetails of person. I delete single contactInfo at UI but do not save that data (Cancel the saving part[详细]
2023-02-16 10:43 分类:问答Does Spring support PersistenceContextType.EXTENDED?
A @Stateful EJB can use Persist开发者_如何学运维enceContextType.EXTENDED for reusing the same EntityManager across multiple transactions. This is useful in implementing conversational scopes. Does Spr[详细]
2023-02-13 02:36 分类:问答Persistence.createEntityManager() painfully slow with Hibernate
I\'m having huge performance issues with my Eclipse RCP application, apparently caused by Hibernate. To be more specific, the application takes extremely long to start up (up to 2 minutes) - profiling[详细]
2023-02-11 12:17 分类:问答java.lang.IllegalArgumentException: interface org.jboss.seam.persistence.EntityManagerProxy is not visible from class loader
I have run into a pretty strange error that I can\'t get my head around. In short: I have an ImporterBean that should read an xml file and then do s开发者_JS百科tuff.[详细]
2023-02-11 10:07 分类:问答Strange JPA behaviour: tables cleaned at app boot
Almost all is in the title... Persistence is working fine when app launched, and row are still in DB when the app is closed, but once app is loaded, rows got deleted...[详细]
2023-02-10 18:43 分类:问答Seam - get Connection via (Session)em.getDelegate();
I use the Seam framework. If I do Session sess = (Session)em.getDelegate(); Connection conn = sess.connection();[详细]
2023-02-10 10:45 分类:问答Symfony2 entityManager in model
I\'m going to use entity_manager in my model. But entity_manager is only available in controller: throw $em = $this->get(\'doctrine.orm.entity_manager\'). So, I have to define model methods with $e[详细]
2023-02-09 21:08 分类:问答Is javax.persistence.entitymanager is a JPA interface?
Today I\'ve confused. is ja开发者_Go百科vax.persistence.entitymanager a JPA interface? ThanksYes, it\'s an interface, and Hibernate provides an implementation.[详细]
2023-02-05 06:53 分类:问答