entity objects (RSS)

ofbiz multi-table foreign key related inquiries

To achieve a: Screem.xml in the section, the increase <action>, plus get-related Achieve the two: the use of DynamicViewEntity object in your code, add addMemberEntity, addAlias, addViewLink, th ...

Struts2 + JSON to achieve the return of objects and a list of AJAX

JSON is a plug-in, it allows us to call in the asynchronous JavaScript in Action, it provides a return json result type (ResultType), as long as the specified type for Action return json result type, ...

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 ...

Hibernate lazy loading mechanism

Lazy loading: Lazy loading mechanism is in order to avoid unnecessary performance overhead and put forward the so-called lazy loading is that when data in the real needs when we come to the real imple ...

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 ...

hibernate in the get method and the difference between load method

hibernate in the get method and the load method of the fundamental difference is: If you use the load method, hibernate consider the corresponding object id (database records) are in the database must ...

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 ...

org.hibernate.LazyInitalizationException

Error message: org.hibernate.LazyInitalizationException ..., no session or session was closed Analysis: When the statistics when the number of sub-classification, entity objects are already in session ...