Thursday, March 11, 2010

Posts Tagged ‘jpa’

hibernate tip: smart id generator

hibernate tip: smart id generator

Tuesday, March 3, 2009 8:00

A small tip to generate more meaningful Id. Instead of 32 for OrderID use O000000032. [caption id="attachment_356" align="alignright" width="173" caption="Use smart and meaningful ids "][/caption] Simple implementations: SmartIdTableGenerator SmartIdSequenceGenerator

This was posted under category: HowTo & Tutorial  |  Read Full Story  |  1 Comment
Tagged with: , ,

Clean database schema with inheritance

Tuesday, February 10, 2009 8:00

It is very common way of usage that  when ever you need some new attribute for your model objects/table you add a new column to the related database table.  After several requirements you will notice:

This was posted under category: Notes  |  Read Full Story  |  2 Comments

Runtime Java Stack

Friday, November 28, 2008 3:26

Image by Neil T via Flickr I have been developing java application for more then 6 years. Most of these years I have used and evaluated open source projects. Here I'll try to explain my open source java stack.

This was posted under category: HowTo & Tutorial  |  Read Full Story  |  0 Comments