Hi Mauricio,
Thanks for your reply. Problem is
solved.
Actually I was working with the old
snapshot.
Again thanks a lot.
Thanks & Regards
Pardeep Ruhil
are you just running the example in that project?
Because it inject a lot of variables in there.
Also you need to verify that all the configurations are modified correctly,
and the database is populated correctly with all the tables needed.
Another problem could be that you use an old version of Drools. Remember
that the Variable Persistence Strategies are introduced in the trunk, so
you
need to get the latest snapshots.
Greetings.
2009/10/29 <Pardeep.Ruhil@lntinfotech.com>
>
> Hi,
>
> I am working on persisting Drools session info into the database.
> For that I have taken a sample project from *
> http://blog.athico.com/2009/09/drools-flow-variable-persistence**.html*<http://blog.athico.com/2009/09/drools-flow-variable-persistence.html>
> .
> When I tried to debug the project, no values are inserted into the
table
> 'VaraibleInstanceInfo' table.
> However In between the debugging I am able to see data going into
the table
> 'SessionInfo' , 'ProcessInstaceInfo', WorkItemInfo' table. But no
data is
> going into the 'VaraibleInstanceInfo' and 'ProcessInstanceEventInfo'
table.
>
> I have taken the code for VariableInstanceInfo.java,
> SerializablePersistedVariable.java, JPAPersistedVariable.java
and other
> required classes for running the project from
> http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-persistence-jpa/src/main/java/org/drools/persistence/processinstance/
>
> Kindly tell me what going wrong in this. I am using Mysql database
for
> persistence storage.
>