1 2 Previous Next 20 Replies Latest reply on Aug 1, 2006 9:19 AM by maxip Go to original post
      • 15. Re: Persistance
        olivier_debels

        Did you look in the database using the hsqldb manager?

        • 16. Re: Persistance
          maxip

          yes i recently looked up and i found the definitions there

          the ones i deployed with my class and the ones i deployed using the designer



          so it uses the DB

          • 17. Re: Persistance
            maxip

            graphSession.findAllProcessDefinitions(); returns an empty list :/

            • 18. Re: Persistance
              olivier_debels

              Remove JbpmConfiguration.getInstance().createSchema().

              You only need to do that once and not every time.

              • 19. Re: Persistance
                maxip

                But when i remove this line i get an error /exception:

                15:14:50,812 [main] ERROR JDBCExceptionReporter : Table not found in statement [select processdef0_.ID_ as ID1_4_, processdef0_.NAME_ as NAME2_4_, processdef0_.VERSION_ as VERSION3_4_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN4_4_, processdef0_.STARTSTATE_ as STARTSTATE5_4_ from JBPM_PROCESSDEFINITION processdef0_ order by processdef0_.NAME_, processdef0_.VERSION_ desc]
                org.hibernate.exception.SQLGrammarException: could not execute query


                • 20. Re: Persistance
                  maxip

                  hm i dont know whats going on here but i deployed the definitions under different names serveral times but there dont occur new entryies in the database


                  so i guess:

                  every time i start a class and create ja jbpm context a new one is created, the schema has to prepare the database and now i can work

                  but when i close all things are lost

                  i downt know how some things came into the database but actually there is absolutely no connection to the server

                  my programs run wheather my server is running or not

                  1 2 Previous Next