Sorry my last message doesn't help. I catched the exception and I came back to
the first one :
couldn't assign id to TaskInstance(validate)
The problem is still there...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217489#4217489
Reply to the post :
http
Hum the file is in the right place, I mean it is taken because it connects to
the database.
I added the mapping files of my classes.
But I think the problem is somewhere else. When I'm debugging my action, I see
that everything is going wrong since I step into the signal() function :
boolean r
The full hibernate configuration indeed consists of multiple files (or at least
multiple sections) the mapping file is in the jbpm jar. If the config file you
posted is in the wrong place it cannot find the mapping files.
View the original post :
http://www.jboss.org/index.html?module=bb&op=vi
In a forum I saw that 3 elements are required for hibernate:
- a javabean
- a mapping file
- a configuration file
I wrote the last one only, because in jBPM documentation there is no trace of
the others. I also saw that jBPM handle everything for the persistance, so that
we just have to execute
Here is my hibernate config file :
|
| http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
|
|
|
|
| jdbc:mysql://localhost:3306/econges
| root
| unilog
| com.mysql.jdbc.Driver
| org.hibernate.dialect.MySQLInnoDBDialect
|
|
|
your hibernate config is wrong I guess
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217252#4217252
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217252
___
jboss-user maili