org.mentabean.type
Class NowOnUpdateTimestampType
java.lang.Object
org.mentabean.type.TimestampType
org.mentabean.type.NowOnUpdateTimestampType
- All Implemented Interfaces:
- DBType<Date>
public class NowOnUpdateTimestampType
- extends TimestampType
NowOnUpdateTimestampType
public NowOnUpdateTimestampType()
canBeNull
public boolean canBeNull()
- Description copied from interface:
DBType
- Returns whether this type can be NULL in the database. This is used by the session.createTable() method.
- Specified by:
canBeNull in interface DBType<Date>- Overrides:
canBeNull in class TimestampType
- Returns:
- true if field can be NULL in the database.
nullable
public NowOnUpdateTimestampType nullable(boolean flag)
- Overrides:
nullable in class TimestampType
Copyright © 2012. All Rights Reserved.