HHH-5623 - Baseline on JDK 1.6
This commit is contained in:
parent
28a6acdcda
commit
794d07f564
|
@ -111,12 +111,13 @@
|
|||
|
||||
<build>
|
||||
<plugins>
|
||||
<!--
|
||||
<plugin>
|
||||
<!-- Needed in order to load the proper 'artifact handler' for the 'jdocbook-style' packaging -->
|
||||
<groupId>org.jboss.maven.plugins</groupId>
|
||||
<artifactId>maven-jdocbook-style-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
</plugin>
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
|
@ -191,6 +192,7 @@
|
|||
</plugins>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<!--
|
||||
<plugin>
|
||||
<groupId>org.jboss.maven.plugins</groupId>
|
||||
<artifactId>maven-jdocbook-plugin</artifactId>
|
||||
|
@ -228,8 +230,10 @@
|
|||
<options>
|
||||
<xincludeSupported>true</xincludeSupported>
|
||||
<xmlTransformerType>saxon</xmlTransformerType>
|
||||
-->
|
||||
<!-- needed for uri-resolvers; can be ommitted if using 'current' uri scheme -->
|
||||
<!-- could also locate the docbook dependency and inspect its version... -->
|
||||
<!--
|
||||
<docbookVersion>1.72.0</docbookVersion>
|
||||
<localeSeparator>-</localeSeparator>
|
||||
</options>
|
||||
|
@ -240,6 +244,7 @@
|
|||
<artifactId>maven-jdocbook-style-plugin</artifactId>
|
||||
<version>2.0.0</version>
|
||||
</plugin>
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
|
|
|
@ -4,10 +4,9 @@ import java.util.HashSet;
|
|||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Paco Hernández
|
||||
* @author Paco Hern<EFBFBD>ndez
|
||||
*/
|
||||
public class Car implements java.io.Serializable {
|
||||
|
||||
private long id;
|
||||
private String model;
|
||||
private CarType carType;
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
package org.hibernate.test.entitymode.dom4j.many2one;
|
||||
|
||||
/**
|
||||
* @author Paco Hernández
|
||||
* @author Paco Hern<EFBFBD>ndez
|
||||
*/
|
||||
public class CarPart implements java.io.Serializable {
|
||||
|
||||
private long id;
|
||||
private String partName;
|
||||
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
package org.hibernate.test.entitymode.dom4j.many2one;
|
||||
|
||||
/**
|
||||
* @author Paco Hernández
|
||||
* @author Paco Hern<EFBFBD>ndez
|
||||
*/
|
||||
public class CarType implements java.io.Serializable {
|
||||
|
||||
private long id;
|
||||
private String typeName;
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@ import org.hibernate.testing.junit.functional.FunctionalTestClassTestSuite;
|
|||
* @author Paco Hern<EFBFBD>ndez
|
||||
*/
|
||||
public class Dom4jManyToOneTest extends FunctionalTestCase {
|
||||
|
||||
public Dom4jManyToOneTest(String str) {
|
||||
super( str );
|
||||
}
|
||||
|
|
|
@ -146,7 +146,7 @@ public class BlobLocatorTest extends DatabaseSpecificFunctionalTestCase {
|
|||
Session s = openSession();
|
||||
s.beginTransaction();
|
||||
LobHolder entity = new LobHolder();
|
||||
entity.setBlobLocator( Hibernate.createBlob( original ) );
|
||||
entity.setBlobLocator( Hibernate.getLobCreator( s ).createBlob( original ) );
|
||||
s.save( entity );
|
||||
s.getTransaction().commit();
|
||||
s.close();
|
||||
|
|
Loading…
Reference in New Issue