I can't inject the hibernate session.. i am doing this:
| bean id=processEngine factory-bean=jbpmConfiguration
factory-method=buildProcessEngine
| property name=hibernateSession ref=jbpmSessionFactory/
| /bean
|
|
and I get this error:
anonymous wrote :
| Caused
wrong copy/paste... i am doing this:
|
| bean id=processEngine factory-bean=jbpmConfiguration
factory-method=buildProcessEngine
| property name=hibernateSessionFactory
ref=jbpmSessionFactory/
| /bean
|
View the original post :
i think i know what is going on. the problem is that zhe
hibernateSessionFactory setter is not a valid Java Beans seter.(has a return
value).
Maybe someone could take a look and make jBPM a bit more Spring friendly.
View the original post :
in the Developer Docu one can read the following sentence:
| Do note that this mechanism is pluggable, which means that in the future
other destinations could be used (JMS, JCR, etc).
|
what does that mean? is there a way to use an external job scheduler?
I would like to use UC4 or
I found the answer. it is actually quite simple. you can write your own Command
and execute it . inside the execute Method from the Command you have access to
the DBSession and you can execute Hibernate Queries. I will post an Example
later on maybe if somone is interested.
I am implementing a
I found how this could work... maybe somone from jBPM can help me..
there is an interface TimerSession whioch has a method:
| void schedule(Timer timer);
|
This interface has 2 implemantations JobExecutorTimerSession and
EjbTimerSession!! the problem ist that i have no Source for
I found how it should work but it doesn't :(
There is an xml element timer-session/ which one can configure in
jbpm.cfg.xml but unfortunately the TimerSessionBinding does not allow you to
configure your own TimerSession implementation. the XML Tag has only 1
attribute 'target' which can have
koen.a...@jboss.com wrote : As I said in the post on the developer's forum,
there will be support for instance migration in the upcoming release. The
solution is somewhat different from Caleb's solution for jBPM 3.x.
|
| Regards,
| Koen
Can you pls clarify? what kind of sollution? wich
I have searched the forums buit i was unable to find a solution to my problem.
I am trying to run my own hql query using the hibernate session that jBPM is
using. how can i do that? is there a way to do something like this using jBPM
API? if I could do that i could also search the task
I also need a solution for this..and yes I searched the forums. It would be
greate if you could post some code. thx.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4261693#4261693
Reply to the post :
kukeltje wrote : please can you search the forum first (either with google or
directly) and then get back with more detailed questions. In general my answers
would be:
|
| 1: Yes, but not that easy / Depends
| 2: No
I don't know who you think you are but can you frikin' stop posting
sebastian.s wrote : To answer your question, vchira: He's the guy answering
the biggest amount of questions in a competent and friendly way in this forum
in his free time (!!).
|
maybe i saw only a small selection of his posts..if so than i bag your pardon.
Even the most friendly advice
I have done something like this:
| import org.jbpm.api.ProcessEngine;
| import org.jbpm.pvm.internal.jobexecutor.JobExecutor;
| import org.springframework.beans.factory.annotation.Required;
| import org.springframework.context.ApplicationEvent;
| import
I had a lot of problems with Jbpm and i wanted to make some code contributions
or at least forward you some ideas/code changes. How can one do that?:
Hiere is a short List with the Problems that i can remember:
1. Timers are a mess. You can not set the duedate/duedatetime with a date!!!
the
For the timer Problem a quick fix would be to change the Method
setDueDateDescription in class TimerImpl like this:
| public void setDueDateDescription(String dueDateDescription) {
|
| ScriptManager scriptManager = EnvironmentDefaults.getScriptManager();
| Object
15 matches
Mail list logo