[jboss-user] [JBoss jBPM] - how get JbpmSchema object?

simonbaker do-not-reply at jboss.com
Tue May 15 16:00:03 EDT 2007


I'd like to test if the jBPM schema has been created in the database, and if not, create it with JbpmConfiguration.createSchema().

The only way I see that might test for schema existance is :
JbpmSchema.hasTables().

The only way I see to get a JbpmSchema object is the JbpmConfigurationFactory.getJbpmSchema().

But JbpmConfigurationFactory is deprecated.

What is a good way to test if the database tables have been created?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045935#4045935

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045935



More information about the jboss-user mailing list