mirror of https://github.com/apache/openjpa.git
explicit table names for all the Entity1 to better understand what exactly blows up on Jenkins
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1757650 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b2bf5d1149
commit
13cdb6fd47
|
@ -36,7 +36,7 @@ import javax.persistence.Version;
|
|||
|
||||
|
||||
@Entity
|
||||
@Table(name="entity_1")
|
||||
@Table(name="annotypeentity_1")
|
||||
@Inheritance(strategy=InheritanceType.JOINED)
|
||||
@SqlResultSetMapping(name="NativeTestResult",
|
||||
entities=@EntityResult(entityClass=Entity1.class))
|
||||
|
|
|
@ -35,7 +35,7 @@ import javax.persistence.Version;
|
|||
|
||||
|
||||
@Entity
|
||||
@Table(name="entity_1")
|
||||
@Table(name="ddtypeentity_1")
|
||||
@Inheritance(strategy=InheritanceType.JOINED)
|
||||
@SqlResultSetMapping(name="NativeTestResult",
|
||||
entities=@EntityResult(entityClass=Entity1.class))
|
||||
|
|
|
@ -35,7 +35,7 @@ import javax.persistence.Version;
|
|||
|
||||
|
||||
@Entity
|
||||
@Table(name="entity_1")
|
||||
@Table(name="pcaentity_1")
|
||||
@Inheritance(strategy=InheritanceType.JOINED)
|
||||
@SqlResultSetMapping(name="NativeTestResult",
|
||||
entities=@EntityResult(entityClass=Entity1.class))
|
||||
|
|
|
@ -22,8 +22,10 @@ import javax.persistence.CascadeType;
|
|||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.OneToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
@Entity
|
||||
@Table(name="detachentity_1")
|
||||
public class Entity1 {
|
||||
@Id
|
||||
private long id;
|
||||
|
|
|
@ -33,7 +33,7 @@ import javax.persistence.Table;
|
|||
import javax.persistence.Version;
|
||||
|
||||
@Entity
|
||||
@Table(name = "entity_1")
|
||||
@Table(name = "enhanceentity_1")
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@SqlResultSetMapping(name = "NativeTestResult",
|
||||
entities = @EntityResult(entityClass = Entity1.class))
|
||||
|
|
|
@ -37,11 +37,11 @@ import javax.persistence.Version;
|
|||
|
||||
|
||||
@Entity
|
||||
@Table(name="entity_1")
|
||||
@Table(name="mapappentity_1")
|
||||
@Inheritance(strategy=InheritanceType.JOINED)
|
||||
@SqlResultSetMapping(name="NativeTestResult",
|
||||
entities=@EntityResult(entityClass=Entity1.class))
|
||||
@NamedNativeQuery(name="SQLWithHints", query="SELECT * FROM ENTITY_1",
|
||||
@NamedNativeQuery(name="SQLWithHints", query="SELECT * FROM mapappentity_1",
|
||||
hints={@QueryHint(name="XYZ", value="abc")})
|
||||
public class Entity1 implements Serializable
|
||||
{
|
||||
|
|
|
@ -33,7 +33,7 @@ import javax.persistence.Table;
|
|||
import javax.persistence.Version;
|
||||
|
||||
@Entity
|
||||
@Table(name = "entity_1")
|
||||
@Table(name = "kernentity_1")
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@SqlResultSetMapping(name = "NativeTestResult", entities = @EntityResult(
|
||||
entityClass =
|
||||
|
|
|
@ -34,7 +34,7 @@ import javax.persistence.Table;
|
|||
import javax.persistence.Version;
|
||||
|
||||
@Entity
|
||||
@Table(name = "entity_1")
|
||||
@Table(name = "qryentity_1")
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@SqlResultSetMapping(name = "NativeTestResult",
|
||||
entities = @EntityResult(entityClass = Entity1.class))
|
||||
|
|
|
@ -29,9 +29,11 @@ import javax.persistence.Inheritance;
|
|||
import javax.persistence.InheritanceType;
|
||||
import javax.persistence.OneToOne;
|
||||
import javax.persistence.SqlResultSetMapping;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.Version;
|
||||
|
||||
@Entity
|
||||
@Table(name="qcacheentity_1")
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@SqlResultSetMapping(name = "NativeTestResult",
|
||||
entities = @EntityResult(entityClass = Entity1.class))
|
||||
|
|
Loading…
Reference in New Issue