Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

indexing in prov-sql

  • Loading branch information...
commit 90d0e0c23a3e26617d04763d2010d22a588254d9 1 parent b57d7c3
Luc Moreau authored
7 TODO.txt
View
@@ -1,4 +1,11 @@
+saved document 128367 for target/attr_entity_one_value_attr30.xml
+The sql table VALUE does not seem to contain a value??
+ gday is not converted???
+
+
+
+----------------------------------------------------------------------
xml:lang xml namespace not declared!
----------------------------------------------------------------------
4 prov-sql/src/main/java/org/openprovenance/prov/sql/AStatement.java
View
@@ -86,7 +86,9 @@
*/
@Id
@Column(name = "PK")
- @GeneratedValue(strategy = GenerationType.AUTO)
+ // @GeneratedValue(strategy = GenerationType.AUTO)
+ @GeneratedValue(strategy = GenerationType.TABLE)
+ // see http://stackoverflow.com/questions/916169/cannot-use-identity-column-key-generation-with-union-subclass-table-per-clas
public Long getPk() {
return pk;
}
2  prov-sql/src/main/java/org/openprovenance/prov/sql/DictionaryMembership.java
View
@@ -57,7 +57,7 @@
})
@Entity(name = "DictionaryMembership")
@Table(name = "DICTIONARYMEMBERSHIP")
-@Inheritance(strategy = InheritanceType.JOINED)
+//@Inheritance(strategy = InheritanceType.JOINED)
public class DictionaryMembership extends AStatement
implements Equals, HashCode, org.openprovenance.prov.model.DictionaryMembership
{
5 prov-sql/src/main/java/org/openprovenance/prov/sql/TypedValue.java
View
@@ -311,7 +311,10 @@ public void setValueFromObject(Object valueAsJava) {
@Id
@Column(name = "PK")
- @GeneratedValue(strategy = GenerationType.AUTO)
+ // @GeneratedValue(strategy = GenerationType.AUTO)
+ @GeneratedValue(strategy = GenerationType.TABLE)
+ // see http://stackoverflow.com/questions/916169/cannot-use-identity-column-key-generation-with-union-subclass-table-per-clas
+
public Long getPk() {
return pk;
}
2  prov-sql/src/test/resources/persistence.postgres.properties
View
@@ -9,6 +9,6 @@ hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider
hibernate.jdbc.batch_size=25
hibernate.jdbc.fetch_size=25
-hibernate.show_sql=false
+hibernate.show_sql=true
Please sign in to comment.
Something went wrong with that request. Please try again.