alejandro-du / crudui

Automatically generate CRUD-like Vaadin views for any Java Bean
https://vaadin.com/directory#!addon/crud-ui-add-on
Apache License 2.0
85 stars 52 forks source link

Fixed: Support of validation based on JPA annotation. #24 #28

Closed dmicol closed 6 years ago

dmicol commented 6 years ago

Hi Alejandro, I propose this as support to validate entity that does not have Validation annotation but have JPA annotation.

If you want to use crudui on existing software with tens or hundreds of entity, that does not have Validation annotation, the JpaValidationBinder can be a fast solution to add a minimal validation support.

dmicol commented 6 years ago

I added the last commit to this pull request for error. I wish to add a new pull request but I don't understand how to.

alejandro-du commented 6 years ago

Closing this since this couples the add-on to Hibernate.