[jboss-user] [JBoss jBPM] - Re: jBPM HowTo add User Group Swimlane to DB?

newbie007 do-not-reply at jboss.com
Mon Jul 31 09:50:41 EDT 2006


You can add the user etc eigher by using the SQL or by using the hibernate session (You should be able to get the session from the jbpm context or configuration).

Use <hibernate session>.save(user) if you are using hibernate session. make sure you populate the user object before saving.  Also please make sure you follow the correct order for inserting (if there is any foreign key reference, you will have to insert the record in the other table first).

Thanks.


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

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



More information about the jboss-user mailing list