Thanks for finding this bug. I solved it by removing the equals/IllegalStateException check. I don't think it is necessary.
The reason why uuid in PersonBase is not initiated in constructor is that when an object is restored from database by hibernate the constructor is invoked followed by assignment of attributes, including uuid. This lazy init of uuid prevents unecessary uuid generation (i.e. the motivation is performance). /Patrik -- View this message in context: http://www.nabble.com/-sculptor--lazy-init-of-UUI%2C-why-tp21385484s17564p21400611.html Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer