db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: r331876 - /db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/JdbcModelReader.java
Date Tue, 08 Nov 2005 20:18:36 GMT
Author: mvdb
Date: Tue Nov  8 12:18:32 2005
New Revision: 331876

URL: http://svn.apache.org/viewcvs?rev=331876&view=rev
Log:
Applied patch from Thorbjørn Ravn Andersen
See jira issue DDLUTILS-44

Modified:
    db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/JdbcModelReader.java

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/JdbcModelReader.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/JdbcModelReader.java?rev=331876&r1=331875&r2=331876&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/JdbcModelReader.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/JdbcModelReader.java Tue Nov 
8 12:18:32 2005
@@ -314,6 +314,7 @@
                 // the database prefers to return them in the size value 
                 col.setSize(getValueAsString(columnData, "COLUMN_SIZE", availableColumns,
(String)_defaultSizes.get(new Integer(col.getTypeCode()))));
                 col.setRequired("NO".equalsIgnoreCase(getValueAsString(columnData, "IS_NULLABLE",
availableColumns, "YES").trim()));
+                col.setDescription(getValueAsString(columnData, "REMARKS", availableColumns,
null));                
                 if (primaryKeys.contains(col.getName()))
                 {
                     col.setPrimaryKey(true);



Mime
View raw message