Wednesday, July 06, 2005

JDO - JPOX Schema Tool and Oracle

Just so everyone is aware, I'm currently using JPOX (1.1.0-beta3) as my JDO implementation.

I've already run into my first snag with Oracle and JPOX. For some strange reason, when I try and map an int column in an object to an int column in the table (shows as number in desc command of table) the schema tool complains that the precision of the column in the table does not match what the object supports. I've tried changing the length of the column in the JDO mapping and a few other things, but nothing seems to fix this.

Intro

First of all this blog is not meant to be the definitive place to compare and contrast Hibernate and JDO. I'm a developer working at a mid sized company that is investigating using Hibernate or JDO in our existing software package. My intent is to post on a somewhat regular basis on what I experience when testing both technologies.

A quick disclaimer is in order. I've already developed a test application using Hibernate and I really like Hibernate. Please don't start any flame wars in the comments. I will attempt to keep an open mind on both technologies.