On Thu, Sep 20, 2001 at 10:27:50AM -0400, Sundaram Ramasamy wrote:
> Hi,
> 
> I download and build the castor from the cvs. Now I am trying to executer
> example JDO using PostgreSQL .
> 
> I go the following error. How will I clear this error?
> 
> Thanks
> Sundaram
> 
> 
> D:\cygwin\castor>example.bat jdo

 ^^^ first bug: wrong OS ;-)

> [test] SELECT
> "prod"."id","prod"."name","prod"."price","prod"."group_id","prod_d
> etail"."id" FROM "prod" LEFT OUTER JOIN "prod_detail" ON
> "prod"."id"="prod_detai
> l"."id" WHERE ("prod"."id" = ?)
> [test] org.exolab.castor.jdo.PersistenceException: Nested error: This method
> is
> not yet implemented.
> [test] This method is not yet implemented.
> [test]  at org.postgresql.Driver.notImplemented(Driver.java:368)
> [test]  at org.postgresql.jdbc2.ResultSet.getBigDecimal(ResultSet.java:841)

What ist your Postgres version ? You need 7.1 (I think even 7.1.4).
Also the JDBC driver has to be a newer one. (In castor-cvs/lib/ is the
jar file. The current version is buggy (even not a correct jar file), but
you can check out an older version, namely the version with the
BIT patch from Patrick Bechtel, look at the cvs logs.)

-- 
Holger Krug
[EMAIL PROTECTED]

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to