if(dbPlatform.supportsIdentity() && shouldUseIdentityIfPlatformSupports()) { } else if(dbPlatform.supportsSequenceObjects() && !shouldUseIdentityIfPlatformSupports()) {
DatasourcePlatform platform = (DatasourcePlatform)getDatasourcePlatform(); if (platform.supportsIdentity() && shouldUseIdentityIfPlatformSupports()) { } else if (platform.supportsSequenceObjects() && !shouldUseIdentityIfPlatformSupports()) {
DatasourcePlatform platform = (DatasourcePlatform)getDatasourcePlatform(); if (platform.supportsIdentity() && shouldUseIdentityIfPlatformSupports()) { } else if (platform.supportsSequenceObjects() && !shouldUseIdentityIfPlatformSupports()) {