Hi,
I've been unsuccessfully trying to create the jbpm-3.0.2 schema on mysql-4.1 trying different things like
Properties props = new Properties(); // ... Dialect dialect = Dialect.getDialect(props); Configuration config = new Configuration(); config.configure(new File("src\\config.files\\hibernate.cfg.xml")); String[] sql = config.generateSchemaCreationScript(dialect);
Configuration config = new Configuration(); config.configure(new File("src\\config.files\\hibernate.cfg.xml")); JbpmSchema schema = new JbpmSchema(config); schema.createSchema();
mystery solved check out
http://jboss.org/index.html?module=bb&op=viewtopic&t=85272