Friday, March 7, 2008

HIBERNATE!

You've got fictional objects, in an abstract world. It is these very abstract objects, conceptualized in your mind and painted onto your canvas known as RAM, which holds all the key data of your application.

What is your user? An OBJECT!
What is their car? An OBJECT!
What is their login date? An OBJECT!
Their address?? OBJECT!

But how do we turn these abstract thoughts in memory into persistant physical data?? KABLAMO - HIBERNATE! Hibernate says "Give Me You're object, I'll store it away, and you just let me know when you want it back."

Hibernate maps to any popular database, even if only remotely popular. So far I've mapped to Oracle, MySQL, and HSQL. Sometimes even simultaneously, although not in a managed environment.

Now I've got ambitions of using some reflection to develop my own ORM. It just sounds fun. If I were to developer my own ORM, I'd name it:
stORM