persistence
entityManager.getTransaction().rollback() detaches entities?
I have the following piece of code: EntityManagerFactory emf = Persistence.createEntityManagerFactory(\"test\")[详细]
2023-03-21 20:00 分类:问答How to avoid Persistence of a Factory Girl object
I have several rspec tests that use Factory_girl. It is used on MongoDB with MongoId in a Rails 3 app.[详细]
2023-03-21 19:14 分类:问答Switching between embedded Databases in Java with JPA
Im currently working my way towards JPA 2.0 and I start of liking how easy it is to maintain persistent data.[详细]
2023-03-21 06:37 分类:问答PostgreSQL query isolation with C extension using persistent data
The situation: I need to do a procedural sort of a query result set. The data set size/access frequency does not allow this sort to occur in application memory.[详细]
2023-03-21 04:06 分类:问答Obtain ServiceDeploymentId in TrackingParticipant
In WF4, I\'ve created a descendant of TrackingParticipant. In the Track method, record.InstanceId gives me the GUID of the workflow instance.[详细]
2023-03-21 02:45 分类:问答Hibernate create object in relation through factory
I\'m new to Hibernate and I\'m trying to achieve the following: the class i\'m working with is persistent and is stored in DB. It looks like this:[详细]
2023-03-20 12:01 分类:问答Nothing was stored in database when mode=aspectj
I build an application开发者_JS百科 which use Hibernate JPA2 + Spring. I have problem with transaction. I\'m using declarative transaction in my POJO classes. In context config I have next line:[详细]
2023-03-20 08:38 分类:问答Simple pojo persistence without database
I have a very simple web project, which need to just persistence some \"users\", each one just have a few fields(\"username\", \"password\").[详细]
2023-03-20 00:21 分类:问答JPA - defining multi-column unique constraints
Is it possible using JPA to define开发者_StackOverflow社区 multiple unique constraints. @Entity class Foo {[详细]
2023-03-19 22:44 分类:问答How do I load database credentials from a properties file in JPA?
So I have a Java/JPA2.0 (EclipseLink) app that conne开发者_运维百科cts to a MySQL database.My intention is just passing a JAR file around with a db.properties file.The db.properties should contain the[详细]
2023-03-19 04:19 分类:问答