Posts Tagged ‘ hibernate

hibernate tip: smart id generator

A small tip to generate more meaningful Id. Instead of 32 for OrderID use O000000032.

Use smart and meaningful ids

Use smart and meaningful ids

Simple implementations:

  • SmartIdTableGenerator
  • SmartIdSequenceGenerator

Read more

Clean database schema with inheritance

ORM Diagram

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: Read more

Grails Days 1: GORM-CRUD

A basic calculator
Image via Wikipedia

It has been more than a week since I downloaded Grails, Although my first Grails impressions are not so well, I am playing with Grails with lots of curiosity and joy, Read more

Grails, First Impressions

Grails
Image via Wikipedia

Since SpringSource acquires the Grails I was willing to test this framework and make a dummy project but first I should read some books:) Read more

More Runtime Java Stack

Screws come in a variety of shapes and sizes f...

Image via Wikipedia

More java framework and APIs that I have been using.

you can find the first part this article here: java runtime stack Read more

Runtime Java Stack

Toolkit

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. Read more

Why ORM? ’cause:

Hi again, a few hours ago I have read a question about ORM mapping for java . He wonders why  and when this technology is chosen.

Disclaimer: I am omitting the case, when your database is just a storage for a CRUD apps. I am talking about complex applications, when stored procedures are used very extensively, like Oracle’s PL/SQL.

Read more