This content has been marked as final.
Show 2 replies
-
1. Re: Persistence
porcherg Jul 6, 2007 11:01 AM (in response to csouillard)Hi all,
I have a question about the mapping of the class org.pvm.jpdl.ProcessState:
in the package org.pvm.jpdl, we have:
class ProcessState implements Executable
in the mapping file ProcessState.hbm.xml, we have:
<subclass name="org.pvm.jpdl.ProcessState" extends="org.pvm.jpdl.JpdlExecutable"
discriminator-value="P">
Why do we have two different inheritance hierarchies ?
Thanks for your help
Guillaume -
2. Re: Persistence
tom.baeyens Jul 24, 2007 8:12 AM (in response to csouillard)sorry for the delayed reply.
the mapping is obsolete. there is only 1 inheritence hierarchy of executables.
the difficulty is that it should be mapped in with mixed mapping strategy. all the pvm related properties should be in a single, central pvm table. all the classes related to 1 process language should be mapped flat into one 'extension' table.