One of the top Hibernate Online Training classes in india,usa,uk

21

Transcript of One of the top Hibernate Online Training classes in india,usa,uk

Page 1: One of the top Hibernate Online Training classes in india,usa,uk
Page 2: One of the top Hibernate Online Training classes in india,usa,uk

HIBERNATEHibernate is a free, open source Java

package that makes it easy to work with relational databases. Hibernate makes it seem as if your database contains plain Java objects like you use every day, without having to worry about how to get them out of mysterious database tables. It liberates you to focus on the objects and features of your application, without having to worry about how to store them or find them later.

Page 3: One of the top Hibernate Online Training classes in india,usa,uk

Hibernate Online Training

1. Introduction• Problems with using JDBC• Setting Up Hibernate• Configuring Hibernate• Programmatic Configuration• XML Configuration• Configuration with Properties file• Using Annotations• Opening and Closing the session• Retrieving Objects

Page 4: One of the top Hibernate Online Training classes in india,usa,uk

2. General Architecture of Hibernate3. Basic mapping and Object Identity• Sample application development and performing following operations:• Read• Update• Delete• Create• Providing an ID for persistence problem• Database sequence

Page 5: One of the top Hibernate Online Training classes in india,usa,uk

Native generator• Increment generator• Hilo generator• Creating a composite key• saveorUpdate functionality in Hibernate• Dynamic SQL generation in Hibernate• Naming entities in hibernate

Page 6: One of the top Hibernate Online Training classes in india,usa,uk

4. Component Mapping• Implementing a value type as a component• Nesting components• Adding References in components• Mapping a collection of components• Using Components as keys to a Map

Page 7: One of the top Hibernate Online Training classes in india,usa,uk

5. Collections Mapping• Set• List• Arrays• Collection

Page 8: One of the top Hibernate Online Training classes in india,usa,uk

6. Hibernate Data types7. Hibernate API8. Hiberenate Query language (HQL)• Projection Queries• Aggregation Functions• Grouping• Restrictions

Page 9: One of the top Hibernate Online Training classes in india,usa,uk

9. Inheritance in Hibernate• Table-per-class hierarchy• Table-per-concrete class• Table-per-sub10. Relations• One-to-one• One-to-many• Many-to-one• Many-to-many

Page 10: One of the top Hibernate Online Training classes in india,usa,uk

11. Caching• Introduction• Scopes of cached Data• Cache levels• First-level cache• Second level cache• Concurrency Strategies• Cache Providers• Caching queries• Using the first level cache• Configuring second-level Cache

Page 11: One of the top Hibernate Online Training classes in india,usa,uk

12. Querying with Criteria• Introduction• Using Criteria to load the data from database• Applying restriction to criteria• Using Projections with Criteria

Page 12: One of the top Hibernate Online Training classes in india,usa,uk

13. Querying by Example14. Batch Processing• Batch Inserts• Batch Updates• Batch Deletes15. Native SQL• Using database dependent SQL’s

Page 13: One of the top Hibernate Online Training classes in india,usa,uk

16. Transaction Management17. Integrating Hibernate with Servlets18. Integrating Hibernate with Struts 2.x

Page 14: One of the top Hibernate Online Training classes in india,usa,uk

Why should use hibernateHibernate can save your guts, and it can let

you achieve some performance gains that you could hardly ever acheive by hand-coding.

Hibernate generates very efficient queries very consistently. However, that is only the begining of the performance story. Hibernate employs very agressive, and very intelligent first and second level caching strategy. This is a major factor in acheiving the high scalability.

Page 15: One of the top Hibernate Online Training classes in india,usa,uk

Why use hibernateHibernate spares you a unnecessary

database calls. So all these lookup tables, and rarely changing data can get cached, and much more.

It allows you to cache how much you want, and it can be very intelligent with write-backs. Furthermore, it integrates well with the major open source (OSCache, EHCache, JBossCache, ...) and commercial caching products such as Tangosol giving you an opportunity to use even more sophisticated features that come with these products.

Page 16: One of the top Hibernate Online Training classes in india,usa,uk

Advantages of hibernateHibernate code will work well for

all databases, for ex: Oracle,MySQL, etc. where as JDBC is database specific.

No knowledge of SQL is needed because Hibernate is a set of objects and a table is treated as an object, where as to work with JDBC, one need to know SQL.

Page 17: One of the top Hibernate Online Training classes in india,usa,uk

advantages Query tuning is not required in

Hibernate. The query tuning is automatic in hibernate by using criteria queries, and the result of performance is at its best. Where as in JDBC the query tuning is to be done by the database authors.

Page 18: One of the top Hibernate Online Training classes in india,usa,uk

Hibernate architecture

Page 19: One of the top Hibernate Online Training classes in india,usa,uk
Page 20: One of the top Hibernate Online Training classes in india,usa,uk

Contact India : +91 9949599844    USA : +1-347-606-2716Email:

[email protected]

Page 21: One of the top Hibernate Online Training classes in india,usa,uk