Top "Persistence.xml" questions

Used with the Java Persistence API, specifies names and database properties.

Why do I need to configure the SQL dialect of a data source?

When we configure a data source using Hibernate, we should add the hibernate.dialect property (or eclipselink.target-database if you …

hibernate configuration eclipselink persistence.xml dialect
Create JPA EntityManager without persistence.xml configuration file

Is there a way to initialize the EntityManager without a persistence unit defined? Can you give all the required properties …

jpa runtime entitymanager persistence.xml
No Persistence provider for EntityManager named X

I am developing a JavaSE application using JPA. Unfortunately, I get null after calling: Persistence.createEntityManagerFactory(PERSISTENCE_UNIT_NAME); Below …

java jakarta-ee jpa entitymanager 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 …

java hibernate jakarta-ee configuration persistence.xml
persistence.xml different transaction-type attributes

In the persistence.xml JPA configuration file, you can have a line like: <persistence-unit name="com.nz_war_1.0-SNAPSHOTPU" …

java jpa jakarta-ee jta persistence.xml
Where to put persistence.xml in library jar using maven?

At work we have an entity library which is used by several clients for the library (several servlets, a desktop …

java maven jpa jar persistence.xml
How to specify JPA 2.1 in persistence.xml?

A quick search on the Net reveals three or four variants how folks have been specifying xmlns and xsi:schemaLocation …

java jpa jpa-2.1 persistence.xml
persistence.xml with Glassfish 3.1.1

I am very new to glassfish, JPA and so on and I have really problems with setting that up. What …

jpa glassfish eclipselink persistence.xml
why EntityManager is null?

In my web applicaton I use OpenJPA on Apache Tomcat (TomEE)/7.0.37 server. I use Netbeans to auto generate class ("Entity …

java entitymanager openjpa persistence.xml apache-tomee
Properties reference for hibernate in persistence.xml

Does anyone know a link, post, book or something else where are explained and nominalized all properties that you need …

jpa jpa-2.0 persistence.xml