|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.plugins.hibernate.objectstore.tools.HibernateTools
public class HibernateTools
| Constructor Summary | |
|---|---|
HibernateTools()
|
|
| Method Summary | |
|---|---|
static void |
dropSchema(boolean script,
boolean export)
Drop schema from database |
static void |
exportHbmXml(java.lang.String basedir)
Export Hibernate mapping files for all Naked Objects currently in NakedObjects. |
static void |
exportSchema(boolean script,
boolean export)
Export schema to database - will also drop tables first |
static void |
updateSchema(boolean script,
boolean export)
Update Schema in the database |
static void |
updateSchema(org.hibernate.cfg.Configuration cfg,
boolean script,
boolean export)
Update Schema in the database |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HibernateTools()
| Method Detail |
|---|
public static void exportSchema(boolean script,
boolean export)
script - to write DDL script to System.outexport - to export updates to the database
public static void dropSchema(boolean script,
boolean export)
script - to write DDL script to System.outexport - to export updates to the database
public static void updateSchema(boolean script,
boolean export)
script - to write DDL script to System.outexport - to export updates to the database
public static void updateSchema(org.hibernate.cfg.Configuration cfg,
boolean script,
boolean export)
script - to write DDL script to System.outexport - to export updates to the databasepublic static void exportHbmXml(java.lang.String basedir)
outDir -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||