[ojb-users] Problems with oracle
Brought to you by:
thma
From: Christoph S. <cs...@mc...> - 2002-06-17 12:26:37
|
Hi All! I am trying to use ojb with oracle, but i have some problems. * i cant create the odmg tables with torque. I created an oracle.profile, and entered my db info, but when torque tried to insert data, i got a foreign key violation. (i tried with build.xml and build-maven.xml) * Oracle returns numeric data as BigDecimal, and I have it declared as Integer in my Objects, so I get a IllegalArgumentException. Must i declare my numeric elements as BigDecimal, or is there a workaround? Dont kill me if this is all documented somewhere, but I searched for quite some time. Thanks in advance for your help! -chris |