* Notice: Actually, this test depends on H2 as used database as we are going to fetch the current value from the sequence
*/
public void testSequence() throws SQLException
{
SpiEbeanServer server = (SpiEbeanServer)getServer();
IdType idType = server.getDatabasePlatform().getDbIdentity().getIdType();
String platformName = server.getDatabasePlatform().getName();
if (!IdType.SEQUENCE.equals(idType)){
// only run this test when SEQUENCE is being used
return;
}