Unix Technical Forum

ResultSet.getDate throws too long

This is a discussion on ResultSet.getDate throws too long within the pgsql Interfaces jdbc forums, part of the PostgreSQL category; --> Hi, I am using the 74 driver on a 8.0.3 Database. Using getDate on a resultSet I get an ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces jdbc

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-15-2008, 11:57 PM
Konstantinos Agouros
 
Posts: n/a
Default ResultSet.getDate throws too long

Hi,

I am using the 74 driver on a 8.0.3 Database. Using getDate on a
resultSet I get an error claiming, that it is too long. I sent
a set pgdatestyle='German' before retreiving the data. Is this a
known bug?

Regards,

Konstantin
--
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185
----------------------------------------------------------------------------
"Captain, this ship will not survive the forming of the cosmos." B'Elana Torres

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-15-2008, 11:57 PM
Oliver Jowett
 
Posts: n/a
Default Re: ResultSet.getDate throws too long

Konstantinos Agouros wrote:

> I am using the 74 driver on a 8.0.3 Database.


This is not a supported configuration to begin with. Use an 8.0 or later
driver to talk to an 8.0 database.

> Using getDate on a
> resultSet I get an error claiming, that it is too long. I sent
> a set pgdatestyle='German' before retreiving the data.


... and changing the datestyle is sure to confuse the driver, too. Don't
do that.

-O

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:32 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com