红联Linux门户
Linux帮助

Hibernate Validator 5.2.0.Beta1发布

发布时间:2015-02-28 09:31:26来源:红联作者:empast
Hibernate Validator 5.2.0.Beta1 发布,此版本解决了 30 个 issues,值得关注的新特性:

Ability to provide external ClassLoader

Hibernate Validator features.xml for Apache Karaf

Programmatic constraint mapping via ConstraintMappingContributor

ConstraintDefinitionContributor with resource bundles

此版本现已提供在 Maven artifacts (GAV org.hibernate:hibernate-validator:5.2.0.Beta1) 和 SourceForge。

更多内容请看发行说明。

用Annotations 给类或者类的属性加上约束(constraint),在运行期检查属性值是很优雅的.Hibernate Validator就是这样的一个框架.该框架是十分容易的(就像参考文档中宣称的那样),几乎没有什么学习曲线,Validator 是一个验证框架 不需要和Hibernate的其他部分绑定就可以使用,只要在你的项目中添加Hibernate-annotations.jar库就可以了.

软件详情:http://in.relation.to/Bloggers/HibernateValidator520Beta1AJointEffort

下载地址:https://repository.jboss.org/nexus/index.html#nexus-search;gav~org.hibernate~hibernate-validator~5.2.0.Beta1~

来自:开源中国社区
文章评论

共有 0 条评论