Quantcast
Channel: Dariusz on Software Quality » hibernate
Browsing latest articles
Browse All 7 View Live

Image may be NSFW.
Clik here to view.

ORA-00932: inconsistent datatypes: expected NUMBER got BINARY

I was getting the following error: ORA-00932: inconsistent datatypes: expected NUMBER got BINARY on line: <property name="customer" column="CustomerId" /> the fix for above error was to use...

View Article


Image may be NSFW.
Clik here to view.

org.hibernate.PropertyAccessException: exception setting property value with...

The error org.hibernate.PropertyAccessException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of XYZ.setStatus(). Cause Using...

View Article


Image may be NSFW.
Clik here to view.

How To Debug Hibernate SQL Queries With Parameters

I bet everyone knows how to enable SQL logging for Hibernate. If you add this parametr to Hibernate configuration: <property name="hibernate.show_sql">true</property> you will see queries...

View Article

Image may be NSFW.
Clik here to view.

Second Level Cache For SQL Queries Under Hibernate

Second level cache in Hibernate allows to greatly speed-up your application by minimizing number of SQL queries issued and serving some results from in-memory cache (with optional disk storage or...

View Article

Image may be NSFW.
Clik here to view.

Websphere Extreme Scale + Hibernate = ?

Recently I was asked to integrate WXS (Websphere Extreme Scale, commercial cache implementation from IBM) into existing WPS (Websphere Process Server)-based project to implement read-only...

View Article


Image may be NSFW.
Clik here to view.

Custom CacheProvider for Hibernate based on Websphere DistributedMap

Hibernate is a library that maps database tables to Java objects. Is performance problems arise it’s very easy to add database caching for application using Hibernate (just few options in config file)....

View Article

SQL Error: 17006, SQLState: null Invalid column name in Hibernate

Recently I’ve got the following error during SQL named query execution: SQL Error: 17006, SQLState: null Invalid column name In order to track the problem down I enabled SQL logging and collected SQL...

View Article
Browsing latest articles
Browse All 7 View Live