public interface HibernateMusicLibraryDelegate
Modifier and Type | Method and Description |
---|---|
JDialog |
createDatabaseRecoveryDialog()
Database recovery dialog.
|
JDialog |
createDatabaseUpdateDialog()
Database update dialog.
|
String |
getApplicationVersion()
Version String used for the settings table.
|
org.hibernate.boot.MetadataSources |
metadataSources(org.hibernate.boot.MetadataSources metadataSources)
Gives the delegate the chance to modify or replace the given configuration.
|
void |
showDatabaseIsCorruptDialog()
Database is corrupt-dialog.
|
void |
showDatabaseMigrationErrorMessage(Exception e)
Display error message about a failed database migration.
|
boolean |
showDatabaseRecoveryErrorMessage(Exception e)
Display error message about a failed database recovery.
|
void |
showSchemaEvolutionErrorMessage(Exception e)
Display error message about a failed schema evolution.
|
void |
showSchemasDontMatchMessage(String expected,
String actual)
Display error message about mismatching schemas.
|
org.hibernate.boot.MetadataSources metadataSources(org.hibernate.boot.MetadataSources metadataSources)
metadataSources
- hibernate configuration.JDialog createDatabaseUpdateDialog()
JDialog createDatabaseRecoveryDialog()
void showDatabaseIsCorruptDialog()
void showSchemaEvolutionErrorMessage(Exception e)
e
- exceptionvoid showDatabaseMigrationErrorMessage(Exception e)
e
- exceptionboolean showDatabaseRecoveryErrorMessage(Exception e)
e
- exceptionvoid showSchemasDontMatchMessage(String expected, String actual)
expected
- expected schema versionactual
- schema versionString getApplicationVersion()
Copyright © 2006–2017 tagtraum industries incorporated. All rights reserved.