public class SchemaManager extends Object
Running database schemas automatically requires appropriate database permissions. Without those permissions, the automatic installation/upgrade process will fail and users will be prompted to apply database changes manually.
DbConnectionManager.getSchemaManager()
Modifier and Type | Method and Description |
---|---|
boolean |
checkOpenfireSchema(Connection con)
Checks the Openfire database schema to ensure that it's installed and up to date.
|
boolean |
checkPluginSchema(Plugin plugin)
Checks the plugin's database schema (if one is required) to ensure that it's
installed and up to date.
|
public boolean checkOpenfireSchema(Connection con)
con
- a connection to the database.public boolean checkPluginSchema(Plugin plugin)
plugin
- the plugin.Copyright © 2003-2008 Jive Software.