[JBoss jBPM] - Re: Variable Controler
by antitrust1982
I have tried to understand how put my value in the variables, but seems to don't work.
I have done this:
| contextInstance.createVariable(var.getVariableName(),Nom,token);
| contextInstance.setVariable(var.getVariableName(),Nom);
|
Perhaps somebody have ever set his variables and can help me to understand how can put my value in the variables.
I give you a peice of my xml process definition in order to see you which value I want to set:
| <task-node name='renseignementclient'>
| <task swimlane='FONCIA'>
| <controller>
| <variable name='Nom' />
| <variable name='Prénom' />
| <variable name='Adresse'/>
| <variable name='ville'/>"
| <variable name='codepostal'/>
| <variable name='NumTel'/>
| <variable name='etablissementScolaire'/>
| </controller>
| </task>
| <transition name='valide' to='Validation'>
| </transition>
| </task-node>
Thank you in advance for your help
antitrust1982
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975118#3975118
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975118
19 years, 2 months
[Beginners Corner] - Re: javax.persistence.PersistenceException: org.hibernate.ex
by soundarya
JBoss 4.0.4GA is being used and this is the error stack trace.
javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
Caused by: java.sql.SQLException: Table not found in statement [select license0_.id as id69_, license0_.date as date69_, license0_.key as key69_, license0_.expirationDate as expirati4_69_ from License license0_]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.doPrepareStatement(BaseWrapperManagedConnection.java:349)
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.prepareStatement(BaseWrapperManagedConnection.java:337)
at org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:187)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:497)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:415)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1561)
at org.hibernate.loader.Loader.doQuery(Loader.java:661)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.doList(Loader.java:2145)
... 271 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975112#3975112
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975112
19 years, 2 months