Hi there,

On Wed, May 7, 2008 at 8:47 AM, Rickard Öberg <[EMAIL PROTECTED]> wrote:
> Richard Wallace wrote:
>  > Hmm... well I tried changing the constraint just to NotNull and all the
>  > tests still pass.  I've stepped through the Qi4j code and the
>  > EntityPropertyInstance doesn't do any Constraint checking.   It's
>  > parent, the PropertyInstance class does, but the one for Entities
>  > doesn't.  I would assume this is so it can be done when the unit of work
>  > is complete, but I've stepped through all the unit of work completion
>  > code and can't find anywhere the constraints are checked.
>
>  Sounds like a bug, plain and simple. Will fix it, and it's great that
>  you found it!
>
Ahh, had the same issue yesterday, good Richard isolated it :)

/peter

-- 
GTalk: neubauer.peter
Skype peter.neubauer
ICQ 18762544
GTalk neubauer.peter
Phone +46704 106975
LinkedIn http://www.linkedin.com/in/neubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to