You can also reuse code in these base classes if you are not using Hibernate annotations.
如果不使用Hibernate注解,也可以重用这些基类中的代码。
Seam also USES Hibernate annotations for data validation, so you must include that extension jar in addition to the main Hibernate jar.
Seam还使用Hibernate注释用于数据验证,所以除了主hibernatejar之外,还必须包括那个扩展jar。
With Hibernate, you take an existing model and an existing schema and express a map between them using annotations or XML.
通过Hibernate,您可获取现有的模型和模式并使用注释或XML表达二者之间的映射。
It also leverages a few standard JPA annotations, thus smoothing the path for developers accustomed to working with JPA-enhanced frameworks like Hibernate.
它还利用一些标准的jpa注释,因此为习惯于使用Hibernate等JPA增强框架的开发人员铺平了道路。
Instead, you can use the Hibernate Validator annotations to assign validation criteria to the properties of your entity class, as shown in Listing 13.
取而代之,可以使用HibernateValidator注释向实体类属性指派验证标准,如清单13所示。
The annotations inform Hibernate what within a class should be considered persistent.
注释告知Hibernate一个类中的哪些内容可以考虑留存。
You can override the Hibernate defaults using any of the usual configuration methods: HBM mapping files or annotations.
可以使用任何常用的配置方法覆盖Hibernate的默认设置:hbm映射文件或者标注。
Hibernate and other tools now provide support for these annotations.
Hibernate和其他工具现在支持这些注解。
JPA - OpenJPA and Hibernate plugins that reflects changes to entities, annotations and configuration (beta, disabled by default).
JPA——提供OpenJPA和Hibernateplugins,能够反应实体、注解和配置变化(beta版,默认禁用)。
JPA - OpenJPA and Hibernate plugins that reflects changes to entities, annotations and configuration (beta, disabled by default).
JPA——提供OpenJPA和Hibernateplugins,能够反应实体、注解和配置变化(beta版,默认禁用)。
应用推荐