This content has been marked as final.
Show 1 reply
-
1. Re: process and nodes bidirectionnal relation
tom.baeyens Nov 5, 2007 9:04 AM (in response to porcherg)"porcherg" wrote:
maybe we need to mark the default constructor as restricted to the package ?
if that is not a problem for hibernate, that is a good idea.
but be carefull. it could be that it works, but that it is much less inefficient. in some cases, hibernate has to generate subclasses to bypass limited visibility. make sure you check those kind of things before you make it less visible then public.
in any case, we should make sure that the docs give good guidance. the javadocs should explain that the process.createNode should be used as a factory at all times (also for the initial node)