]
Hardy Ferentschik moved HV-345 to HBX-1192:
-------------------------------------------
Component/s: (was: engine)
Affects Version/s: (was: 4.2.0.Beta1)
Key: HBX-1192 (was: HV-345)
Project: Hibernate Tools (was: Hibernate Validator)
Run automated diff between project model constraints and database
model constraints
-----------------------------------------------------------------------------------
Key: HBX-1192
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-1192
Project: Hibernate Tools
Issue Type: New Feature
Reporter: Roman Arkadijovych Muntyanu
Original Estimate: 160h
Remaining Estimate: 160h
[This feature request has been added to this project due to relation to Java-level
constraint validation. Please feel free moving it to appropriate project]
Since constraints validation is added at Java model level, it would be interesting to
write a tool, that would do the following during application start-up:
* poll the database for schema;
* poll hibernate for XML/JPA Mappings;
* compare two of the above to constraints defined through validation framework and
generate warnings in the logs.
For the initial version this could be simple checks like size of field defined in DB and
in the model, field mandatority etc.
This would help a lot in keeping consistency between database and business constraints
model.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: