persistence.xml
How do I create a persistence.xml file for JPA and Hibernate?
I\'m trying to use Hibernate JPA but I need to create my persistence.xml (so I can use the entity manager correctly). I am unsure of what to create and where to place it.[详细]
2023-04-01 21:53 分类:问答How can I exclude one persistence.xml from the test classpath in Eclipse without using Maven/Ant?
While running JUnit integration tests inside Eclipse, I have two persistence.xml files on the classpath - one containing the configuration for the test cases and another one for production. I need to[详细]
2023-03-23 17:32 分类:问答Error parsing the persistence.xml(org.hibernate.MappingException)
I am using JPA and I tried to put my configuration data in the persistence.xml file. But when I run the app, the error is as follows:[详细]
2023-03-17 20:55 分类:问答Change values in persistence.xml from within the program
Is it possible to change va开发者_如何转开发lues in persistence.xml from within the program that is using it ? If yes, i would appreciate some hints or/and links to read.Yes[详细]
2023-03-13 14:46 分类:问答Persistence.xml where to put in eclipse project
Simple question... I have a few projects in Eclipse enviroment MainApp(Enterprise Application Project) which \"includes\"[详细]
2023-03-11 06:24 分类:问答persistence.xml not getting added in ear
We have a maven project with ejbs and stuff. When i run a build and create my ear, the persistence.开发者_开发技巧xml doesnt get included inside the ear. What could be wrong here?You can add you file[详细]
2023-03-05 23:42 分类:问答Two Persistence Unit in one Persistence.xml
We created some libraries that all our projects will use, this libraries will provide the basic functionality of all our systems (login, some manage, etc). But the application itself could use another[详细]
2023-02-17 22:37 分类:问答Java Netbeans: Editing the MySQL DB connection infos
I just created a new project with NetBeans using the database template to connect to a MySQL database. After sea开发者_运维知识库rching a while I got a question and hope anyone can help me with that:[详细]
2023-02-02 16:58 分类:问答Deployed war to tomcat can't throws java.lang.NoClassDefFoundError: javax/persistence/PersistenceException
I\'m new to this forum and also new to JPA / EJB. I\'m trying to deploy a .war file containing a small application to a tomcat server. The application is using JTA to communicate with the Derby db.[详细]
2023-02-01 15:23 分类:问答persistence.xml for ejb deployed in glassfish
folks, i am trying to de开发者_开发问答ploy a ear with a ejb in the ear root. the ejb has a persistence.xml file where thetag has to be a jar file in the Glassfish\'s domain lib.(this i have put it t[详细]
2023-01-31 10:21 分类:问答