About XML

21-30 of 200Refresh
Forum
28

JPA Configuration without persistance.xml

on a persistance.xml file being in a particular place. When using Hibernate, I was able to do the following ... ObjectDB the persistence.xml is file optional. Just annotate the classes and use them. Thanks
Forum
28

Spring + Maven + persitence.xml

.4.3   Persistence.xml xml like: (test.odb doesn't exist)
Forum
28

Compress ODB file with XML content

, which contains XML with a very high compression potential. Do you use that field in queries? If not
Tutorial
28

Step 2: Entity Class and Persistence Unit

the [Provider and Database] step just click Finish to generate a default persistence.xml file ... + ")"; } } A default JPA persistence unit (with default settings) was generated in a persistence.xml file that was added to the project (under Configuration Files). Open the persistence.xml file in
Tutorial
28

Step 2: Entity Class and Persistence Unit

the [Provider and Database] step click Finish to generate a default persistence.xml file ... + ")"; } } A default JPA persistence unit (with default settings) was generated in a persistence.xml file ... the persistence.xml file in a text editor (by right clicking and selecting Edit or by double click
Tutorial
26

Step 2: Entity Class and Persistence Unit

guests in the database. We also need to configure JPA by setting a META-INF/persistence.xml file ... the new META-INF folder in the [Project Explorer] window, select New > File, enter persistence.xml as file name and click Finish. Verify that a new persistence.xml file was created as shown below: Finally
Tutorial
26

Step 2: Entity Class and Persistence Unit

/persistence.xml file: Open the [New Folder] dialog box, e.g. by right clicking the project node (in ... > File, enter persistence.xml as file name and click Finish. Verify that a new persistence.xml file ... to the persistence.xml file: xml version="1.0" encoding="UTF-8"?>
Manual
24

Storing JPA Entity Objects

setting the ObjectDB configuration or in a JPA portable way, by specifying the cascade-persist XML element in the XML mapping file:
Manual
23

JPA Lifecycle Events

can only be specified in a mapping XML file because there is no equivalent annotation:
Tutorial
16

Step 1: Create a Maven Web Project

to create the project. The configuration of the new created project is contained in a pom.xml file ... all the required JAR files from Maven repositories - open the pom.xml file and in the pom.xml tab use