Friday, March 12, 2010

Posts Tagged ‘orm’

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

Grails Days 1: GORM-CRUD

Friday, December 26, 2008 8:00

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,

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

No Implementation DAO Layer Project: Polyforms

Sunday, October 26, 2008 15:00

if you are interested in my previous article "who need implemenation" ,there is a similiar project have already launched: Polyforms Infoq article project wiki it uses JPA and some annotation (very different from mines) to not implementing DAO layer. hopefully I 'll make my first open source implemention next month ...

This was posted under category: HowTo & Tutorial, News  |  Read Full Story  |  0 Comments
Tagged with: ,

Why ORM? ’cause:

Wednesday, October 22, 2008 3:18

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.

This was posted under category: Notes  |  Read Full Story  |  3 Comments
Tagged with: ,