标签: hibernate jpa hibernate-mapping
我已经搜索但没有得到答案,所以有办法在Hibernate中重命名检查约束?我的Hibernate版本是3.6.10和JPA:jpa-2.0-api-1.0.1.Final
@Entity @Check(constraints="categoria_for>0 and categoria_for<=5") public class Fornecedor implements Serializable{ //... }