[dna-commits] DNA SVN: r1206 - trunk/extensions/dna-connector-store-jpa/src/main/java/org/jboss/dna/connector/store/jpa/util.
dna-commits at lists.jboss.org
dna-commits at lists.jboss.org
Fri Sep 11 14:57:57 EDT 2009
Author: rhauch
Date: 2009-09-11 14:57:56 -0400 (Fri, 11 Sep 2009)
New Revision: 1206
Modified:
trunk/extensions/dna-connector-store-jpa/src/main/java/org/jboss/dna/connector/store/jpa/util/StoreOptionEntity.java
Log:
DNA-520 DNA w/ JPA/Oracle - bad create table DNA_OPTIONS
The unique=true parameter is actually unnecessary since the column is already a primary key since it is annotated with @Id. I guess the Oracle is just pretty strict about this. Removing the parameter didn't seem to cause any other problems.
Modified: trunk/extensions/dna-connector-store-jpa/src/main/java/org/jboss/dna/connector/store/jpa/util/StoreOptionEntity.java
===================================================================
--- trunk/extensions/dna-connector-store-jpa/src/main/java/org/jboss/dna/connector/store/jpa/util/StoreOptionEntity.java 2009-09-10 21:38:13 UTC (rev 1205)
+++ trunk/extensions/dna-connector-store-jpa/src/main/java/org/jboss/dna/connector/store/jpa/util/StoreOptionEntity.java 2009-09-11 18:57:56 UTC (rev 1206)
@@ -47,10 +47,10 @@
public class StoreOptionEntity {
@Id
- @Column( name = "NAME", nullable = false, unique = true, length = 512 )
+ @Column( name = "NAME", nullable = false, length = 512 )
private String name;
- @Column( name = "VALUE", nullable = false, unique = false, length = 512 )
+ @Column( name = "VALUE", nullable = false, length = 512 )
private String value;
/**
More information about the dna-commits
mailing list