hello.
do i need to explicitly signal sub-process?
like...
processInstance.getRootToken().getSubProcessInstance().signal()
if i signal the parent process it throws a null point exception upon leaving the process-state that contains the sub-process.
java.lang.NullPointerException
at org.jbpm.graph.node.ProcessState.leave(ProcessState.java:204)
at org.jbpm.graph.exe.Token.signal(Token.java:195)
at org.jbpm.graph.exe.Token.signal(Token.java:140)
at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:271)
thanks.
david f.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089063#4089063
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089063
Thanks to you two.
I was pondering to fall back to hibernate specific api to be able to call evict() for a single entity instance.
Probably the suggestion Jacob made is cleaner. I just have to learn and understand where and how to start/end my conversation.
For now I have a third solution working: I marked my Test button as immediate="false" and for both the script field and the test value input field I used binding attribute to be able to get the submitted value directly from the component.
Then I do
FacesContext.getCurrentInstance().renderResponse();
to skip the remaining phases.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089060#4089060
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089060
anonymous wrote :
| Do you mean for normal usage, or also for schema creation?
|
| IIRC, it maps to tinyints fine (w/ no additional configuration) if you have a pre-existing table, but if hibernate has to make a table, it'll by default choose bit.
|
Sorry, I should have mentioned that we always do our database modeling first, then create the hibernate models. That is, I've never had hibernate generate a table so I'm not sure how it would handle booleans.
-Dustin
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089048#4089048
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089048