How should I configure hibernate.cfg.xml to use CMT with SJSAS 8.1 2005Q1?
I saw some configurations with:
| <hibernate-configuration>
| <session-factory name="jBpmSessionFactory">
|
| <!-- jdbc connection properties -->
| <property
name="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</property>
| <property name="hibernate.connection.datasource">jdbc/jBpmDS</property>
|
| <!-- other hibernate properties
| <property name="hibernate.format_sql">true</property>
| <property name="hibernate.use_sql_comments">true</property>
| -->
| <property name="hibernate.show_sql">false</property>
| <property
name="hibernate.query.factory_class">org.hibernate.hql.ast.ASTQueryTranslatorFactory</property>
|
| <property
name="hibernate.transaction.factory_class">org.hibernate.transaction.CMTTransactionFactory</property>
| <property
name="transaction.manager_lookup_class">????????????</property>
|
| .
| .
| .
|
| </session-factory>
| </hibernate-configuration>
|
I couldn't find any SJSAS transaction.manager_lookup_class.
I'm using the org.jbpm.web.JbpmContextFilter to create the jbpmContext, must I
close the jbpmContext inside the jsp? if so, the code (inside jsp) will look
something like:
| JbpmContext jbpmContext =
JbpmConfiguration.getInstance().getCurrentJbpmContext();
| //creates a new process instance
| ProcessInstance processInstance =
jbpmContext.newProcessInstance("suspension.par");
| jbpmContext.save(processInstance);
| jbpmContext.close();
| //starts the workflow
| processInstance.signal();
|
Can I call processInstance.signal() after closing the jbpmContext????
Thanks once again,
Délio Guerra
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008324#4008324
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008324
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user