Re: [Hibernate] Better validate on property and value ?

2003-12-31 Thread Emmanuel
Les Hazlewood wrote: RE: [Hibernate] Better validate on property and value ? Whats wrong with doing: public boolean isValid(Mapping mapping) {     try {     validate(mapping);     } catch (MappingException me) {     return false;     }     r

Re: [Hibernate] Better validate on property and value ?

2003-12-31 Thread Max Rydahl Andersen
Emmanuel wrote: Les Hazlewood wrote: Whats wrong with doing: public boolean isValid(Mapping mapping) { try { validate(mapping); } catch (MappingException me) { return false; } return true; } And give accurate info using log interface ? No - isValid() should just

Re: [Hibernate] Selective SchemaExport

2003-12-31 Thread Gavin King
Not really. I suppose it should be easy enough to patch Hibernate to allow this. Les Stroud wrote: I have some tables in my hibernate mapping that I am in not control of. However, I like being able to automatically create and change (drop and recreate) my tables. It saves a ton of time. With t