书栈网 · BookStack 本次搜索耗时 0.036 秒,为您找到 1400 个相关结果.
  • 8. Transactions and concurrency control

    8. Transactions and concurrency control 8.1. Physical Transactions 8.2. JTA configuration 8.3. Hibernate Transaction API 8.4. Contextual sessions 8.5. Transactional patterns (a...
  • 16.3. 定制SQL用来create,update和delete

    16.3. 定制SQL用来create,update和delete 16.3. 定制SQL用来create,update和delete Hibernate3能够使用定制的SQL语句来执行create,update和delete操作。在Hibernate中,持久化的类和集合已经 包含了一套配置期产生的语句(insertsql, deletesql, u...
  • 17. Native SQL Queries

    17. Native SQL Queries 17.1. Creating a native query using JPA 17.2. Scalar queries 17.3. Entity queries 17.4. Handling associations and collections 17.5. Returning multiple en...
  • 7. Database access

    7. Database access 7.1. ConnectionProvider 7.2. Using DataSources 7.3. Driver Configuration 7.4. Using c3p0 7.5. Using Proxool 7.5.1. Using existing Proxool pools 7.5.2. Confi...
  • 1.2.6. 加载并存储对象

    1.2.6. 加载并存储对象 1.2.6. 加载并存储对象 我们终于可以使用Hibernate来加载和存储对象了,编写一个带有main() 方法的EventManager 类: package events ; import org . hibernate . Session ; import java . util . Date...
  • 29.3.3. 创建和删除JPA数据库

    29.3.3. 创建和删除JPA数据库 29.3.3. 创建和删除JPA数据库 默认情况下,只有在你使用内嵌数据库(H2, HSQL或Derby)时,JPA数据库才会被自动创建。你可以使用spring.jpa.* 属性显式的设置JPA,比如,将以下配置添加到application.properties 中可以创建和删除表: spring . jpa...
  • 19.1.5. 使用批量抓取(Using batch fetching)

    19.1.5. 使用批量抓取(Using batch fetching) 19.1.5. 使用批量抓取(Using batch fetching) Hibernate可以充分有效的使用批量抓取,也就是说,如果仅一个访问代理(或集合),那么Hibernate将不载入其他未实例化的代理。 批量抓取是延迟查询抓取的优化方案,你可以在两种批量抓取方案之间进行...
  • WildFly, updating in

    Hibernate ORM within WildFly What is a WildFly feature pack How to get the latest Hibernate ORM feature pack for WildFly Create a Provisioning Configuration File Maven users:...
  • 5.4 Validation Advice

    5.4 Validation Advice 5.4 Validation Advice Validation advice is one of the most common advice types you are likely to want to incorporate into your application. Validation ad...
  • 5.4 Validation Advice

    5.4 Validation Advice 5.4 Validation Advice Validation advice is one of the most common advice types you are likely to want to incorporate into your application. Validation ad...