Changeset 4634


Ignore:
Timestamp:
Nov 11, 2008, 7:51:18 AM (15 years ago)
Author:
Nicklas Nordborg
Message:

References #792: Add support for units to annotation values

Use the value returned from DbEngine?.getCaseSensitiveVarchar() and not the hard-coded one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/net/sf/basedb/core/HibernateUtil.java

    r4589 r4634  
    501501    {
    502502      String sqlType = dbEngine.getCaseSensitiveVarchar(symbol.getLength());
    503       if (sqlType != null)
    504       {
    505         symbol.setSqlType("varchar(255) CHARACTER SET utf8 COLLATE utf8_bin");
    506       }
     503      if (sqlType != null) symbol.setSqlType(sqlType);
    507504    }
    508505  }
Note: See TracChangeset for help on using the changeset viewer.