| |
|
| java.lang.Object org.blojsom.util.database.DatabaseLoader
DatabaseLoader | public class DatabaseLoader (Code) | | Database loader
author: David Czarnecki version: $Id: DatabaseLoader.java,v 1.6 2007/01/17 02:35:18 czarneckid Exp $ since: blojsom 3.0 |
DatabaseLoader | public DatabaseLoader()(Code) | | Create a new instance of the Database loader
|
init | public void init()(Code) | | Initalize the blojsom database
|
setDbScript | public void setDbScript(String dbScript)(Code) | | Set the DB script to initialize and load the database
Parameters: dbScript - DB script to initialize and load the database |
setDetectBlojsomSQL | public void setDetectBlojsomSQL(String detectBlojsomSQL)(Code) | | SQL to detect blojsom
Parameters: detectBlojsomSQL - SQL to detect blojsom |
setSessionFactory | public void setSessionFactory(SessionFactory sessionFactory)(Code) | | Set the
SessionFactory Parameters: sessionFactory - SessionFactory |
setUpgrading | public void setUpgrading(boolean upgrading)(Code) | | Signal an upgrade for the database loader
Parameters: upgrading - true if upgrading the database using the database script, false otherwise |
|
|
|