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:
Mark Struberg 2016-08-25 10:07:50 +00:00
parent b2bf5d1149
commit 13cdb6fd47
9 changed files with 12 additions and 8 deletions

View File

@ -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))

View File

@ -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))

View File

@ -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))

View File

@ -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;

View File

@ -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))

View File

@ -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
{

View File

@ -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 =

View File

@ -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))

View File

@ -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))