db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin van den Bemt <mll...@mvdb.net>
Subject Re: svn commit: r331876 - /db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/JdbcModelReader.java
Date Tue, 08 Nov 2005 20:25:13 GMT
Whoops.. Sorry forgot the copy & paste the description :(
Will try not to forget that next time..

Mvgr,
Martin

mvdb@apache.org wrote:
> 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