9.26. Using a JPA

Procedure 9.2. Task

  1. Make sure the environment is set with both the EntityManagerFactory and the TransactionManager.
  2. Launch the JPA from your GUI or command line.
  3. Use the id to load a previously persisted Stateful Knowledge Session. If rollback occurs the ksession state is also rolled back, you can continue to use it after a rollback.