[rules-users] is it correct that rows in a sessioninfo table in df persistence never get deleted?
Kris Verlaenen
kris.verlaenen at cs.kuleuven.be
Tue Apr 12 12:19:25 EDT 2011
Yes, as disposing a session doesn't mean you don't want to restore it at
some point later from persistence. You might for example temporarily
want to dispose the session since you know it is no longer needed
(short-term) and recreate it later whenever necessary. If you don't
need the session state anymore, you could just delete it as well. We
would probably need to introduce a new method (like delete()?) which
would dispose + remove.
Kris
gs76pl wrote:
> hi,
>
> i'm not sure whether it's OK or not but while using drools flow persistence
> records in [i]sessioninfo[/i] table never get deleted ?
> Once i'm done with the process and call knowledgeSession.dispose()
> previously created record in a table doesn't get removed?
> Is it correct that sessioninfo table should always grow and there is no
> deleting rows taking place the same way e.g. processinstanceinfo table has
> in place?
>
> If this is intentional than what is the benefit?
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/is-it-correct-that-rows-in-a-sessioninfo-table-in-df-persistence-never-get-deleted-tp2812026p2812026.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
More information about the rules-users
mailing list