|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.commons.persistence.DatabaseSetup
public class DatabaseSetup
Initial Date: 25.10.2002
| Constructor Summary | |
|---|---|
DatabaseSetup()
|
|
| Method Summary | |
|---|---|
static void |
createTables()
Setup OLAT database. |
static org.hibernate.cfg.Configuration |
datastoreConfiguration()
Method datastoreConfiguration is the central mapping definition of all OLAT objects and their mapping to a relational database. |
static void |
dropTables()
Drop all OLAT tables |
static void |
main(java.lang.String[] args)
Execute commands from the command line: 'setup' or 'drop' currently available |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatabaseSetup()
| Method Detail |
|---|
public static org.hibernate.cfg.Configuration datastoreConfiguration()
throws org.hibernate.MappingException
org.hibernate.MappingException
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - One of createTables, dropTables, toFile, updateDDL
java.lang.Exception - e.g. DatabaseSetup org.hibernate.dialect.MySQLDialect createScript
public static void createTables()
throws java.lang.Exception
java.lang.Exception
public static void dropTables()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||