Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

one_to_many_join_bidir

The prerequisite is that you need the DataNucleus Maven2 plugin installed. You can download this plugin from the DataNucleus downloads area.

  1. Set the database configuration in "src/main/resources/META-INF/persistence.xml"

  2. Make sure you have the JDBC driver jar specified in the "pom.xml" file

  3. Run the command: "mvn clean compile" This builds everything, and enhances the classes

  4. Run the command: "mvn datanucleus:schema-create" This creates the schema

[... run some persistence code ...]

  1. Run the command: "mvn datanucleus:schema-delete" This deletes the schema