mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-08 20:24:46 +00:00
HHH-6437 - Improve Database to track default Schema object
This commit is contained in:
parent
56aa17b0d5
commit
9972c7ecb7
@ -94,7 +94,7 @@ public class MetadataImpl implements MetadataImplementor, Serializable {
|
||||
|
||||
private DefaultIdentifierGeneratorFactory identifierGeneratorFactory = new DefaultIdentifierGeneratorFactory();
|
||||
|
||||
private final Database database = new Database();
|
||||
private final Database database;
|
||||
|
||||
private final MappingDefaults mappingDefaults;
|
||||
|
||||
@ -118,6 +118,7 @@ public class MetadataImpl implements MetadataImplementor, Serializable {
|
||||
public MetadataImpl(MetadataSources metadataSources, Options options) {
|
||||
this.serviceRegistry = metadataSources.getServiceRegistry();
|
||||
this.options = options;
|
||||
this.database = new Database( options );
|
||||
|
||||
this.mappingDefaults = new MappingDefaultsImpl();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user