openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r938588 - /openjpa/branches/1.3.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SybaseDictionary.java
Date Tue, 27 Apr 2010 18:10:21 GMT
Author: mikedd
Date: Tue Apr 27 18:10:21 2010
New Revision: 938588

URL: http://svn.apache.org/viewvc?rev=938588&view=rev
Log:
OPENJPA-1641: use INDEX_NAME in newIndex()

Modified:
    openjpa/branches/1.3.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SybaseDictionary.java

Modified: openjpa/branches/1.3.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SybaseDictionary.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.3.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SybaseDictionary.java?rev=938588&r1=938587&r2=938588&view=diff
==============================================================================
--- openjpa/branches/1.3.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SybaseDictionary.java
(original)
+++ openjpa/branches/1.3.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SybaseDictionary.java
Tue Apr 27 18:10:21 2010
@@ -352,7 +352,7 @@ public class SybaseDictionary
         idx.setSchemaName(getStringFromResultSet(idxMeta, "TABLE_SCHEM", "table_owner"));
         idx.setTableName(getStringFromResultSet(idxMeta, "TABLE_NAME", "table_name"));
         idx.setColumnName(getStringFromResultSet(idxMeta, "COLUMN_NAME", "column_owner"));
-        idx.setName(getStringFromResultSet(idxMeta, "PK_NAME", "index_name"));
+        idx.setName(getStringFromResultSet(idxMeta, "INDEX_NAME", "index_name"));
         idx.setUnique(!getBooleanFromResultSet(idxMeta, "NON_UNIQUE", "non_unique"));
         return idx;
     }



Mime
View raw message