it's not .. I mean, there is no jbpm support in Spring


they have a factory that lazily reads a config file in which all configuration 
is done, it also point to an hinernate config file, which looks like this (I 
omitted the entity mappings)



<?xml version='1.0' encoding='utf-8'?>



<!DOCTYPE hibernate-configuration PUBLIC

&nbsp; &nbsp; &nbsp; &nbsp; "-//Hibernate/Hibernate Configuration DTD 3.0//EN"

&nbsp; &nbsp; &nbsp; &nbsp; 
"http&#58;//hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">



<hibernate-configuration>

&nbsp; &nbsp; <session-factory>



&nbsp; &nbsp; &nbsp; &nbsp; <!-- jdbc connection properties -->

&nbsp; &nbsp; &nbsp; &nbsp; <property 
name="hibernate.dialect">@hibernate.db.dialect@</property>

&nbsp; &nbsp; &nbsp; &nbsp; <property 
name="hibernate.show_sql">@hibernate.db.showSql@</property>

&nbsp; &nbsp; &nbsp; &nbsp; <property 
name="hibernate.connection.datasource">@dataSource@</property>



&nbsp; &nbsp; &nbsp; &nbsp; <!-- transactions -->



&nbsp; &nbsp; &nbsp; &nbsp; <!-- c3p0 connection pooling properties

&nbsp; &nbsp; &nbsp; &nbsp; <property 
name="hibernate.c3p0.min_size">1</property>

&nbsp; &nbsp; &nbsp; &nbsp; <property 
name="hibernate.c3p0.max_size">3</property>

&nbsp; &nbsp; &nbsp; &nbsp; -->



...







should I add properties for the transaction factory class (should I take the 
one from Spring: which one) ? and the one for the lookup (the JBoss one: 
org.hibernate.transaction.JBossTransactionManagerLookup) ? .. 



I'm very confused by all this to be honest, I should never need to configure 
stuff from the org.hibernate package for transactions when using Spring, right ?



the weird thing is that it worked fine before the transaction manager change in 
AndroMDA
--
Wouter Zoons - [EMAIL PROTECTED]

http://www.andromda.org/
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2523#2523
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to