entity object (RSS)

JPA Overview

Java Persistence API JPA through JDK 5.0 annotations or XML description of the object - the relationship between the mapping table and run-time persistence of the entity object to the database. Sun in ...

Spring2.5 + JPA (Hibernate3.2) source code examples (CTO)

In this paper, to cut-off since I CSDN blog http://blog.csdn.net/ctojxzsycztao/archive/2009/05/12/4171730.aspx Today, because of闲来无事studied about JPA, and gave a simple example to small for you to sha ...

Three hibernate object status

Hibernate transparent persistence is very comfortable to use, and sometimes even forget the existence of the database. My friends would always tell save, saveOrUpdate, update the distinction, lock, me ...

EJB knowledge

EJB is a server-side sun component model, the usefulness of the largest deployment of distributed applications are similar to Microsoft's. Net technology. With the advantages of cross-platform jav ...

Crawl strategy Hibernate

First of all, tell us about the crawl strategies: Crawling strategy (fetching strategy) means: When the required application at (Hibernate Entity Object graph) relationship between the time of navigat ...

Hibernate data retention

Hibernate data retention - Session. Save Ways Session.save user entity objects to the database persistence operations. In other words, Session.save method call with the entity object by matching Inser ...

About hibernate cache and CRUD

hibernate as a now relatively popular lightweight ORM framework, started in 2003 in the domestic epidemic, and to do at the moment still on Persistence Layer dominant. Although rich and flexible objec ...

hibernate's HQL query

Medium at HQL keywords are not case-sensitive, but the property and the class name is case-sensitive 1, a simple query property * A single property query, return the result set list property, element ...

hibernate query cache

hibernate query cache Query cache is cached result set of common property On the entity object cache only the result set id Query cache life cycle, when the associated table happened to amend, then th ...

Struts Spring Hibernate test Noodles

Hibernate working principle and why to use? Principle: 1. To read and parse configuration file 2. Read and analytic mapping information, create a SessionFactory 3. Open Sesssion 4. Create Affairs tran ...

hibernate load delay

Lazy loading: Lazy loading mechanism is in order to avoid unnecessary performance overhead and put forward the so-called lazy loading is required when the real data at a time when the real implementat ...

The level Hibernate cache

Hibernate cache level: (1) a cache is very short and the session life cycle consistent, also known as session-level cache-level cache or transaction-level cache (2) Ways of Supporting level cache: get ...