I have an object, call it Address. It's been properly defined using JPA, and annotations. The problem is that I can't figure out how to get jBPM to "see" it so that jBPM can save it. It will save long, shorts and other basic types, but not my address class.
I investigated jBPM, and it says that I have to add a Hibernate definition. I really don't want to add a hibernate defintion over the annotations I've used. Can I do both? How do I get around this?
currently there is (afaik) no easy way to have jbpm store these kinds of objects without adding a mapping. That said, you could:
- store it outside of jbpm in your own domain model and just store a reference to it in jbpm
- try making it serializable, that way jbpm uses some kind of default persistence mapping afaik