R: Shark engine persitsted java variables
"Riccardo Bocci" <[email protected]> Tue, 6 Sep 2005 18:33:24 +0200
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <CBAD69EB7E8DB24C85711C701181D98777DD23@parsifal.init.gruppoinit.it> |
Hi Geeta, Thanks for your answer Since we're using oracle We saw that the value of the bean is stored in db i.e. in the table ACTIVITYDATA in a column named VARIABLEVALUE as a blob data when VARIABLETYPE=5 ________________________________ Da: [email protected] [mailto:[email protected]] Inviato: martedì 6 settembre 2005 17.17 A: [email protected] Oggetto: Re: [shark] Shark engine persitsted java variables Hi Riccardo, "Riccardo Bocci" <[email protected]> wrote on 09/06/2005 10:30:37 AM: > Hi All, > We' re studying and testing the shark 1.1 engine > And we have some question: > - once defined a workflow variable as a java class (i.e.: > a bean named BaseBean implementing java.io.Serializable with getter > and setters for internal properties) > > <DataField Id="wi2" IsArray="FALSE" Name="Work Item step 2"> > <DataType> > <ExternalReference location="BaseBean"/> > </DataType> > </DataField> > we associate the current variable to an activity as extended > attribute with the > <ExtendedAttribute Name="VariableToProcess_UPDATE" Value="wi2"/> > Supposing that the class is loaded correctly when the process is > istantiated (see below) > --------------------------------------------------------- > ProcessInstantiator -> Event received: > event time --> 2005-09-06 16:23:58.948 > process id --> > 3101_TestRefVariabile_TestRefVariabile_Wor1 > event type --> processContextChanged > old data --> null > new data --> {wi1=BaseBean@10d3d99, > wi2=BaseBean@bf8cf5} > > -------------------------------------------------------------------------------------------------------------------- > The question is: is that variable persisted in some way inside the > Database of the Shark engine or is completely cut off the system? > All process variables are managed by Shark so yes, it is persisted. And you can of course access it using Shark classes.. hope this helps, Geeta
message-footer.txt
(text/plain, 271 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws