public String determineDatabaseName ( ) { if ( this . generateUniqueName ) { if ( this . uniqueName == null ) { this . uniqueName = UUID . randomUUID ( ) . toString ( ) ; } return this . uniqueName ; } if ( StringUtils . hasLength ( this . name ) ) { return this . name ; } if ( this . embeddedDatabaseConnection != EmbeddedDatabaseConnection . NONE ) { return "testdb" ; } return null ; }
Determine the name to used based on this configuration .