• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Postgresql and NSTimestamp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Postgresql and NSTimestamp
      • From: Art Isbell <email@hidden>
  • Prev by Date: RE: Printing
  • Next by Date: Limiting Punctuation Characters In Code
  • Previous by thread: RE: Printing
  • Next by thread: Re: Postgresql and NSTimestamp
  • Index(es):
    • Date
    • Thread