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
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
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