HHH-7451 - Integrate Draft 7 of the JPA 2.1 spec : more ejb->jpa rename
This commit is contained in:
parent
06d44951c6
commit
30d8fdaa8b
|
@ -707,7 +707,7 @@ public abstract class AbstractEntityManagerImpl implements HibernateEntityManage
|
|||
*/
|
||||
org.hibernate.Query namedQuery = getSession().getNamedQuery( name );
|
||||
//TODO clean this up to avoid downcasting
|
||||
final SessionFactoryImplementor factoryImplementor = ( SessionFactoryImplementor ) entityManagerFactory.getSessionFactory();
|
||||
final SessionFactoryImplementor factoryImplementor = entityManagerFactory.getSessionFactory();
|
||||
final NamedSQLQueryDefinition queryDefinition = factoryImplementor.getNamedSQLQuery( name );
|
||||
try {
|
||||
if ( queryDefinition != null ) {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<persistence-unit name="cfgxmlpar" transaction-type="RESOURCE_LOCAL">
|
||||
<provider>org.hibernate.ejb.HibernatePersistence</provider>
|
||||
<properties>
|
||||
<property name="hibernate.ejb.cfgfile" value="/org/hibernate/ejb/test/pack/cfgxmlpar/hibernate.cfg.xml"/>
|
||||
<property name="hibernate.ejb.cfgfile" value="/org/hibernate/jpa/test/pack/cfgxmlpar/hibernate.cfg.xml"/>
|
||||
</properties>
|
||||
</persistence-unit>
|
||||
</persistence>
|
||||
|
|
|
@ -17,12 +17,12 @@
|
|||
<property name="hibernate.hbm2ddl.auto">create-drop</property>
|
||||
<property name="hibernate.generate_statistics">true</property>
|
||||
<property name="hibernate.cache.region.factory_class">org.hibernate.testing.cache.CachingRegionFactory</property>
|
||||
<mapping class="org.hibernate.ejb.test.Item"/>
|
||||
<mapping class="org.hibernate.ejb.test.Cat"/>
|
||||
<mapping class="org.hibernate.ejb.test.Kitten"/>
|
||||
<mapping class="org.hibernate.ejb.test.Distributor"/>
|
||||
<class-cache class="org.hibernate.ejb.test.Item" usage="read-write"/>
|
||||
<collection-cache collection="org.hibernate.ejb.test.Item.distributors" usage="read-write" region="RegionName"/>
|
||||
<mapping class="org.hibernate.jpa.test.Item"/>
|
||||
<mapping class="org.hibernate.jpa.test.Cat"/>
|
||||
<mapping class="org.hibernate.jpa.test.Kitten"/>
|
||||
<mapping class="org.hibernate.jpa.test.Distributor"/>
|
||||
<class-cache class="org.hibernate.jpa.test.Item" usage="read-write"/>
|
||||
<collection-cache collection="org.hibernate.jpa.test.Item.distributors" usage="read-write" region="RegionName"/>
|
||||
<event type="pre-insert"/>
|
||||
</session-factory>
|
||||
</hibernate-configuration>
|
|
@ -1,33 +1,33 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd"
|
||||
version="2.0"
|
||||
>
|
||||
<persistence-unit-metadata>
|
||||
<persistence-unit-defaults>
|
||||
<entity-listeners>
|
||||
<entity-listener class="org.hibernate.ejb.test.pack.defaultpar.IncrementListener">
|
||||
<pre-persist method-name="increment"/>
|
||||
</entity-listener>
|
||||
</entity-listeners>
|
||||
</persistence-unit-defaults>
|
||||
</persistence-unit-metadata>
|
||||
<package>org.hibernate.ejb.test.pack.defaultpar</package>
|
||||
<entity class="Lighter" access="FIELD" metadata-complete="true">
|
||||
<attributes>
|
||||
<id name="name">
|
||||
<column name="fld_id"/>
|
||||
</id>
|
||||
<basic name="power"></basic>
|
||||
</attributes>
|
||||
</entity>
|
||||
<entity class="ApplicationServer">
|
||||
<entity-listeners>
|
||||
<entity-listener class="OtherIncrementListener">
|
||||
<pre-persist method-name="increment"/>
|
||||
</entity-listener>
|
||||
</entity-listeners>
|
||||
</entity>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd"
|
||||
version="2.0"
|
||||
>
|
||||
<persistence-unit-metadata>
|
||||
<persistence-unit-defaults>
|
||||
<entity-listeners>
|
||||
<entity-listener class="org.hibernate.jpa.test.pack.defaultpar.IncrementListener">
|
||||
<pre-persist method-name="increment"/>
|
||||
</entity-listener>
|
||||
</entity-listeners>
|
||||
</persistence-unit-defaults>
|
||||
</persistence-unit-metadata>
|
||||
<package>org.hibernate.jpa.test.pack.defaultpar</package>
|
||||
<entity class="Lighter" access="FIELD" metadata-complete="true">
|
||||
<attributes>
|
||||
<id name="name">
|
||||
<column name="fld_id"/>
|
||||
</id>
|
||||
<basic name="power"></basic>
|
||||
</attributes>
|
||||
</entity>
|
||||
<entity class="ApplicationServer">
|
||||
<entity-listeners>
|
||||
<entity-listener class="OtherIncrementListener">
|
||||
<pre-persist method-name="increment"/>
|
||||
</entity-listener>
|
||||
</entity-listeners>
|
||||
</entity>
|
||||
</entity-mappings>
|
|
@ -5,7 +5,7 @@
|
|||
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
|
||||
version="2.0">
|
||||
<persistence-unit name="defaultpar">
|
||||
<class>org.hibernate.ejb.test.pack.defaultpar.Lighter</class>
|
||||
<class>org.hibernate.jpa.test.pack.defaultpar.Lighter</class>
|
||||
<validation-mode>CALLBACK</validation-mode>
|
||||
<properties>
|
||||
<property name="hibernate.dialect" value="@db.dialect@"/>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
|
||||
|
||||
<hibernate-mapping
|
||||
package="org.hibernate.ejb.test.pack.defaultpar"
|
||||
package="org.hibernate.jpa.test.pack.defaultpar"
|
||||
>
|
||||
|
||||
<class name="Mouse">
|
|
@ -1,34 +1,34 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_1_0.xsd"
|
||||
version="1.0"
|
||||
>
|
||||
<!-- use orm_1_0 on purpose (backward compatibility test -->
|
||||
<persistence-unit-metadata>
|
||||
<persistence-unit-defaults>
|
||||
<entity-listeners>
|
||||
<entity-listener class="org.hibernate.ejb.test.pack.defaultpar_1_0.IncrementListener1">
|
||||
<pre-persist method-name="increment"/>
|
||||
</entity-listener>
|
||||
</entity-listeners>
|
||||
</persistence-unit-defaults>
|
||||
</persistence-unit-metadata>
|
||||
<package>org.hibernate.ejb.test.pack.defaultpar_1_0</package>
|
||||
<entity class="org.hibernate.ejb.test.pack.defaultpar_1_0.Lighter1" access="FIELD" metadata-complete="true">
|
||||
<attributes>
|
||||
<id name="name">
|
||||
<column name="fld_id"/>
|
||||
</id>
|
||||
<basic name="power"></basic>
|
||||
</attributes>
|
||||
</entity>
|
||||
<entity class="org.hibernate.ejb.test.pack.defaultpar_1_0.ApplicationServer1">
|
||||
<entity-listeners>
|
||||
<entity-listener class="OtherIncrementListener1">
|
||||
<pre-persist method-name="increment"/>
|
||||
</entity-listener>
|
||||
</entity-listeners>
|
||||
</entity>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_1_0.xsd"
|
||||
version="1.0"
|
||||
>
|
||||
<!-- use orm_1_0 on purpose (backward compatibility test -->
|
||||
<persistence-unit-metadata>
|
||||
<persistence-unit-defaults>
|
||||
<entity-listeners>
|
||||
<entity-listener class="org.hibernate.jpa.test.pack.defaultpar_1_0.IncrementListener1">
|
||||
<pre-persist method-name="increment"/>
|
||||
</entity-listener>
|
||||
</entity-listeners>
|
||||
</persistence-unit-defaults>
|
||||
</persistence-unit-metadata>
|
||||
<package>org.hibernate.jpa.test.pack.defaultpar_1_0</package>
|
||||
<entity class="org.hibernate.jpa.test.pack.defaultpar_1_0.Lighter1" access="FIELD" metadata-complete="true">
|
||||
<attributes>
|
||||
<id name="name">
|
||||
<column name="fld_id"/>
|
||||
</id>
|
||||
<basic name="power"></basic>
|
||||
</attributes>
|
||||
</entity>
|
||||
<entity class="org.hibernate.jpa.test.pack.defaultpar_1_0.ApplicationServer1">
|
||||
<entity-listeners>
|
||||
<entity-listener class="OtherIncrementListener1">
|
||||
<pre-persist method-name="increment"/>
|
||||
</entity-listener>
|
||||
</entity-listeners>
|
||||
</entity>
|
||||
</entity-mappings>
|
|
@ -5,7 +5,7 @@
|
|||
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
|
||||
version="1.0">
|
||||
<persistence-unit name="defaultpar_1_0">
|
||||
<class>org.hibernate.ejb.test.pack.defaultpar.Lighter</class>
|
||||
<class>org.hibernate.jpa.test.pack.defaultpar.Lighter</class>
|
||||
<properties>
|
||||
<property name="hibernate.dialect" value="@db.dialect@"/>
|
||||
<property name="hibernate.connection.driver_class" value="@jdbc.driver@"/>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
|
||||
|
||||
<hibernate-mapping
|
||||
package="org.hibernate.ejb.test.pack.defaultpar_1_0"
|
||||
package="org.hibernate.jpa.test.pack.defaultpar_1_0"
|
||||
>
|
||||
|
||||
<class name="Mouse1">
|
|
@ -1,17 +1,17 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd"
|
||||
version="2.0"
|
||||
>
|
||||
<package>org.hibernate.ejb.test.xml</package>
|
||||
<entity class="Light" access="FIELD" metadata-complete="true">
|
||||
<attributes>
|
||||
<id name="name">
|
||||
<column name="fld_id"/>
|
||||
</id>
|
||||
<basic name="power"></basic>
|
||||
</attributes>
|
||||
</entity>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd"
|
||||
version="2.0"
|
||||
>
|
||||
<package>org.hibernate.jpa.test.xml</package>
|
||||
<entity class="Light" access="FIELD" metadata-complete="true">
|
||||
<attributes>
|
||||
<id name="name">
|
||||
<column name="fld_id"/>
|
||||
</id>
|
||||
<basic name="power"></basic>
|
||||
</attributes>
|
||||
</entity>
|
||||
</entity-mappings>
|
|
@ -4,7 +4,7 @@
|
|||
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
|
||||
|
||||
<hibernate-mapping
|
||||
package="org.hibernate.ejb.test.pack.excludehbmpar"
|
||||
package="org.hibernate.jpa.test.pack.excludehbmpar"
|
||||
>
|
||||
|
||||
<class name="Mouse">
|
|
@ -5,7 +5,7 @@
|
|||
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd"
|
||||
version="2.0"
|
||||
>
|
||||
<package>org.hibernate.ejb.test.pack.various</package>
|
||||
<package>org.hibernate.jpa.test.pack.various</package>
|
||||
<entity class="Seat" access="PROPERTY" metadata-complete="true">
|
||||
<attributes>
|
||||
<id name="number">
|
||||
|
|
|
@ -5,14 +5,14 @@
|
|||
version="2.0">
|
||||
<persistence-unit name="manager1" transaction-type="RESOURCE_LOCAL">
|
||||
<jar-file>@buildDirName@/packages/externaljar.jar</jar-file>
|
||||
<class>org.hibernate.ejb.test.Cat</class>
|
||||
<class>org.hibernate.ejb.test.Kitten</class>
|
||||
<class>org.hibernate.ejb.test.Distributor</class>
|
||||
<class>org.hibernate.ejb.test.Item</class>
|
||||
<class>org.hibernate.jpa.test.Cat</class>
|
||||
<class>org.hibernate.jpa.test.Kitten</class>
|
||||
<class>org.hibernate.jpa.test.Distributor</class>
|
||||
<class>org.hibernate.jpa.test.Item</class>
|
||||
<exclude-unlisted-classes>true</exclude-unlisted-classes>
|
||||
<properties>
|
||||
<!-- custom scanner test -->
|
||||
<property name="hibernate.ejb.resource_scanner" value="org.hibernate.ejb.test.packaging.CustomScanner"/>
|
||||
<property name="hibernate.ejb.resource_scanner" value="org.hibernate.jpa.test.packaging.CustomScanner"/>
|
||||
|
||||
<property name="hibernate.dialect" value="@db.dialect@"/>
|
||||
<property name="hibernate.connection.driver_class" value="@jdbc.driver@"/>
|
||||
|
@ -27,21 +27,21 @@
|
|||
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
|
||||
<property name="hibernate.generate_statistics" value="true"/>
|
||||
<property name="hibernate.cache.region.factory_class" value="org.hibernate.testing.cache.CachingRegionFactory" />
|
||||
<property name="hibernate.ejb.naming_strategy" value="org.hibernate.ejb.test.MyNamingStrategy"/>
|
||||
<property name="hibernate.ejb.naming_strategy" value="org.hibernate.jpa.test.MyNamingStrategy"/>
|
||||
<!-- test naming strategy and fall back to element content -->
|
||||
<!-- property name="hibernate.ejb.naming_strategy">org.hibernate.ejb.test.MyNamingStrategy</property -->
|
||||
<!-- property name="hibernate.ejb.naming_strategy">MyNamingStrategy</property -->
|
||||
|
||||
<!-- cache configuration -->
|
||||
<property name="hibernate.ejb.classcache.org.hibernate.ejb.test.Item" value="read-write"/>
|
||||
<property name="hibernate.ejb.collectioncache.org.hibernate.ejb.test.Item.distributors"
|
||||
<property name="hibernate.ejb.classcache.org.hibernate.jpa.test.Item" value="read-write"/>
|
||||
<property name="hibernate.ejb.collectioncache.org.hibernate.jpa.test.Item.distributors"
|
||||
value="read-write, RegionName"/>
|
||||
|
||||
<!-- event overriding -->
|
||||
<property name="hibernate.ejb.event.pre-insert" value="org.hibernate.ejb.test.NoOpListener"/>
|
||||
<property name="hibernate.ejb.event.pre-insert" value="org.hibernate.jpa.test.NoOpListener"/>
|
||||
<!-- remove JACC and validator -->
|
||||
|
||||
<!-- alternatively to <class> and <property> declarations, you can use a regular hibernate.cfg.xml file -->
|
||||
<!-- property name="hibernate.ejb.cfgfile" value="/org/hibernate/ejb/test/hibernate.cfg.xml"/ -->
|
||||
<!-- property name="hibernate.ejb.cfgfile" value="/resource-path/to/hibernate.cfg.xml"/ -->
|
||||
</properties>
|
||||
</persistence-unit>
|
||||
</persistence>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
|
||||
|
||||
<hibernate-mapping package="org.hibernate.ejb.test.pack.explodedpar">
|
||||
<hibernate-mapping package="org.hibernate.jpa.test.pack.explodedpar">
|
||||
<class name="Elephant">
|
||||
<id name="id">
|
||||
<generator class="native"/>
|
|
@ -5,7 +5,7 @@
|
|||
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd"
|
||||
version="2.0"
|
||||
>
|
||||
<package>org.hibernate.ejb.test.pack.various</package>
|
||||
<package>org.hibernate.jpa.test.pack.various</package>
|
||||
<entity class="Airplane" metadata-complete="true" access="PROPERTY">
|
||||
<attributes>
|
||||
<id name="serialNumber"/>
|
||||
|
|
|
@ -8,14 +8,14 @@
|
|||
<persistence-unit-metadata>
|
||||
<persistence-unit-defaults>
|
||||
<entity-listeners>
|
||||
<entity-listener class="org.hibernate.ejb.test.pack.defaultpar.IncrementListener">
|
||||
<entity-listener class="org.hibernate.jpa.test.pack.defaultpar.IncrementListener">
|
||||
<pre-persist method-name="increment"/>
|
||||
</entity-listener>
|
||||
</entity-listeners>
|
||||
|
||||
</persistence-unit-defaults>
|
||||
</persistence-unit-metadata>
|
||||
<package>org.hibernate.ejb.test.pack.defaultpar</package>
|
||||
<package>org.hibernate.jpa.test.pack.defaultpar</package>
|
||||
<entity class="Lighter" access="FIELD" metadata-complete="true">
|
||||
<attributes>
|
||||
<id name="name">
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
|
||||
version="2.0">
|
||||
<persistence-unit name="defaultpar">
|
||||
<class>org.hibernate.ejb.test.pack.defaultpar.Lighter</class>
|
||||
<class>org.hibernate.jpa.test.pack.defaultpar.Lighter</class>
|
||||
<properties>
|
||||
<property name="hibernate.dialect" value="@db.dialect@"/>
|
||||
<property name="hibernate.connection.driver_class" value="@jdbc.driver@"/>
|
||||
|
|
|
@ -3,12 +3,9 @@
|
|||
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
|
||||
|
||||
<hibernate-mapping
|
||||
package="org.hibernate.ejb.test.pack.war"
|
||||
>
|
||||
<hibernate-mapping package="org.hibernate.jpa.test.pack.war">
|
||||
|
||||
<class name="Mouse">
|
||||
|
||||
<id name="id">
|
||||
<generator class="native"/>
|
||||
</id>
|
|
@ -1,4 +0,0 @@
|
|||
@NamedQuery(name = "allMouse",
|
||||
query = "select m from ApplicationServer m") package org.hibernate.ejb.test.pack.defaultpar;
|
||||
import org.hibernate.annotations.NamedQuery;
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
@NamedQuery(name = "allMouse_1_0",
|
||||
query = "select m from ApplicationServer1 m")
|
||||
package org.hibernate.ejb.test.pack.defaultpar_1_0;
|
||||
import org.hibernate.annotations.NamedQuery;
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
@NamedQuery(name = "allCarpet", query = "select c from Carpet c") package org.hibernate.ejb.test.pack.explodedpar;
|
||||
import org.hibernate.annotations.NamedQuery;
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
@NamedQuery(name = "allMouse",
|
||||
query = "select m from ApplicationServer m")
|
||||
package org.hibernate.ejb.test.pack.war;
|
||||
import org.hibernate.annotations.NamedQuery;
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test;
|
||||
package org.hibernate.jpa.test;
|
||||
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.EntityManagerFactory;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test;
|
||||
package org.hibernate.jpa.test;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
|
@ -1,4 +1,4 @@
|
|||
package org.hibernate.ejb.test;
|
||||
package org.hibernate.jpa.test;
|
||||
|
||||
import java.io.Serializable;
|
||||
import javax.persistence.Embeddable;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test;
|
||||
package org.hibernate.jpa.test;
|
||||
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.criteria.CriteriaBuilder;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test;
|
||||
package org.hibernate.jpa.test;
|
||||
import java.io.Serializable;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
|
@ -22,7 +22,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test;
|
||||
package org.hibernate.jpa.test;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
|
@ -1,4 +1,4 @@
|
|||
package org.hibernate.ejb.test;
|
||||
package org.hibernate.jpa.test;
|
||||
|
||||
import java.io.Serializable;
|
||||
import javax.persistence.EmbeddedId;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test;
|
||||
package org.hibernate.jpa.test;
|
||||
import java.io.Serializable;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
@ -24,7 +24,7 @@ import org.hibernate.annotations.QueryHints;
|
|||
*/
|
||||
@Entity(name = "Item")
|
||||
@SqlResultSetMapping(name = "getItem", entities =
|
||||
@EntityResult(entityClass = org.hibernate.ejb.test.Item.class, fields = {
|
||||
@EntityResult(entityClass = Item.class, fields = {
|
||||
@FieldResult(name = "name", column = "itemname"),
|
||||
@FieldResult(name = "descr", column = "itemdescription")
|
||||
})
|
|
@ -1,5 +1,5 @@
|
|||
// $Id$
|
||||
package org.hibernate.ejb.test;
|
||||
package org.hibernate.jpa.test;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.Id;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test;
|
||||
package org.hibernate.jpa.test;
|
||||
import java.util.Date;
|
||||
import javax.persistence.PrePersist;
|
||||
import javax.persistence.PreUpdate;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test;
|
||||
package org.hibernate.jpa.test;
|
||||
import org.hibernate.cfg.EJB3NamingStrategy;
|
||||
|
||||
/**
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test;
|
||||
package org.hibernate.jpa.test;
|
||||
import org.hibernate.event.spi.PreInsertEvent;
|
||||
import org.hibernate.event.spi.PreInsertEventListener;
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
|
||||
*/
|
||||
|
||||
package org.hibernate.ejb.test;
|
||||
package org.hibernate.jpa.test;
|
||||
|
||||
/**
|
||||
* Attempts to serialize this class should cause a NotSerializableException error to be thrown.
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test;
|
||||
package org.hibernate.jpa.test;
|
||||
|
||||
import javax.persistence.SharedCacheMode;
|
||||
import javax.persistence.ValidationMode;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test;
|
||||
package org.hibernate.jpa.test;
|
||||
|
||||
import java.net.URL;
|
||||
import java.util.Collections;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test;
|
||||
package org.hibernate.jpa.test;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test;
|
||||
package org.hibernate.jpa.test;
|
||||
|
||||
import javax.persistence.EntityManagerFactory;
|
||||
import java.util.Map;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test;
|
||||
package org.hibernate.jpa.test;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import javax.persistence.Entity;
|
|
@ -1,10 +1,10 @@
|
|||
package org.hibernate.ejb.test.association;
|
||||
package org.hibernate.jpa.test.association;
|
||||
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase;
|
||||
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
|
||||
|
||||
/**
|
||||
* @author Emmanuel Bernard
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.association;
|
||||
package org.hibernate.jpa.test.association;
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.association;
|
||||
package org.hibernate.jpa.test.association;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.OneToOne;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.association;
|
||||
package org.hibernate.jpa.test.association;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.Id;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.association;
|
||||
package org.hibernate.jpa.test.association;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.GeneratedValue;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.beanvalidation;
|
||||
package org.hibernate.jpa.test.beanvalidation;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import javax.persistence.EntityManager;
|
||||
|
@ -30,7 +30,7 @@ import javax.validation.ConstraintViolationException;
|
|||
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase;
|
||||
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertTrue;
|
|
@ -1,4 +1,4 @@
|
|||
package org.hibernate.ejb.test.beanvalidation;
|
||||
package org.hibernate.jpa.test.beanvalidation;
|
||||
import java.math.BigDecimal;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
|
@ -21,13 +21,13 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.boot;
|
||||
package org.hibernate.jpa.test.boot;
|
||||
|
||||
import java.net.URL;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.hibernate.ejb.test.jee.OrmVersionTest;
|
||||
import org.hibernate.jpa.test.jee.OrmVersionTest;
|
||||
import org.hibernate.jpa.HibernatePersistenceProvider;
|
||||
|
||||
import org.junit.Test;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cacheable.annotation;
|
||||
package org.hibernate.jpa.test.cacheable.annotation;
|
||||
|
||||
import javax.persistence.SharedCacheMode;
|
||||
import java.util.Arrays;
|
||||
|
@ -32,7 +32,7 @@ import org.hibernate.cache.internal.NoCachingRegionFactory;
|
|||
import org.hibernate.cache.spi.access.AccessType;
|
||||
import org.hibernate.cfg.Configuration;
|
||||
import org.hibernate.cfg.Environment;
|
||||
import org.hibernate.ejb.test.PersistenceUnitInfoAdapter;
|
||||
import org.hibernate.jpa.test.PersistenceUnitInfoAdapter;
|
||||
import org.hibernate.jpa.AvailableSettings;
|
||||
import org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl;
|
||||
import org.hibernate.jpa.boot.spi.Bootstrap;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cacheable.annotation;
|
||||
package org.hibernate.jpa.test.cacheable.annotation;
|
||||
import javax.persistence.Cacheable;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cacheable.annotation;
|
||||
package org.hibernate.jpa.test.cacheable.annotation;
|
||||
import javax.persistence.Cacheable;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cacheable.annotation;
|
||||
package org.hibernate.jpa.test.cacheable.annotation;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cacheable.cachemodes;
|
||||
package org.hibernate.jpa.test.cacheable.cachemodes;
|
||||
|
||||
import javax.persistence.CacheRetrieveMode;
|
||||
import javax.persistence.CacheStoreMode;
|
||||
|
@ -35,7 +35,7 @@ import org.hibernate.Session;
|
|||
import org.hibernate.ejb.AvailableSettings;
|
||||
import org.hibernate.ejb.HibernateEntityManager;
|
||||
import org.hibernate.ejb.HibernateQuery;
|
||||
import org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase;
|
||||
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
|
||||
import org.hibernate.internal.AbstractQueryImpl;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cacheable.cachemodes;
|
||||
package org.hibernate.jpa.test.cacheable.cachemodes;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.callbacks;
|
||||
package org.hibernate.jpa.test.callbacks;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
@ -29,7 +29,7 @@ import javax.persistence.EntityManager;
|
|||
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase;
|
||||
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertTrue;
|
|
@ -1,4 +1,4 @@
|
|||
package org.hibernate.ejb.test.callbacks;
|
||||
package org.hibernate.jpa.test.callbacks;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -7,9 +7,10 @@ import javax.persistence.EntityManager;
|
|||
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase;
|
||||
import org.hibernate.ejb.test.Cat;
|
||||
import org.hibernate.ejb.test.Kitten;
|
||||
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
|
||||
import org.hibernate.jpa.test.Cat;
|
||||
import org.hibernate.jpa.test.Kitten;
|
||||
|
||||
import org.hibernate.testing.FailureExpected;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.callbacks;
|
||||
package org.hibernate.jpa.test.callbacks;
|
||||
import javax.persistence.EntityListeners;
|
||||
import javax.persistence.MappedSuperclass;
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.callbacks;
|
||||
package org.hibernate.jpa.test.callbacks;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.callbacks;
|
||||
package org.hibernate.jpa.test.callbacks;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.persistence.PrePersist;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.callbacks;
|
||||
package org.hibernate.jpa.test.callbacks;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Inheritance;
|
||||
import javax.persistence.InheritanceType;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.callbacks;
|
||||
package org.hibernate.jpa.test.callbacks;
|
||||
import java.math.BigDecimal;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Inheritance;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.callbacks;
|
||||
package org.hibernate.jpa.test.callbacks;
|
||||
import javax.persistence.PrePersist;
|
||||
|
||||
/**
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.callbacks;
|
||||
package org.hibernate.jpa.test.callbacks;
|
||||
import javax.persistence.PreUpdate;
|
||||
|
||||
/**
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.callbacks;
|
||||
package org.hibernate.jpa.test.callbacks;
|
||||
import javax.persistence.PreUpdate;
|
||||
|
||||
/**
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.callbacks;
|
||||
package org.hibernate.jpa.test.callbacks;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.Id;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.callbacks;
|
||||
package org.hibernate.jpa.test.callbacks;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.PrePersist;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.callbacks;
|
||||
package org.hibernate.jpa.test.callbacks;
|
||||
import java.util.Date;
|
||||
import javax.persistence.Basic;
|
||||
import javax.persistence.Entity;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.callbacks;
|
||||
package org.hibernate.jpa.test.callbacks;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.EntityListeners;
|
||||
import javax.persistence.GeneratedValue;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.callbacks;
|
||||
package org.hibernate.jpa.test.callbacks;
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.EntityListeners;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.callbacks;
|
||||
package org.hibernate.jpa.test.callbacks;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.callbacks;
|
||||
package org.hibernate.jpa.test.callbacks;
|
||||
import javax.persistence.EntityListeners;
|
||||
import javax.persistence.ExcludeSuperclassListeners;
|
||||
import javax.persistence.MappedSuperclass;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.Id;
|
|
@ -21,14 +21,14 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.EntityTransaction;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase;
|
||||
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
|
||||
|
||||
/**
|
||||
* @author Max Rydahl Andersen
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import javax.persistence.CascadeType;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
|
@ -36,7 +36,7 @@ import org.junit.Assert;
|
|||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.Hibernate;
|
||||
import org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase;
|
||||
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
|
||||
|
||||
/**
|
||||
* @author Emmanuel Bernard
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
@ -34,7 +34,7 @@ import javax.persistence.OneToMany;
|
|||
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase;
|
||||
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
|
||||
|
||||
import static javax.persistence.CascadeType.DETACH;
|
||||
import static javax.persistence.CascadeType.REMOVE;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
|
||||
import java.io.Serializable;
|
||||
import javax.persistence.Column;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -33,7 +33,7 @@ import org.junit.Test;
|
|||
|
||||
import org.hibernate.Hibernate;
|
||||
import org.hibernate.ejb.HibernateEntityManager;
|
||||
import org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase;
|
||||
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
|
||||
|
||||
import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertTrue;
|
|
@ -21,13 +21,13 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
|
||||
import javax.persistence.EntityManager;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase;
|
||||
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
|
||||
|
||||
import static org.junit.Assert.fail;
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.Id;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
import java.io.Serializable;
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Entity;
|
|
@ -1,4 +1,4 @@
|
|||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
import java.io.Serializable;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.GeneratedValue;
|
|
@ -1,4 +1,4 @@
|
|||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Entity;
|
|
@ -1,4 +1,4 @@
|
|||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
|
@ -1,5 +1,5 @@
|
|||
//$Id$
|
||||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.HashSet;
|
|
@ -1,4 +1,4 @@
|
|||
package org.hibernate.ejb.test.cascade;
|
||||
package org.hibernate.jpa.test.cascade;
|
||||
import java.io.Serializable;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cascade.multicircle;
|
||||
package org.hibernate.jpa.test.cascade.multicircle;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cascade.multicircle;
|
||||
package org.hibernate.jpa.test.cascade.multicircle;
|
||||
|
||||
/**
|
||||
* No Documentation
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cascade.multicircle;
|
||||
package org.hibernate.jpa.test.cascade.multicircle;
|
||||
|
||||
import java.util.Set;
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cascade.multicircle;
|
||||
package org.hibernate.jpa.test.cascade.multicircle;
|
||||
|
||||
/**
|
||||
* No Documentation
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cascade.multicircle;
|
||||
package org.hibernate.jpa.test.cascade.multicircle;
|
||||
|
||||
/**
|
||||
* No Documentation
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cascade.multicircle;
|
||||
package org.hibernate.jpa.test.cascade.multicircle;
|
||||
|
||||
/**
|
||||
* No Documentation
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cascade.multicircle;
|
||||
package org.hibernate.jpa.test.cascade.multicircle;
|
||||
|
||||
/**
|
||||
* No Documentation
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cascade.multicircle;
|
||||
package org.hibernate.jpa.test.cascade.multicircle;
|
||||
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.RollbackException;
|
||||
|
@ -32,7 +32,7 @@ import org.junit.Before;
|
|||
import org.junit.Test;
|
||||
|
||||
import org.hibernate.TransientPropertyValueException;
|
||||
import org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase;
|
||||
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
|
||||
import org.hibernate.testing.FailureExpected;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cascade.multilevel;
|
||||
package org.hibernate.jpa.test.cascade.multilevel;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
|
@ -21,7 +21,7 @@
|
|||
* 51 Franklin Street, Fifth Floor
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
package org.hibernate.ejb.test.cascade.multilevel;
|
||||
package org.hibernate.jpa.test.cascade.multilevel;
|
||||
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Entity;
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue