Re: Issue with new converters running on Oracle DB

2009-12-07 Thread Adrian Crum
I will look into this and try to find a solution. -Adrian David E Jones wrote: One option might be to put this in, but commented out so it is just an example in a comment. There is at least one other comment with example code for Oracle in the entity engine, though I can't remember where it i

Re: Issue with new converters running on Oracle DB

2009-12-06 Thread David E Jones
One option might be to put this in, but commented out so it is just an example in a comment. There is at least one other comment with example code for Oracle in the entity engine, though I can't remember where it is right now. -David On Dec 6, 2009, at 5:04 AM, Jacopo Cappellato wrote: > For

Re: Issue with new converters running on Oracle DB

2009-12-06 Thread Jacopo Cappellato
For the record, I have finally fixed it by adding the following two converters: public static class OracleTIMESTAMPToTimestamp extends AbstractConverter { public OracleTIMESTAMPToTimestamp() { super(oracle.sql.TIMESTAMP.class, java.sql.Timestamp.class); } p

Re: Issue with new converters running on Oracle DB

2009-12-05 Thread Ruth Hoffman
Hi Jacopo: Don't know about the converter framework...I seem to remember that Oracle changed the name of the SQL TIMESTAMP object for more recent versions (9x or 10i or something like that). So maybe the OFBiz converter is looking for the TIMESTAMP object in the wrong place or calling it by a

Re: Issue with new converters running on Oracle DB

2009-12-05 Thread Jacopo Cappellato
Thank you Ruth, I will investigate more but... but my guess is that this error is related to the recent changes for the Converter framework... in fact this error is happening after the OFBiz upgrade to the trunk. Jacopo On Dec 5, 2009, at 7:59 PM, Ruth Hoffman wrote: > Hey Jacopo: > I had a s

Re: Issue with new converters running on Oracle DB

2009-12-05 Thread Ruth Hoffman
Hey Jacopo: I had a similar problem about 9 months ago...depends on the version of Oracle. But if I remember correctly, you may need to find an Oracle jar file that supports the TIMESTAMP object and add it to the classpath. I don't have access to that OFBiz instance anymore so I can't verify

Issue with new converters running on Oracle DB

2009-12-05 Thread Jacopo Cappellato
I am getting the following error trying to load seed data in the trunk using an Oracle DB. [java] Exception: java.lang.ClassNotFoundException [java] Message: No converter found for oracle.sql.TIMESTAMP->java.sql.Timestamp Any hints on how to fix this? Jacopo