Title:
15hibernate_day01_pm_all Download
Description: Hibernate basic concepts
1) Hibernate is, what role and benefits
Hibernate is a database access framework for the realization of the database CRUD operations. Using Hibernate framework can simplify database access operations, to more experienced programmers will be placed on the preparation of the business layer.
Original database JDBC operations there are some problems, mainly in the following aspects
a) the need to write a lot of complex SQL statements
b) the need to set a large number of SQL parameters or values will be packaged into a solid object ResultSet
c) When the database shift values , you need to modify some SQL statements and operations
Using Hibernate framework
To Search:
File list (Check if you may need any files):
hibernate01
...........\.classpath
...........\.myeclipse
...........\.mymetadata
...........\.project
...........\hibernate_01.txt
...........\hibernate映射类型.bmp
...........\src
...........\...\hibernate.cfg.xml
...........\...\tarena
...........\...\......\entity
...........\...\......\......\Foo.hbm.xml
...........\...\......\......\Foo.java
...........\...\......\......\FooIdGenerator.java
...........\...\......\......\User.hbm.xml
...........\...\......\......\User.java
...........\...\......\test
...........\...\......\....\TestFoo.java
...........\...\......\....\TestUserDAO.java
...........\...\......\util
...........\...\......\....\HibernateUitl.java
...........\WebRoot
...........\.......\index.jsp
...........\.......\META-INF
...........\.......\........\MANIFEST.MF
...........\.......\WEB-INF
...........\.......\.......\classes
...........\.......\.......\.......\hibernate.cfg.xml
...........\.......\.......\.......\tarena
...........\.......\.......\.......\......\entity
...........\.......\.......\.......\......\......\Foo.class
...........\.......\.......\.......\......\......\Foo.hbm.xml
...........\.......\.......\.......\......\......\FooIdGenerator.class
...........\.......\.......\.......\......\......\User.class
...........\.......\.......\.......\......\......\User.hbm.xml
...........\.......\.......\.......\......\test
...........\.......\.......\.......\......\....\TestFoo.class
...........\.......\.......\.......\......\....\TestUserDAO.class
...........\.......\.......\.......\......\util
...........\.......\.......\.......\......\....\HibernateUitl.class
...........\.......\.......\lib
...........\.......\.......\web.xml