Class SDriverDerby

java.lang.Object
simpleorm.sessionjdbc.SDriver
simpleorm.drivers.SDriverDerby

public class SDriverDerby extends SDriver
Contains Derby/Cloudscape 10.0 implementation

$Revision: 1.0 $ $Date: Apr 12 2004 14:33:46 $

  • Constructor Details

    • SDriverDerby

      public SDriverDerby()
  • Method Details

    • driverName

      protected String driverName()
      Description copied from class: SDriver
      The driver name to be compared to getMetaData().getDriverName()
      Overrides:
      driverName in class SDriver
    • supportsLocking

      public boolean supportsLocking()
      Derby supports different locking levels, but no FOR UPDATE with ORDER BY. So supportsLocking returns false for now ...
      Overrides:
      supportsLocking in class SDriver
    • maxIdentNameLength

      public int maxIdentNameLength()
      Description copied from class: SDriver
      The maximum size for table names and foreign key constraint names.
      Overrides:
      maxIdentNameLength in class SDriver
    • addNull

      protected void addNull(StringBuffer sql, SFieldScalar fld)
      DB2 does not allow just NULL.
      Overrides:
      addNull in class SDriver