Postgresql and NSTimestamp
Postgresql and NSTimestamp
- Subject: Postgresql and NSTimestamp
- From: javier <email@hidden>
- Date: Wed, 5 Feb 2003 12:59:43 +0100
Hello list;
I am trying to use Postgresql (Windows) with WebObjects (Mac OS X
10.2). In any tables i have fields typed as "timestamp with time zone"
and in EOModeler with "NSTimestamp". When I try to fetch something with
a NSTimestamp i get the following error:
[2003-02-05 12:24:39 CET] <main> A fatal exception occurred:
com.webobjects.foundation.NSTimestamp
[2003-02-05 12:24:39 CET] <main> java.lang.ClassCastException:
com.webobjects.foundation.NSTimestamp
at
org.postgresql.jdbc1.AbstractJdbc1Statement.setObject(AbstractJdbc1State
ment.java:1366)
at
org.postgresql.jdbc1.AbstractJdbc1Statement.setObject(AbstractJdbc1State
ment.java:1398)
at
com.webobjects.jdbcadaptor.JDBCColumn.takeInputValue(JDBCColumn.java:495
)
at
com.webobjects.jdbcadaptor.JDBCChannel._bindInputVariablesWithBindingsAn
dExecute(JDBCChannel.java:224)
at
com.webobjects.jdbcadaptor.JDBCChannel._evaluateExpression(JDBCChannel.j
ava:297)
at
com.webobjects.jdbcadaptor.JDBCChannel.evaluateExpression(JDBCChannel.ja
va:255)
at
com.webobjects.jdbcadaptor.JDBCChannel.selectAttributes(JDBCChannel.java
:185)
Could anyone help me, please?.
Javier
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.