3 Replies Latest reply on May 15, 2007 6:42 PM by kukeltje

    how get JbpmSchema object?

    simonbaker

      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?