Author: rhauch
Date: 2009-09-11 15:05:52 -0400 (Fri, 11 Sep 2009)
New Revision: 1207
Modified:
trunk/extensions/dna-connector-store-jpa/src/main/java/org/jboss/dna/connector/store/jpa/model/common/NamespaceEntity.java
Log:
DNA-515 PA connector reports error when inserting default (and blank) namespace URI into
Oracle database
Although the previous change did address the possibility that Oracle will return null, it
did not yet change the Hibernate annotations to allow for a null URI value. This change
does this.
Modified:
trunk/extensions/dna-connector-store-jpa/src/main/java/org/jboss/dna/connector/store/jpa/model/common/NamespaceEntity.java
===================================================================
---
trunk/extensions/dna-connector-store-jpa/src/main/java/org/jboss/dna/connector/store/jpa/model/common/NamespaceEntity.java 2009-09-11
18:57:56 UTC (rev 1206)
+++
trunk/extensions/dna-connector-store-jpa/src/main/java/org/jboss/dna/connector/store/jpa/model/common/NamespaceEntity.java 2009-09-11
19:05:52 UTC (rev 1207)
@@ -54,7 +54,7 @@
@GeneratedValue( strategy = GenerationType.AUTO )
private Long id;
- @Column( name = "URI", nullable = false, unique = false, length = 512,
updatable = false )
+ @Column( name = "URI", nullable = true, unique = false, length = 512,
updatable = false )
private String uri;
/**
Show replies by date