> Would anyone have a use for a new callback interface
>
> public interface Validatable {
> public void validate() throws ValidationException;
> }
>
> that would be called just before saving or updating an object's state?
Yes, I would. I used something virtually identical in my home-grown
persistence code, before switching to Hibernate, and found it very useful.
> (Remember, i'm trying to avoid turning Hibernate into a framework.)
I think as long as things like this are small, low-overhead, optional, and
useful, they're good. This one seems to qualify...
Anton
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel