[jboss-user] [JBoss jBPM] - Re: A sample with HibernateLongInstance or HibernateStringI

crussell42 do-not-reply at jboss.com
Thu Feb 1 10:41:33 EST 2007


See also http://www.jboss.com/index.html?module=bb&op=viewtopic&t=100452
I am trying to do the same thing with an entity that does not have a resource mapping file but uses annotations only to define schema.
Problem there is there is no way to "tell" jbpm about the annotated class because of the HibernateHelper use of Configuration object rather than AnnotationConfiguration.
Need a way to add config in hibernate.cfg.xml that sees the annotated class:
e.g. 
  | <mapping class="foo.MyAnnotatedFooClass"/>
  | 

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009488



More information about the jboss-user mailing list