agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
[Pljava-dev] Re: [PLJAVA] ResultSet.getTime() returns garbage. (ID: 1206) (new)
4+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] Re: [PLJAVA] ResultSet.getTime() returns garbage. (ID: 1206) (new)
@ 2005-03-08 14:43  
  1 sibling, 1 reply; 4+ messages in thread

From:  @ 2005-03-08 14:43 UTC (permalink / raw)

> Created By: stephen.crowley at gmail.com
> Description: ResultSet.getTime() returns garbage.
>
> I cannot figure out what exactly it is returning, but it not the current
time.

Could you give an example? Thanks.

Regards
   Filip





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* [Pljava-dev] Re: [PLJAVA] ResultSet.getTime() returns garbage. (ID:	1206) (new)
@ 2005-03-08 15:02  
  parent: 
  0 siblings, 0 replies; 4+ messages in thread

From:  @ 2005-03-08 15:02 UTC (permalink / raw)

Filip Hrbek wrote:

>>Created By: stephen.crowley at gmail.com
>>Description: ResultSet.getTime() returns garbage.
>>
>>I cannot figure out what exactly it is returning, but it not the current
>>    
>>
>time.
>
>Could you give an example? Thanks.
>  
>
Examples are always welcome. This bug has already been fixed though :-)

Regards,
Thomas Hallgren





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* [Pljava-dev] Re: [PLJAVA] ResultSet.getTime() returns garbage. (ID: 1206) (new)
@ 2005-03-08 15:05  
  1 sibling, 1 reply; 4+ messages in thread

From:  @ 2005-03-08 15:05 UTC (permalink / raw)

Thomas,
you have probably solved the problem, haven't you?

I added an example & test which allows executing any SELECT statement. This
function returns set of varchar containing
column names & classes in the first row
semicolon-separated values in all other rows

Using this function (executeSelect), I can test how the SPIResultSet works.

Filip


----- Original Message ----- 
From: <stephen.crowley at gmail.com>
To: <filip.hrbek at plz.comstar.cz>
Sent: Tuesday, March 08, 2005 11:13 AM
Subject: BUG: [PLJAVA] ResultSet.getTime() returns garbage. (ID: 1206) (new)


>
>
> Title: ResultSet.getTime() returns garbage.
> Bug Type: Software bug
> Severity: Critical
> Software Version: Other
> Environment: Version: 1.1.0b1
> Postgres: 7.4.7 on linux
>
> java version "1.5.0_01"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
> Java HotSpot(TM) Server VM (build 1.5.0_01-b08, mixed mode)
>
>
>
> Created By: stephen.crowley at gmail.com
> Description: ResultSet.getTime() returns garbage.
>
> I cannot figure out what exactly it is returning, but it not the current
time.
>
> Status: Submitted
>
>
>
> http://gborg.postgresql.org/project/pljava/bugs/bugupdate.php?1206





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* [Pljava-dev] Re: [PLJAVA] ResultSet.getTime() returns garbage. (ID: 1206) (new)
@ 2005-03-08 15:08  
  parent: 
  0 siblings, 0 replies; 4+ messages in thread

From:  @ 2005-03-08 15:08 UTC (permalink / raw)

Filip Hrbek wrote:

>Thomas,
>you have probably solved the problem, haven't you?
>  
>
Yes. It's in cvs head.

>I added an example & test which allows executing any SELECT statement. This
>function returns set of varchar containing
>column names & classes in the first row
>semicolon-separated values in all other rows
>
>Using this function (executeSelect), I can test how the SPIResultSet works.
>  
>
Ok. Good to have for the future. For this particular bug I added a 
"javatest.getTimeAsString()" function to the examples package that is 
hardcoded to execute a query for current time and return the first row 
of the result as a string.

- thomas




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2005-03-08 15:08 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-03-08 14:43 ` 
2005-03-08 15:02   ` [Pljava-dev] Re: [PLJAVA] ResultSet.getTime() returns garbage. (ID:	1206) (new) 
2005-03-08 15:05 ` 
2005-03-08 15:08   ` 

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox