datanucleus / datanucleus-maven-plugin Goto Github PK
View Code? Open in Web Editor NEWDataNucleus Maven plugin
License: Apache License 2.0
DataNucleus Maven plugin
License: Apache License 2.0
If maven repository is a symbolic link (or has symbolic link somewhere along its path), datanucleus-maven-plugin fails.
You can reproduce with Hive:
$ mkdir /tmp/repository
$ ln -s /tmp/repository /tmp/repository2
$ cd ~/dev
$ git clone https://git-wip-us.apache.org/repos/asf/hive.git
$ cd hive
$ mvn package -DskipTests -Dmaven.repo.local=/tmp/repository2
...
[INFO] Reactor Summary:
[INFO]
[INFO] Hive .............................................. SUCCESS [ 17.412 s]
[INFO] Hive Shims Common ................................. SUCCESS [ 59.582 s]
[INFO] Hive Shims 0.23 ................................... SUCCESS [ 24.419 s]
[INFO] Hive Shims Scheduler .............................. SUCCESS [ 0.625 s]
[INFO] Hive Shims ........................................ SUCCESS [ 0.353 s]
[INFO] Hive Storage API .................................. SUCCESS [ 3.589 s]
[INFO] Hive Common ....................................... SUCCESS [ 27.321 s]
[INFO] Hive Service RPC .................................. SUCCESS [ 6.676 s]
[INFO] Hive Serde ........................................ SUCCESS [ 5.955 s]
[INFO] Hive Standalone Metastore ......................... FAILURE [ 12.199 s]
[INFO] Hive Metastore .................................... SKIPPED
[INFO] Hive Vector-Code-Gen Utilities .................... SKIPPED
[INFO] Hive Llap Common .................................. SKIPPED
[INFO] Hive Llap Client .................................. SKIPPED
[INFO] Hive Llap Tez ..................................... SKIPPED
[INFO] Spark Remote Client ............................... SKIPPED
[INFO] Hive Query Language ............................... SKIPPED
[INFO] Hive Llap Server .................................. SKIPPED
[INFO] Hive Service ...................................... SKIPPED
[INFO] Hive Accumulo Handler ............................. SKIPPED
[INFO] Hive JDBC ......................................... SKIPPED
[INFO] Hive Beeline ...................................... SKIPPED
[INFO] Hive CLI .......................................... SKIPPED
[INFO] Hive Contrib ...................................... SKIPPED
[INFO] Hive Druid Handler ................................ SKIPPED
[INFO] Hive HBase Handler ................................ SKIPPED
[INFO] Hive JDBC Handler ................................. SKIPPED
[INFO] Hive HCatalog ..................................... SKIPPED
[INFO] Hive HCatalog Core ................................ SKIPPED
[INFO] Hive HCatalog Pig Adapter ......................... SKIPPED
[INFO] Hive HCatalog Server Extensions ................... SKIPPED
[INFO] Hive HCatalog Webhcat Java Client ................. SKIPPED
[INFO] Hive HCatalog Webhcat ............................. SKIPPED
[INFO] Hive HCatalog Streaming ........................... SKIPPED
[INFO] Hive HPL/SQL ...................................... SKIPPED
[INFO] Hive Llap External Client ......................... SKIPPED
[INFO] Hive Shims Aggregator ............................. SKIPPED
[INFO] Hive TestUtils .................................... SKIPPED
[INFO] Hive Packaging .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:39 min
[INFO] Finished at: 2017-09-05T12:08:35-08:00
[INFO] Final Memory: 109M/2311M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.datanucleus:datanucleus-maven-plugin:3.3.0-release:enhance (default) on project hive-standalone-metastore: Error executing DataNucleus tool org.datanucleus.enhancer.DataNucleusEnhancer: InvocationTargetException: Plugin (Bundle) "org.datanucleus" is already registered. Ensure you dont have multiple JAR versions of the same plugin in the classpath. The URL "file:/tmp/repository2/org/datanucleus/datanucleus-core/4.1.17/datanucleus-core-4.1.17.jar" is already registered, and you are trying to register an identical plugin located at URL "file:/tmp/repository/org/datanucleus/datanucleus-core/4.1.17/datanucleus-core-4.1.17.jar." -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hive-standalone-metastore
You can also reproduce it without -Dmaven.repo.local
(if you don't mind trashing your local repo).
An email thread from a while ago was clearly running into the same problem: http://thread.gmane.org/gmane.comp.java.hadoop.hive.user/13953
I'm trying to use DataNucleus with Maven.
<plugin>
<groupId>org.datanucleus</groupId>
<artifactId>datanucleus-maven-plugin</artifactId>
<version>5.0.2</version>
<configuration>
<api>JPA</api>
<persistenceUnitName>examplePU</persistenceUnitName>
<!--<log4jConfiguration>${basedir}/log4j.properties</log4jConfiguration>-->
<verbose>true</verbose>
</configuration>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>enhance</goal>
</goals>
</execution>
</executions>
</plugin>
And I only get this.
[ERROR] --------------------
[ERROR] Standard error from the DataNucleus tool + org.datanucleus.enhancer.DataNucleusEnhancer :
[ERROR] --------------------
[ERROR] Error: Could not find or load main class org.datanucleus.enhancer.DataNucleusEnhancer
The -X
shows this
[ERROR] Failed to execute goal org.datanucleus:datanucleus-maven-plugin:5.0.2:enhance (default) on project java-ee-example1-entities: The DataNucleus tool org.datanucleus.enhancer.DataNucleusEnhancer exited with a non-null exit code. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.datanucleus:datanucleus-maven-plugin:5.0.2:enhance (default) on project java-ee-example1-entities: The DataNucleus tool org.datanucleus.enhancer.DataNucleusEnhancer exited with a non-null exit code.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: The DataNucleus tool org.datanucleus.enhancer.DataNucleusEnhancer exited with a non-null exit code.
at org.datanucleus.maven.AbstractDataNucleusMojo.executeCommandLine(AbstractDataNucleusMojo.java:282)
at org.datanucleus.maven.AbstractEnhancerMojo.enhance(AbstractEnhancerMojo.java:223)
at org.datanucleus.maven.AbstractEnhancerMojo.executeDataNucleusTool(AbstractEnhancerMojo.java:81)
at org.datanucleus.maven.AbstractDataNucleusMojo.execute(AbstractDataNucleusMojo.java:126)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 20 more
A database is defined by catalog/schema since some RDBMS use catalog and some use schema, so we need both input
Hello, I am trying to use datanucleus-jpa v5.2 to run tests on my JPA code. Metadata-based generation works, but I can not get the schema generation from a script to function. I get the following error:
java.lang.IllegalArgumentException: Property "datanucleus.generateSchema.create.order" specified with value "script" but this value is invalid. Please check the documentation for valid values
I can not find this property in the documentation, but I did not set it either. My persistence.xml:
<persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_2.xsd" version="2.2">
<persistence-unit name="testPU" transaction-type="RESOURCE_LOCAL">
<class>com.inetum.realdolmen.Item</class>
<properties>
<property name="javax.persistence.schema-generation.create-script-source" value="META-INF/create.sql" />
<property name="javax.persistence.schema-generation.create-source" value="script" />
<property name="javax.persistence.schema-generation.database.action" value="drop-and-create" />
<property name="javax.persistence.jdbc.driver" value="org.h2.Driver" />
<property name="javax.persistence.jdbc.url" value="jdbc:h2:mem:test;DB_CLOSE_DELAY=-1" />
</properties>
</persistence-unit>
</persistence>
I use the following configuration in pom.xml (heavily drawing from the tools guide, though you can see I use a profile and the test-compile phase and test-enhance goal):
<profile>
<id>datanucleus</id>
<properties>
<datanucleus.version>5.2.1</datanucleus.version>
</properties>
<dependencies>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>[1.2, 1.3)</version>
</dependency>
<dependency>
<groupId>org.datanucleus</groupId>
<artifactId>datanucleus-core</artifactId>
<version>${datanucleus.version}</version>
</dependency>
<dependency>
<groupId>org.datanucleus</groupId>
<artifactId>datanucleus-rdbms</artifactId>
<version>${datanucleus.version}</version>
</dependency>
<dependency>
<groupId>org.datanucleus</groupId>
<artifactId>datanucleus-api-jpa</artifactId>
<version>${datanucleus.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.datanucleus</groupId>
<artifactId>datanucleus-maven-plugin</artifactId>
<version>${datanucleus.version}</version>
<configuration>
<api>JPA</api>
<persistenceUnitName>testPU</persistenceUnitName>
<log4jConfiguration>${basedir}/src/test/resources/log4j.properties</log4jConfiguration>
<verbose>true</verbose>
</configuration>
<executions>
<execution>
<phase>test-compile</phase>
<goals>
<goal>test-enhance</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
21:48:17,852 (main) DEBUG [DataNucleus.General] - Using PluginRegistry org.datanucleus.plugin.NonManagedPluginRegistry
21:48:17,911 (main) DEBUG [DataNucleus.General] - Registering bundle org.sonatype.inject version 2.3.0 at URL file:/home/robindm/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.3.0/sisu-inject-bean-2.3.0.jar.
21:48:17,948 (main) DEBUG [DataNucleus.General] - Loading extension points and extensions from plug-in file jar:file:/home/robindm/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.3.0/sisu-inject-bean-2.3.0.jar!/plugin.xml.
21:48:17,952 (main) DEBUG [DataNucleus.General] - Registering bundle org.datanucleus version 5.2.1 at URL file:/home/robindm/.m2/repository/org/datanucleus/datanucleus-core/5.2.1/datanucleus-core-5.2.1.jar.
21:48:17,959 (main) DEBUG [DataNucleus.General] - Loading extension points and extensions from plug-in file jar:file:/home/robindm/.m2/repository/org/datanucleus/datanucleus-core/5.2.1/datanucleus-core-5.2.1.jar!/plugin.xml.
21:48:17,977 (main) DEBUG [DataNucleus.General] - Registering bundle org.datanucleus.store.rdbms version 5.2.1 at URL file:/home/robindm/.m2/repository/org/datanucleus/datanucleus-rdbms/5.2.1/datanucleus-rdbms-5.2.1.jar.
21:48:17,987 (main) DEBUG [DataNucleus.General] - Loading extension points and extensions from plug-in file jar:file:/home/robindm/.m2/repository/org/datanucleus/datanucleus-rdbms/5.2.1/datanucleus-rdbms-5.2.1.jar!/plugin.xml.
21:48:17,996 (main) DEBUG [DataNucleus.General] - Registering bundle org.datanucleus.api.jpa version 5.2.1 at URL file:/home/robindm/.m2/repository/org/datanucleus/datanucleus-api-jpa/5.2.1/datanucleus-api-jpa-5.2.1.jar.
21:48:18,003 (main) DEBUG [DataNucleus.General] - Loading extension points and extensions from plug-in file jar:file:/home/robindm/.m2/repository/org/datanucleus/datanucleus-api-jpa/5.2.1/datanucleus-api-jpa-5.2.1.jar!/plugin.xml.
21:48:18,100 (main) DEBUG [DataNucleus.Persistence] - Java types support initialising ...
21:48:18,147 (main) DEBUG [DataNucleus.Persistence] - Java types support loaded : supported java types=[B, [C, [D, [F, [I, [J, [Ljava.lang.Boolean;, [Ljava.lang.Byte;, [Ljava.lang.Character;, [Ljava.lang.Double;, [Ljava.lang.Enum;, [Ljava.lang.Float;, [Ljava.lang.Integer;, [Ljava.lang.Long;, [Ljava.lang.Number;, [Ljava.lang.Object;, [Ljava.lang.Short;, [Ljava.lang.String;, [Ljava.math.BigDecimal;, [Ljava.math.BigInteger;, [Ljava.util.Date;, [Ljava.util.Locale;, [S, [Z, boolean, byte, char, double, float, int, java.awt.Color, java.awt.image.BufferedImage, java.lang.Boolean, java.lang.Byte, java.lang.Character, java.lang.Class, java.lang.Double, java.lang.Enum, java.lang.Float, java.lang.Integer, java.lang.Long, java.lang.Number, java.lang.Short, java.lang.String, java.lang.StringBuffer, java.lang.StringBuilder, java.math.BigDecimal, java.math.BigInteger, java.net.URI, java.net.URL, java.sql.Date, java.sql.Time, java.sql.Timestamp, java.time.Duration, java.time.Instant, java.time.LocalDate, java.time.LocalDateTime, java.time.LocalTime, java.time.MonthDay, java.time.OffsetDateTime, java.time.OffsetTime, java.time.Period, java.time.Year, java.time.YearMonth, java.time.ZonedDateTime, java.time.ZoneId, java.time.ZoneOffset, java.util.ArrayList, java.util.Arrays$ArrayList, java.util.BitSet, java.util.Calendar, java.util.Collection, java.util.Currency, java.util.Date, java.util.GregorianCalendar, java.util.HashMap, java.util.HashSet, java.util.Hashtable, java.util.LinkedHashMap, java.util.LinkedHashSet, java.util.LinkedList, java.util.List, java.util.Locale, java.util.Map, java.util.Optional, java.util.PriorityQueue, java.util.Properties, java.util.Queue, java.util.Set, java.util.SortedMap, java.util.SortedSet, java.util.Stack, java.util.TimeZone, java.util.TreeMap, java.util.TreeSet, java.util.UUID, java.util.Vector, long, short
21:48:18,147 (main) DEBUG [DataNucleus.Persistence] - Type converter support initialising ...
21:48:18,174 (main) DEBUG [DataNucleus.Persistence] - Type converter support loaded
21:48:18,174 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for byte[] to : java.nio.ByteBuffer
21:48:18,175 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for char[] to : java.nio.ByteBuffer
21:48:18,175 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for double[] to : java.nio.ByteBuffer
21:48:18,175 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for float[] to : java.nio.ByteBuffer
21:48:18,175 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for int[] to : java.nio.ByteBuffer
21:48:18,175 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for long[] to : java.nio.ByteBuffer
21:48:18,175 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for [Ljava.math.BigDecimal; to : java.nio.ByteBuffer
21:48:18,175 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for [Ljava.math.BigInteger; to : java.nio.ByteBuffer
21:48:18,175 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for short[] to : java.nio.ByteBuffer
21:48:18,175 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for boolean[] to : java.nio.ByteBuffer
21:48:18,175 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.awt.Color to : int[],java.lang.String
21:48:18,175 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.awt.image.BufferedImage to : byte[],java.nio.ByteBuffer
21:48:18,176 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.io.Serializable to : byte[],java.lang.String,java.nio.ByteBuffer
21:48:18,176 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.lang.Boolean to : java.lang.Character,java.lang.Integer
21:48:18,176 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.lang.Character to : java.lang.String
21:48:18,176 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.lang.Class to : java.lang.String
21:48:18,176 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.lang.Integer to : java.lang.String
21:48:18,176 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.lang.Long to : java.lang.String
21:48:18,176 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.lang.StringBuffer to : java.lang.String
21:48:18,176 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.lang.StringBuilder to : java.lang.String
21:48:18,176 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.math.BigDecimal to : java.lang.Double,java.lang.String
21:48:18,176 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.math.BigInteger to : java.lang.Long,java.lang.String
21:48:18,176 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.net.URI to : java.lang.String
21:48:18,176 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.net.URL to : java.lang.String
21:48:18,176 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.sql.Date to : java.lang.Long,java.lang.String,java.util.Date
21:48:18,176 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.sql.Time to : java.lang.Long,java.lang.String,java.util.Date
21:48:18,176 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.sql.Timestamp to : java.lang.Long,java.lang.String,java.util.Date
21:48:18,177 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.time.Duration to : java.lang.Long,java.lang.Double,java.lang.String
21:48:18,177 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.time.Instant to : java.lang.Long,java.sql.Timestamp,java.lang.String,java.util.Date
21:48:18,177 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.time.LocalDate to : java.lang.String,java.sql.Date,java.util.Date
21:48:18,177 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.time.LocalDateTime to : java.lang.String,java.sql.Timestamp,java.util.Date
21:48:18,177 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.time.LocalTime to : java.lang.Long,java.lang.String,java.sql.Time,java.util.Date
21:48:18,177 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.time.MonthDay to : int[],java.lang.String,java.sql.Date,java.util.Date
21:48:18,177 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.time.OffsetDateTime to : java.lang.String,java.sql.Timestamp,java.util.Date
21:48:18,177 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.time.OffsetTime to : java.lang.Long,java.lang.String,java.sql.Time
21:48:18,177 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.time.Period to : int[],java.lang.String
21:48:18,177 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.time.Year to : java.lang.String,java.lang.Integer
21:48:18,177 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.time.YearMonth to : int[],java.lang.String,java.sql.Date,java.util.Date
21:48:18,177 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.time.ZonedDateTime to : java.lang.String,java.sql.Timestamp
21:48:18,177 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.time.ZoneId to : java.lang.String
21:48:18,177 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.time.ZoneOffset to : java.lang.String
21:48:18,178 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.util.BitSet to : java.lang.String
21:48:18,178 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.util.Calendar to : [Ljava.lang.Object;,java.lang.String,java.sql.Timestamp,java.util.Date
21:48:18,178 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.util.Currency to : java.lang.String
21:48:18,178 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.util.Date to : java.lang.Long,java.lang.String
21:48:18,178 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.util.Locale to : java.lang.String
21:48:18,178 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.util.TimeZone to : java.lang.String
21:48:18,178 (main) DEBUG [DataNucleus.Persistence] - TypeConverter(s) available for java.util.UUID to : java.lang.String
21:48:18,178 (main) DEBUG [DataNucleus.MetaData] - MetaDataManager : Input=(XML,Annotations), XML-Validation=false
21:48:18,178 (main) INFO [DataNucleus.Enhancer] - DataNucleus Enhancer (version 5.2.1) for API "JPA"
21:48:18,179 (main) DEBUG [DataNucleus.Enhancer] - DataNucleus Enhancer : Classpath
21:48:18,179 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/datanucleus/datanucleus-maven-plugin/5.2.1/datanucleus-maven-plugin-5.2.1.jar
21:48:18,179 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.8/plexus-utils-3.0.8.jar
21:48:18,179 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/apache/maven/maven-artifact/3.0.4/maven-artifact-3.0.4.jar
21:48:18,179 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/apache/maven/maven-plugin-api/3.0.4/maven-plugin-api-3.0.4.jar
21:48:18,179 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/apache/maven/maven-model/3.0.4/maven-model-3.0.4.jar
21:48:18,179 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/sonatype/sisu/sisu-inject-plexus/2.3.0/sisu-inject-plexus-2.3.0.jar
21:48:18,180 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
21:48:18,180 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.3.0/sisu-inject-bean-2.3.0.jar
21:48:18,180 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar
21:48:18,180 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/sonatype/sisu/sisu-guava/0.9.9/sisu-guava-0.9.9.jar
21:48:18,180 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/codehaus/plexus/plexus-container-default/1.5.5/plexus-container-default-1.5.5.jar
21:48:18,180 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/codehaus/plexus/plexus-classworlds/2.2.2/plexus-classworlds-2.2.2.jar
21:48:18,180 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/apache/xbean/xbean-reflect/3.4/xbean-reflect-3.4.jar
21:48:18,180 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar
21:48:18,181 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.jar
21:48:18,181 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/com/google/collections/google-collections/1.0/google-collections-1.0.jar
21:48:18,181 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/junit/junit/3.8.2/junit-3.8.2.jar
21:48:18,181 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/Documents/Education/new/hibernate/target/classes
21:48:18,181 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/Documents/Education/new/hibernate/target/test-classes
21:48:18,181 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/eclipse/persistence/javax.persistence/2.2.0/javax.persistence-2.2.0.jar
21:48:18,181 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/com/h2database/h2/1.4.200/h2-1.4.200.jar
21:48:18,181 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/junit/jupiter/junit-jupiter-api/5.7.1/junit-jupiter-api-5.7.1.jar
21:48:18,181 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/apiguardian/apiguardian-api/1.1.0/apiguardian-api-1.1.0.jar
21:48:18,182 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar
21:48:18,182 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/junit/platform/junit-platform-commons/1.7.1/junit-platform-commons-1.7.1.jar
21:48:18,182 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/junit/jupiter/junit-jupiter-engine/5.7.1/junit-jupiter-engine-5.7.1.jar
21:48:18,182 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/junit/platform/junit-platform-engine/1.7.1/junit-platform-engine-1.7.1.jar
21:48:18,182 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar
21:48:18,182 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/datanucleus/datanucleus-core/5.2.1/datanucleus-core-5.2.1.jar
21:48:18,182 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/datanucleus/datanucleus-rdbms/5.2.1/datanucleus-rdbms-5.2.1.jar
21:48:18,182 (main) DEBUG [DataNucleus.Enhancer] - >> /home/robindm/.m2/repository/org/datanucleus/datanucleus-api-jpa/5.2.1/datanucleus-api-jpa-5.2.1.jar
21:48:18,183 (main) DEBUG [DataNucleus.Enhancer] - Enhancing classes
21:48:18,191 (main) DEBUG [DataNucleus.MetaData] - Parsing MetaData file "file:/home/robindm/Documents/Education/new/hibernate/target/classes/META-INF/persistence.xml" using handler "persistence" (validation="false")
21:48:18,194 (main) DEBUG [DataNucleus.MetaData] - Parsing MetaData file "file:/home/robindm/Documents/Education/new/hibernate/target/test-classes/META-INF/persistence.xml" using handler "persistence" (validation="false")
21:48:18,196 (main) DEBUG [DataNucleus.MetaData] - MetaData Management : Loading Metadata for persistence-unit "testPU" ...
21:48:18,196 (main) DEBUG [DataNucleus.MetaData] - Class "com.inetum.realdolmen.AppTest" found to be part of persistence-unit "testPU" so loading it in case it is persistable
21:48:18,196 (main) DEBUG [DataNucleus.MetaData] - Not found any metadata mapping files for resource name META-INF/orm.xml in CLASSPATH
21:48:18,199 (main) DEBUG [DataNucleus.MetaData] - Class com.inetum.realdolmen.AppTest was specified in persistence-unit (maybe by not putting exclude-unlisted-classes) testPU but not annotated, so ignoring
21:48:18,243 (main) DEBUG [DataNucleus.MetaData] - Class "com.inetum.realdolmen.Item" has been specified with JPA annotations so using those.
21:48:18,259 (main) DEBUG [DataNucleus.MetaData] - Populating all MetaData ...
21:48:18,260 (main) DEBUG [DataNucleus.MetaData] - Class "com.inetum.realdolmen.Item" : Populating Meta-Data
21:48:18,260 (main) DEBUG [DataNucleus.MetaData] - Class "com.inetum.realdolmen.Item" field "title" : Adding Meta-Data for member since it didnt appear in the Meta-Data definition.
21:48:18,260 (main) DEBUG [DataNucleus.MetaData] - Class "com.inetum.realdolmen.Item" field "completed" : Adding Meta-Data for member since it didnt appear in the Meta-Data definition.
21:48:18,262 (main) DEBUG [DataNucleus.MetaData] - Initialising all MetaData ...
21:48:18,263 (main) DEBUG [DataNucleus.MetaData] - Class "com.inetum.realdolmen.Item" : Initialising Meta-Data
21:48:18,266 (main) DEBUG [DataNucleus.MetaData] - MetaData Management : Load of Metadata complete
21:48:18,274 (main) DEBUG [DataNucleus.Enhancer] - Enhance of class "com.inetum.realdolmen.Item" starting ...
21:48:18,294 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt implement the interface "org.datanucleus.enhancement.Persistable" but is required
21:48:18,294 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt implement the interface "org.datanucleus.enhancement.Detachable" but is required
21:48:18,294 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have field "dnStateManager" but is required
21:48:18,294 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have field "dnDetachedState" but is required
21:48:18,294 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have field "dnInheritedFieldCount" but is required
21:48:18,294 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have field "dnFlags" but is required
21:48:18,294 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have field "dnFieldNames" but is required
21:48:18,294 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnReplaceField" but is required
21:48:18,295 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnGetStateManager" but is required
21:48:18,295 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnIsTransactional" but is required
21:48:18,295 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnNewInstance" but is required
21:48:18,295 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnNewInstance" but is required
21:48:18,295 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnProvideFields" but is required
21:48:18,295 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "___dn$loadClass" but is required
21:48:18,295 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnGetManagedFieldCount" but is required
21:48:18,295 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnIsDirty" but is required
21:48:18,295 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnReplaceStateManager" but is required
21:48:18,295 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnReplaceFlags" but is required
21:48:18,295 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnIsDetached" but is required
21:48:18,295 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnMakeDirty" but is required
21:48:18,295 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnIsDeleted" but is required
21:48:18,295 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnProvideField" but is required
21:48:18,295 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnPreSerialize" but is required
21:48:18,295 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnGetObjectId" but is required
21:48:18,295 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnGetVersion" but is required
21:48:18,296 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnGetTransactionalObjectId" but is required
21:48:18,296 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnIsNew" but is required
21:48:18,296 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnCopyKeyFieldsToObjectId" but is required
21:48:18,296 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnCopyKeyFieldsToObjectId" but is required
21:48:18,296 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnCopyField" but is required
21:48:18,296 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnCopyKeyFieldsFromObjectId" but is required
21:48:18,296 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnCopyKeyFieldsFromObjectId" but is required
21:48:18,296 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnGetExecutionContext" but is required
21:48:18,296 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnCopyFields" but is required
21:48:18,296 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "__dnGetInheritedFieldCount" but is required
21:48:18,296 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnNewObjectIdInstance" but is required
21:48:18,296 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnNewObjectIdInstance" but is required
21:48:18,296 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnReplaceDetachedState" but is required
21:48:18,296 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnIsPersistent" but is required
21:48:18,296 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "dnReplaceFields" but is required
21:48:18,296 (main) DEBUG [DataNucleus.Enhancer] - Class "com.inetum.realdolmen.Item" doesnt have method "__dnFieldNamesInit" but is required
21:48:18,306 (main) DEBUG [DataNucleus.Enhancer] - Adding interface: org.datanucleus.enhancement.Detachable
21:48:18,306 (main) DEBUG [DataNucleus.Enhancer] - Adding interface: org.datanucleus.enhancement.Persistable
21:48:18,310 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item. : omitting enhance of set of field "com.inetum.realdolmen.Item.id"
21:48:18,310 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item. : omitting enhance of set of field "com.inetum.realdolmen.Item.id"
21:48:18,310 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item. : omitting enhance of set of field "com.inetum.realdolmen.Item.title"
21:48:18,310 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item. : omitting enhance of set of field "com.inetum.realdolmen.Item.completed"
21:48:18,311 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item.getId changing field "com.inetum.realdolmen.Item.id" for call to "dnGetid()"
21:48:18,311 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item.setId changing field "com.inetum.realdolmen.Item.id" for call to "dnSetid()"
21:48:18,311 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item.getTitle changing field "com.inetum.realdolmen.Item.title" for call to "dnGettitle()"
21:48:18,311 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item.setTitle changing field "com.inetum.realdolmen.Item.title" for call to "dnSettitle()"
21:48:18,311 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item.isCompleted changing field "com.inetum.realdolmen.Item.completed" for call to "dnGetcompleted()"
21:48:18,311 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item.setCompleted changing field "com.inetum.realdolmen.Item.completed" for call to "dnSetcompleted()"
21:48:18,311 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item.toString changing field "com.inetum.realdolmen.Item.completed" for call to "dnGetcompleted()"
21:48:18,311 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item.toString changing field "com.inetum.realdolmen.Item.id" for call to "dnGetid()"
21:48:18,312 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item.toString changing field "com.inetum.realdolmen.Item.title" for call to "dnGettitle()"
21:48:18,312 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item.hashCode changing field "com.inetum.realdolmen.Item.id" for call to "dnGetid()"
21:48:18,312 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item.hashCode changing field "com.inetum.realdolmen.Item.id" for call to "dnGetid()"
21:48:18,313 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item.equals changing field "com.inetum.realdolmen.Item.id" for call to "dnGetid()"
21:48:18,313 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item.equals changing field "com.inetum.realdolmen.Item.id" for call to "dnGetid()"
21:48:18,313 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item.equals changing field "com.inetum.realdolmen.Item.id" for call to "dnGetid()"
21:48:18,313 (main) DEBUG [DataNucleus.Enhancer] - Enhancing original method com.inetum.realdolmen.Item.equals changing field "com.inetum.realdolmen.Item.id" for call to "dnGetid()"
21:48:18,313 (main) DEBUG [DataNucleus.Enhancer] - Adding field "org.datanucleus.enhancement.StateManager dnStateManager"
21:48:18,313 (main) DEBUG [DataNucleus.Enhancer] - Adding field "byte dnFlags"
21:48:18,313 (main) DEBUG [DataNucleus.Enhancer] - Adding field "[Ljava.lang.Object; dnDetachedState"
21:48:18,313 (main) DEBUG [DataNucleus.Enhancer] - Adding field "[Ljava.lang.String; dnFieldNames"
21:48:18,313 (main) DEBUG [DataNucleus.Enhancer] - Adding field "int dnInheritedFieldCount"
21:48:18,314 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void ()"
21:48:18,315 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void dnCopyKeyFieldsFromObjectId(org.datanucleus.enhancement.Persistable$ObjectIdFieldConsumer fc, java.lang.Object oid)"
21:48:18,315 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void dnCopyKeyFieldsFromObjectId(java.lang.Object oid)"
21:48:18,315 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void dnCopyKeyFieldsToObjectId(java.lang.Object oid)"
21:48:18,316 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void dnCopyKeyFieldsToObjectId(org.datanucleus.enhancement.Persistable$ObjectIdFieldSupplier fs, java.lang.Object oid)"
21:48:18,316 (main) DEBUG [DataNucleus.Enhancer] - Adding method "java.lang.Object dnGetObjectId()"
21:48:18,316 (main) DEBUG [DataNucleus.Enhancer] - Adding method "java.lang.Object dnGetVersion()"
21:48:18,316 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void dnPreSerialize()"
21:48:18,316 (main) DEBUG [DataNucleus.Enhancer] - Adding method "org.datanucleus.enhancement.ExecutionContextReference dnGetExecutionContext()"
21:48:18,316 (main) DEBUG [DataNucleus.Enhancer] - Adding method "org.datanucleus.enhancement.StateManager dnGetStateManager()"
21:48:18,316 (main) DEBUG [DataNucleus.Enhancer] - Adding method "java.lang.Object dnGetTransactionalObjectId()"
21:48:18,317 (main) DEBUG [DataNucleus.Enhancer] - Adding method "boolean dnIsDeleted()"
21:48:18,317 (main) DEBUG [DataNucleus.Enhancer] - Adding method "boolean dnIsDirty()"
21:48:18,317 (main) DEBUG [DataNucleus.Enhancer] - Adding method "boolean dnIsNew()"
21:48:18,317 (main) DEBUG [DataNucleus.Enhancer] - Adding method "boolean dnIsPersistent()"
21:48:18,317 (main) DEBUG [DataNucleus.Enhancer] - Adding method "boolean dnIsTransactional()"
21:48:18,318 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void dnMakeDirty(java.lang.String fieldName)"
21:48:18,318 (main) DEBUG [DataNucleus.Enhancer] - Adding method "java.lang.Object dnNewObjectIdInstance()"
21:48:18,318 (main) DEBUG [DataNucleus.Enhancer] - Adding method "java.lang.Object dnNewObjectIdInstance(java.lang.Object key)"
21:48:18,318 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void dnProvideFields([I indices)"
21:48:18,318 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void dnReplaceFields([I indices)"
21:48:18,318 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void dnReplaceFlags()"
21:48:18,319 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void dnReplaceStateManager(org.datanucleus.enhancement.StateManager sm)"
21:48:18,319 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void dnReplaceDetachedState()"
21:48:18,319 (main) DEBUG [DataNucleus.Enhancer] - Adding method "boolean dnIsDetached()"
21:48:18,319 (main) DEBUG [DataNucleus.Enhancer] - Adding method "org.datanucleus.enhancement.Persistable dnNewInstance(org.datanucleus.enhancement.StateManager sm)"
21:48:18,319 (main) DEBUG [DataNucleus.Enhancer] - Adding method "org.datanucleus.enhancement.Persistable dnNewInstance(org.datanucleus.enhancement.StateManager sm, java.lang.Object obj)"
21:48:18,319 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void dnReplaceField(int index)"
21:48:18,320 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void dnProvideField(int index)"
21:48:18,320 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void dnCopyField(com.inetum.realdolmen.Item obj, int index)"
21:48:18,320 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void dnCopyFields(java.lang.Object obj, [I indices)"
21:48:18,320 (main) DEBUG [DataNucleus.Enhancer] - Adding method "[Ljava.lang.String; __dnFieldNamesInit()"
21:48:18,320 (main) DEBUG [DataNucleus.Enhancer] - Adding method "int __dnGetInheritedFieldCount()"
21:48:18,321 (main) DEBUG [DataNucleus.Enhancer] - Adding method "int dnGetManagedFieldCount()"
21:48:18,321 (main) DEBUG [DataNucleus.Enhancer] - Adding method "java.lang.Class ___dn$loadClass(java.lang.String className)"
21:48:18,322 (main) DEBUG [DataNucleus.Enhancer] - Adding method "boolean dnGetcompleted(com.inetum.realdolmen.Item objPC)"
21:48:18,322 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void dnSetcompleted(com.inetum.realdolmen.Item objPC, boolean val)"
21:48:18,323 (main) DEBUG [DataNucleus.Enhancer] - Adding method "java.lang.String dnGetid(com.inetum.realdolmen.Item objPC)"
21:48:18,323 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void dnSetid(com.inetum.realdolmen.Item objPC, java.lang.String val)"
21:48:18,323 (main) DEBUG [DataNucleus.Enhancer] - Adding method "java.lang.String dnGettitle(com.inetum.realdolmen.Item objPC)"
21:48:18,323 (main) DEBUG [DataNucleus.Enhancer] - Adding method "void dnSettitle(com.inetum.realdolmen.Item objPC, java.lang.String val)"
21:48:18,324 (main) INFO [DataNucleus.Enhancer] - Writing class file "/home/robindm/Documents/Education/new/hibernate/target/classes/com/inetum/realdolmen/Item.class" with enhanced definition
21:48:18,324 (main) INFO [DataNucleus.Enhancer] - ENHANCED (Persistable) : com.inetum.realdolmen.Item
21:48:18,324 (main) DEBUG [DataNucleus.Enhancer] - Enhance of class "com.inetum.realdolmen.Item" completed
21:48:18,325 (main) INFO [DataNucleus.Enhancer] - DataNucleus Enhancer completed with success for 1 classes. Timings : input=83 ms, enhance=58 ms, total=141 ms. Consult the log for full details
21:48:19,482 (main) DEBUG [DataNucleus.General] - Using PluginRegistry org.datanucleus.plugin.NonManagedPluginRegistry
21:48:19,523 (main) DEBUG [DataNucleus.General] - Registering bundle org.datanucleus version 5.2.1 at URL file:/home/robindm/.m2/repository/org/datanucleus/datanucleus-core/5.2.1/datanucleus-core-5.2.1.jar.
21:48:19,539 (main) DEBUG [DataNucleus.General] - Loading extension points and extensions from plug-in file jar:file:/home/robindm/.m2/repository/org/datanucleus/datanucleus-core/5.2.1/datanucleus-core-5.2.1.jar!/plugin.xml.
21:48:19,551 (main) DEBUG [DataNucleus.General] - Registering bundle org.datanucleus.store.rdbms version 5.2.1 at URL file:/home/robindm/.m2/repository/org/datanucleus/datanucleus-rdbms/5.2.1/datanucleus-rdbms-5.2.1.jar.
21:48:19,560 (main) DEBUG [DataNucleus.General] - Loading extension points and extensions from plug-in file jar:file:/home/robindm/.m2/repository/org/datanucleus/datanucleus-rdbms/5.2.1/datanucleus-rdbms-5.2.1.jar!/plugin.xml.
21:48:19,566 (main) DEBUG [DataNucleus.General] - Registering bundle org.datanucleus.api.jpa version 5.2.1 at URL file:/home/robindm/.m2/repository/org/datanucleus/datanucleus-api-jpa/5.2.1/datanucleus-api-jpa-5.2.1.jar.
21:48:19,571 (main) DEBUG [DataNucleus.General] - Loading extension points and extensions from plug-in file jar:file:/home/robindm/.m2/repository/org/datanucleus/datanucleus-api-jpa/5.2.1/datanucleus-api-jpa-5.2.1.jar!/plugin.xml.
21:48:19,705 (main) DEBUG [DataNucleus.MetaData] - Parsing MetaData file "file:/home/robindm/Documents/Education/new/hibernate/target/test-classes/META-INF/persistence.xml" using handler "persistence" (validation="true")
21:48:19,709 (main) DEBUG [DataNucleus.MetaData] - XML Entity Public="" System="http://xmlns.jcp.org/xml/ns/persistence/persistence_2_2.xsd" : using local source "/org/datanucleus/metadata/persistence_2_2.xsd"
21:48:19,717 (main) DEBUG [DataNucleus.MetaData] - Parsing MetaData file "file:/home/robindm/Documents/Education/new/hibernate/target/classes/META-INF/persistence.xml" using handler "persistence" (validation="true")
21:48:19,718 (main) DEBUG [DataNucleus.MetaData] - XML Entity Public="" System="http://xmlns.jcp.org/xml/ns/persistence/persistence_2_2.xsd" : using local source "/org/datanucleus/metadata/persistence_2_2.xsd"
21:48:19,723 (main) DEBUG [DataNucleus.Persistence] - Application EntityManagerFactory with persistence-unit defined as follows :
<persistence-unit name="testPU" transaction-type="RESOURCE_LOCAL">
<class>com.inetum.realdolmen.Item</class>
<properties>
<property name="javax.persistence.schema-generation.create-source" value="script"/>
<property name="javax.persistence.jdbc.url" value="jdbc:h2:mem:test;DB_CLOSE_DELAY=-1"/>
<property name="javax.persistence.jdbc.driver" value="org.h2.Driver"/>
<property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/>
<property name="javax.persistence.schema-generation.create-script-source" value="META-INF/create.sql"/>
</properties>
</persistence-unit>
Any help would be appreciated
Currently only for the Enhancer
I found the fix for test-enhance
(#5) is very useful. Could you please release a new version of the plugin with this fix included?
The new version changes the specification of properties, with messages like this
[WARNING] org.datanucleus.maven.EnhancerTestEnhanceMojo#classpathElements:
[WARNING] The syntax
[WARNING] @parameter expression="${property}"
[WARNING] is deprecated, please use
[WARNING] @parameter property="property"
[WARNING] instead.
When writing some integration tests, I needed a dummy entity for those tests, to reside under src/test/java. However the 'enhance' and 'enhance-check' goals can only be used to run against code with 'compile' scope, ie under src/main/java.
Thus I require additional goals / mojos to support this type of enhancement. Following the conventions of the mvn-compile-plugin, I suggest 'test-enhance' and 'test-enhance-check'.
PR to follow.
Will be passed through so we can add
-Dlog4j.configurationFile={the_url}
to the command line
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.