[jboss-user] [JBoss jBPM] - Re: [newbie] problem with hibernate mapping while trying to

2007-07-03 Thread syngolis
Your object is stored in jbpm_bytearray/block because there is no hibernate mapping for it, that means, unknown serializeable objects are stored as byte-array. (This behaviour is declared in jbpm.varmapping.xml) I tired a similar scenario some time ago. I am not sure if it fits exactly your nee

[jboss-user] [JBoss jBPM] - Re: [newbie] problem with hibernate mapping while trying to

2007-07-03 Thread kukeltje
an external application updates its own tables with and just stores (initially) a reference to this data in either a processvariable or as a businesskey on the process View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059949#4059949 Reply to the post : http://

[jboss-user] [JBoss jBPM] - Re: [newbie] problem with hibernate mapping while trying to

2007-07-03 Thread colablade
u mean an external program updates tables whenever changes r made to the db? btw, u seem to be here all the time, really a forum addict :D View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059838#4059838 Reply to the post : http://www.jboss.com/index.html?modu

[jboss-user] [JBoss jBPM] - Re: [newbie] problem with hibernate mapping while trying to

2007-07-03 Thread kukeltje
I/We don't put these in jBPM, nor in our processdefinition... all is outside this as a really separate application View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059821#4059821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mod

[jboss-user] [JBoss jBPM] - Re: [newbie] problem with hibernate mapping while trying to

2007-07-03 Thread colablade
hi kukeltje, sorry for bothering u again. i tried to start another hibernate session with a new hibernate.cfg.xml which reads mapping from Student.hbm.xml. but i always got a "Resource: com/dgbdatamodel/Student.hbm.xml not found"exception! i found jBPM puts the deployed files in the tables: jbpm

[jboss-user] [JBoss jBPM] - Re: [newbie] problem with hibernate mapping while trying to

2007-07-01 Thread colablade
still a bit confused. i guess i'll try to use another hibernate session to use the mapping. thanks for your patience. it's very nice of u. i guess most of my questions r stupid and some even annoying :P View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059466#4

[jboss-user] [JBoss jBPM] - Re: [newbie] problem with hibernate mapping while trying to

2007-07-01 Thread kukeltje
that is fully up to you. Depends on - you have/need one or two datasources - you want it in one transaction - View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059465#4059465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=rep

[jboss-user] [JBoss jBPM] - Re: [newbie] problem with hibernate mapping while trying to

2007-07-01 Thread colablade
so what do u suggest i do with my 'student' example? and how to take advantage of the existing mapping? shall i bring up another hibernate session or sth? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059464#4059464 Reply to the post : http://www.jboss.com

[jboss-user] [JBoss jBPM] - Re: [newbie] problem with hibernate mapping while trying to

2007-07-01 Thread kukeltje
uhhmmm... like you normally would? hibernate, sql, whatever... I do not get your question... and I never said we did not use mappings, just not IN jBPM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059462#4059462 Reply to the post : http://www.jboss.com/ind

[jboss-user] [JBoss jBPM] - Re: [newbie] problem with hibernate mapping while trying to

2007-07-01 Thread colablade
hi kukeltje, i have one last question: how to save the data (e.g. the 'name' and 'age' in my example) without mapping, HQL? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059461#4059461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting

[jboss-user] [JBoss jBPM] - Re: [newbie] problem with hibernate mapping while trying to

2007-07-01 Thread colablade
i see. again thanks for your kindness! :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059459#4059459 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059459 ___ jboss-user ma

[jboss-user] [JBoss jBPM] - Re: [newbie] problem with hibernate mapping while trying to

2007-07-01 Thread kukeltje
I (personally) do not extend the jbpm mappings with custom mappings for a domain model. I store data separately and use references (keys) to 'connect' the two View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059458#4059458 Reply to the post : http://www.jboss