Home » Tag Archives: JBoss Hibernate (page 6)

Tag Archives: JBoss Hibernate

Performance Tuning of Spring/Hibernate Applications

jboss-hibernate-logo

For most typical Spring/Hibernate enterprise applications, the application performance depends almost entirely on the performance of it’s persistence layer. This post will go over how to confirm that we are in presence of a ‘database-bound’ application, and then walk through 7 frequently used ‘quick-win’ tips that can help improve application performance. How to confirm that an application is ‘database-bound’ To ...

Read More »

Careful With Native SQL in Hibernate

jboss-hibernate-logo

I really like Hibernate, but I also don’t know a tool that would be nearly as powerful and deceptive at the same time. I could write a book on surprises in production and cargo cult programming related to Hibernate alone. It’s more of an issue with the users than with the tool, but let’s not get too ranty. So, here’s ...

Read More »

Postgres and Oracle compatibility with Hibernate

jboss-hibernate-logo

There are situations your JEE application needs to support Postgres and Oracle as a Database. Hibernate should do the job here, however there are some specifics worth mentioning. While enabling Postgres for application already running Oracle I came across following tricky parts: BLOBs support, CLOBs support, Oracle not knowing Boolean type (using Integer) instead and DUAL table. These were the ...

Read More »

Building Java Web Application Using Hibernate With Spring

jboss-hibernate-logo

This post will show how to create a Student Enrollment Application using MYSQL DB with Hibernate ORM in a Spring environment. This is a simple application that aims to collect the input details from the user during signup, save the details in the MYSQL DB and authenticate the same during login. 1. Create Java Web Application Project using Maven Template ...

Read More »

Hibernate Facts: How to “assert” the SQL statement count

jboss-hibernate-logo

Introduction Hibernate simplifies CRUD operations, especially when dealing with entity graphs. But any abstraction has its price and Hibernate is no different. I’ve already talked about the importance of fetching strategy and knowing your Criteria SQL queries, but there is more you can do to rule over JPA. This post is about controlling the SQL statement count that Hibernate calls ...

Read More »

Grails: Using Hibernate Filters

grails-logo

The Grails Hibernate Filters plugin makes it possible to use Hibernate Filters with GORM. Hibernate Filters provide additional restriction rules that can be applied to classes and collections. The Hibernate Filters plugin makes it possible to use this functionality with GORM inside Grails applications. Let’s look at an example to see how filters can help us. Assume we have the ...

Read More »

Hibernate: DDL Schema generation

jboss-hibernate-logo

Not so long time ago I have to work with in-memory database. This activity was related to integration testing. As you know, it is a normal practice to use in-memory data bases for the integration testing. There are several reasons for this: portability, well grained environment infrastructure, high performance, consistency of original data base. The problem is a coppying of ...

Read More »

Hibernate 4.3 ORM Tool

jboss-hibernate-logo

Hibernate has recently released the final version of Hibernate ORM 4.3, a Java-based ORM framework that also supports stored procedures and entity graphs. ORM Tool Hibernate 4.3 Released, Implementing JPA 2.1 Specification introduces the main features of the release, which are in short: Support for working with stored procedure and function calls, across both providers and database vendors. UPDATE and ...

Read More »

Workshop on Creating a Personal MusicManager Web Application with Struts2, Hibernate and MySQL

jboss-hibernate-logo

Overview: In this workshop tutorial we’ll develop a personal music manager application using Struts 2, Hibernate and MySQL database. The web application can be used to add your music collection to the database. We’ll display form to add the record and underneath we’ll show all the music collections. From each row the record can be deleted by clicking ‘Delete’ link. ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.