Hi,

When deploying jbpm.jar in a jboss environment we saw the following issue 
popping up.

In the hibernate mapping files a typedef is used (string_max), which is only 
specified in hibernate.queries.hbm.xml.  Other mapping files are using this 
typedef (Comment, Timer,...).

This has as consequence that the hibernate.queries.hbm.xml mapping file must be 
read before the other, otherwise you get exceptions like:


  | org.hibernate.MappingException: Could not determine type for: string_max, 
for columns: [org.hibernate.mapping.Column(DESCRIPTION_)]
  | at org.hibernate.mapping.SimpleValue.getType(SimpleVa lue.java:265)
  | 

Hibernate is at this moment not smart enough to determine the order based on 
typedefs, so jbpm mapping files must be robust enough to handle this.

What is a good solution for this? Repeating the typedef in all files where it 
is needed is a possibility.

Any thoughts?

Olivier.

Any ideas?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027454#4027454

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027454
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to