Archive for 'Hibernate'
Using Boolean fields with Oracle RDBMS
Like I posted here we are currently busy replacing the Postgres database with an Oracle database. One issue we encountered was the use of boolean fields in the Postgres database, because there is no such type in the Oracle database. So we chose to create a Varchar2(1) field that contains a ‘t’ or ‘f’, being [...]
Posted: March 6th, 2008 under General, Hibernate.
Comments: 4
Combining enum with EJB3 Enitity bean
Do you recognize this feeling? Although you are using a certain set of tools/ frameworks for a while to develop your applications every now and then you get surprised by a certain error message you haven’t seen before? And to your knowledge you didn’t do anything different compared to the last time you used it.
Well, [...]
Posted: December 10th, 2007 under EJB3, General, Hibernate, JBoss AS.
Comments: 2
Failure trying catching an UncategorizedSQLException
To store information in our PostgreSQL database we use Spring and Hibernate as I mentioned earlier in my posts. Some of our tables in the database also have GIS information with them. That’s why we are also using PostGIS extension on our database. This GIS information (Geometry) is also reflected in the Hibernate objects we [...]
Posted: April 25th, 2007 under General, Hibernate, Spring Framework.
Comments: none
Hibernate and the (in)famous LazyInitializationException
When you are working with Hibernate there is a big chance you have (or will) run into the infamous lazy loading exception: org.hibernate.LazyInitializationException: failed to lazily initialize a collection - no session or session was closed. Well, last week it was my turn. Luckiliy there are lots and lots of articles and blogs about it [...]
Posted: March 6th, 2007 under General, Hibernate.
Comments: none
Entering the world of GIS
At my current project we store information about buildings in a database. A part of that information is geographic information about the location of the building. This information is sent in a SOAP message and the geographic part is formatted according to the GML standard. This information (both geographic and ‘normal’ data) is persisted in [...]
Posted: March 4th, 2007 under General, Hibernate.
Comments: 1
Hibernate: An ADF Business Components alternative?
Because I had some time left last days, I decided to have a look at the persistence framework Hibernate (actually they call it ‘a powerful, high performance object/relational persistence and query service’). Last years I have mainly used ADF BC as persistence layer and I was curious what the alternatives had to offer. Since Hibernate [...]
Posted: January 7th, 2007 under General, Hibernate, J2EE Frameworks.
Comments: none
