Set the defaultCatalogName and defaultSchemaName once and then use the AbstractJdbcDatabase getter/setter
Otherwise the names cannot be customized e.g. in tests
The SimpleNamingContextBuilder does not support javax.naming.Name which is used by Hibernate 4 to lookup the JNDI datasource
Just provide the datasource directly to the configuration
Use a discriminator for the database name otherwise there are test problems
Merge pull request #18 from LeovR/testFix

Test fix