/*
* Spatially enable the new table...
*/
layer.setCreationKeyword(getConfigKeyword());
layer.create(3, 4);
// register the table as versioned
SeRegistration registration = new SeRegistration(connection, tableName);
registration.setMultiVersion(true);
registration.alter();