if (versionMetaData != null && versionMetaData.getFieldName() == null)
{
if (versionMetaData.getVersionStrategy() == VersionStrategy.NONE)
{
// No optimistic locking but the idiot wants a column for that :-)
versionMapping = new VersionLongMapping(dba, this, mapMgr.getMapping(Long.class));
}
else if (versionMetaData.getVersionStrategy() == VersionStrategy.VERSION_NUMBER)
{
versionMapping = new VersionLongMapping(dba, this, mapMgr.getMapping(Long.class));
}
else if (versionMetaData.getVersionStrategy() == VersionStrategy.DATE_TIME)
{
if (!dba.supportsOption(RDBMSAdapter.DATETIME_STORES_MILLISECS))
{