1. Building tables and initialization of the test data in mysql database, create a new table: tbl_user, to build the table statement as follows: DROP TABLE IF EXISTS `user`; CREATE TABLE `tbl_user` ( ...
pojo (RSS)
Generated mapping file from the table Table generated from the mapping file and the POJO
Hibernate cache Raiders (2007-07-18 21:51:37) Tags: hibernate Category: Hibernate Many people are not very familiar with the secondary cache, or there is a wrong understanding, I have always wanted to ...
4. Hibernate how to update the database pojo 4.0 in the commit / flush before, hibernate will not be a mysterious object pojo treatment. 4.0.1 in the pojo when a select query, hibernate under the &quo ...
I am finishing with the summary of: First, the java bean, is a java component model, he for the use of java classes provide a standard format, the user program management and visualization tools can b ...
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 ...
Types of development projects from the perspective of the java platform is based on B / S structure of the system, in the direction of the competition is fierce, there is this focus on the LAMP (Linux ...
1 by adding the jar package j2ee. Add to lib in (Note, it is best to package jar project are added to the inside in order to shake off the shackles of MyEclipse) 2. Join the spring (remember to add th ...
Many people are not very familiar with the secondary cache, or there is a wrong understanding, I have always wanted to write an article tell us about the hibernate second cache, and finally help it. M ...
1, create a new java project named Hibernate3.3Test2, add in the classpath hibernate core package, an essential package, and database-driven categories, namely: sqljdbc.jar (use is sql server2005), hi ...
4. Hibernate how to update the database pojo 4.0 in the commit / flush before, hibernate will not be a mysterious object pojo treatment. 4.0.1 in the pojo when a select query, hibernate under the &quo ...
1. CASCADE Cascade significance of property: Only "marked relations between the" cascade only property: OneToOne, OneToMany, ManyToOne, ManyToMany. Cascading refers to the implementation of ...
Gilead stands for Generic Light Entity Adapter.It permits you to send Persistent entities (and especially the partially loaded ones) outside the JVM (GWT, Flex, Web-Services, ...) without pain.No Lazy ...
CascadeType.PERSIST (new cascade) CascadeType.REMOVE (cascade delete) CascadeType.REFRESH (cascade refresh) CascadeType.MERGE (cascade update) in one or more selection. CascadeType.ALL CascadeType som ...
Four, Hibernate development steps: (key: It is necessary to grasp) Start: (set up environment variables and configuration) Myeclipse years at the paper into Hibernate packages (including database-driv ...
"In layman's language and Struts 2" First, Struts Overview Struts are used to develop a Model 2 framework applications. This framework can improve the speed of development as it provides ...
ibatis ----- iBATIS comes from the word "internet" and "abatis" the combination of Clinton Begin is a 2001 open-source project initiated. Initially focused on the development of en ...
hibernate provides the level of the session cache, each session, the same id twice a load, does not send two sql to the database, but turn off session, when a cache on a failure. SessionFactory level ...
<? xml version = "1.0" encoding = "UTF-8"?> <! DOCTYPE hibernate-configuration PUBLIC "- / / Hibernate / Hibernate Configuration DTD 3.0 / / EN" "http://hib ...
# Assume that there is a relationship between the table ADDRESS_SCHOOL, has two fields ADDRESS_ID, SCHOOL_ID, # The two fields corresponding to ADDRESS and the key two tables SCHOOL (11) insert the SQ ...
Read other people's records, feel good, on the collection here, Original Source: http://blog.csdn.net/fenixshadow/archive/2007/11/17/1890010.aspx Persistence Layer 1: 1) Hibernate This need not in ...
Reprint: http://blog.csdn.net/dingx
Hibernate features: Hibernate powerful database has nothing to do with good, O / R mapping ability, and if you are very proficient in Hibernate, but also for Hibernate to conduct an appropriate packag ...
Hibernate.cfg.xml configuration file:







