Yes, you can end up having persisted objects with invalid state. How? Simple, 
just think  about what happens when one of your validation rules changes after 
your app is on production…this is an interesting topic which has also been 
discussed on the altnet list…
 
--
Luis Abreu
 
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Will 
Shaver
Sent: sábado, 25 de Outubro de 2008 17:08
To: [email protected]
Subject: [nhusers] Re: Calling constructor that performs guard checks - 
immutable types
 
I believe this has been discussed in the past, please search the group 
archives. While I believe there are solutions involving custom object loaders, 
why would you have an invalid object in your database?
On Oct 25, 2008 4:17 AM, "Fabio Maulo" <[EMAIL PROTECTED]> wrote:

Repeated request.
Our friend bstack is something impatient.
2008/10/22 bstack <[EMAIL PROTECTED]>
> > > All, > > We are using immutable types in our domain, that we want to map 
> > > > directly to to dat...



-- 
Fabio Maulo
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.8.1/1732 - Release Date: 22-10-2008 07:23

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to