Skip to content

Commit

Permalink
change inheritance strategy to single table per class
Browse files Browse the repository at this point in the history
  • Loading branch information
lucmoreau committed Jan 17, 2014
1 parent 47465d6 commit b57d7c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Expand Up @@ -66,7 +66,9 @@
})
@javax.persistence.Entity(name = "AStatement")
@Table(name = "ASTATEMENT")
@Inheritance(strategy = InheritanceType.JOINED)
//@Inheritance(strategy = InheritanceType.JOINED)
@Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)

public class AStatement
implements Equals, HashCode, StatementOrBundle
{
Expand Down
Expand Up @@ -44,7 +44,9 @@
//@XmlJavaTypeAdapter(TypedValueAdapter.class)
@javax.persistence.Entity(name = "TypedValue")
@Table(name = "TYPEDVALUE")
@Inheritance(strategy = InheritanceType.JOINED)
//@Inheritance(strategy = InheritanceType.JOINED)
@Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)

public class TypedValue implements org.openprovenance.prov.model.TypedValue {
private static final QualifiedName QNAME_PROV_TYPE = ProvFactory.getFactory().getName().PROV_TYPE;
private static final QualifiedName QNAME_PROV_LABEL = ProvFactory.getFactory().getName().PROV_LABEL;
Expand Down

0 comments on commit b57d7c3

Please sign in to comment.