Categories

Recent Comments

    Integrating Hibernate with Struts1.x

    We have got list of post(s) about Hibernate. Today as a next step we’ll try to intergrate with MVC framework. We’ll take the most used one which Struts1.3. For example we’ll take the same Singer Example and we’ll work with that for intergrating with struts also.Since we have the domain object generated already, we can […]

    Using Hibernate’s HQL

    Hibernate uses a powerful query language called as HQL that is similar to SQL. Compared with SQL, however, HQL is fully object-oriented and understands notions like inheritance, polymorphism and association. Hibernate generates the SQL from these HQL’s and executes against the RDBMS. HQL supports Clauses, Aggregate functions and Subqueries with it’s syntax. Other advantage of […]

    Simple CRUD Operation With Hibernate

    In my previous post Hibernate, the ORM Library for Java, we have seen the General introduction of ORM Tools and how to configure the hibernate to use it in our applications. In this post we”ll look at the simple examples of DB Operations using Hibernate. Please have all the libraries needed to work with MySQL […]