[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2007-07-01 Thread colablade
hi kukeltje, thanks for ur instant reply. i was trying to make a web app, which stores inputs into my own table ( based on jBPM 3.1.3 ), but i don't know how to add hibernate mapping of the table. the result is JUnit test runs ok, but the web version causes exception: | org.hibernate.Mappi

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2007-07-01 Thread kukeltje
we did not do this in one transaction that is what you must understand. Further we just stored the primary key of our own data in a processvariable in jbpm. Nothing more... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059453#4059453 Reply to the post : ht

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2007-07-01 Thread colablade
hi kukeltje, anonymous wrote : | We configured hibernate to use the appserver transactions and used 2 datasources, one for jBPM, one for our own data. | could u explain how to do that in a little more detail? (I'm using JBoss IDE 1.6 or 2.0.0 beta2, jBPM 3.1.3) View the original post

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2006-10-04 Thread kukeltje
it was the "recent changes" page on the wiki itself. And if you do not make thanksgiving, there is always xmas, or eastern ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975955#3975955 Reply to the post : http://www.jboss.com/index.html?module=bb&op=pos

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2006-10-03 Thread meeru777
Thanks for the compliments! damn those indexing spiders, am working on part 2(those late night endeavours), it will be much more interesting than the 1st one. jBPM is running smooth as ever now, will post all my findings and tips in part 2, hopefully it should be done by halloween else thanksgiv

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2006-10-03 Thread kukeltje
which (as I found out only now) is still under construction ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975810#3975810 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975810 ___

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2006-10-03 Thread kukeltje
Ameer, Great work, compliments. I also found the second part View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975808#3975808 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975808 ___

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2006-10-03 Thread kukeltje
Sorry,, missed the question: HQL? Our own domainmodel did not use Hibernate (yet). It was a usertransaction with inserts/updates into our domain model and then a call to the jbpm API (with a hibernate config that uses the transaction that is already running). View the original post : http://w

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2006-10-03 Thread meeru777
Hi "the_dude", I have written a tutorial on integrating jbpm + springmodules + appfuse here, using 2 datasources. If you have any questions please let me know. http://raibledesigns.com/wiki/IntegratingJBPMIntoAppFuse.html Ameer View the original post : http://www.jboss.com/index.html?module=

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2006-09-27 Thread the_dude
"kukeltje" wrote : | Transactions were managed by the appserver. We configured hibernate to use the appserver transactions and used 2 datasources, | one for jBPM, one for our own data. They used the same connetionpool so no XA issues arose. | Mhm. What about your HQL statements? I haven

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2006-09-16 Thread meeru777
1. Delivers superbly, i enhanced it to get a paginated list, which i can plug right into my ui. | List l = query.setFirstResult(page * pageSize).setMaxResults(pageSize+1).list(); | 2. to get the status of the process, i have a different ui / status. In my case i have 10,000 pie

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2006-09-15 Thread the_dude
"meeru777" wrote : i got it to work, | | is this the right approach to do it? | | | | String q = "select pi from org.jbpm.graph.exe.ProcessInstance as pi, | | org.jbpm.context.exe.VariableInstance as vi" | | + " where pi.id = vi.processInstance and pi.rootToken.node.name =

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2006-09-15 Thread jits_1998
hi Meeru77, There is an WIP class called org.jbpm.db.ContextSession . The purpose of that class is to take care of issues like searching for a process instance based on variable instances. You can update that class with thi query, that IMO will be an approach more in line with jbpm line of thi

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2006-09-14 Thread meeru777
i got it to work, is this the right approach to do it? | String q = "select pi from org.jbpm.graph.exe.ProcessInstance as pi, org.jbpm.context.exe.VariableInstance as vi" + " where pi.id = vi.processInstance and pi.rootToken.node.name = '" + wfStatus + "' and vi.value='"+ variableValue + "

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2006-09-14 Thread meeru777
hi the_dude anonymous wrote : I fetch my objects using hql statements that check some process variable values. No prob here. a quick question regarding the above, i would also like to query my process instances(task instances to be exact) with some variables, however, i cannot seem to achieve

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2006-09-13 Thread jbpmndc
I've come to the conclusion domain data should exist separately. Only data that must be used by the process is managed by jBPM. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971399#3971399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2006-09-13 Thread kukeltje
Stupid me, responding from my holiday ;-) Transactions were managed by the appserver. We configured hibernate to use the appserver transactions and used 2 datasources, one for jBPM, one for our own data. They used the same connetionpool so no XA issues arose. View the original post : http://w

[jboss-user] [JBoss jBPM] - Re: Storage of process variables outside jbpm?

2006-09-13 Thread the_dude
@Ronald:Haven't you done this before by storing some of your data in an extra database? I have a past conversation/thread-name-I-can't-remember in mind where you mentioned something like that. How did you handle your transactions? Right now I think of the (quick&dirty) alternative to set up view