pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedPGInterval setMinutes unrecognize ???
4+ messages / 3 participants
[nested] [flat]
* PGInterval setMinutes unrecognize ???
@ 2005-10-19 23:32 andy petrella <andy.petrella@gmail.com>
0 siblings, 2 replies; 4+ messages in thread
From: andy petrella @ 2005-10-19 23:32 UTC (permalink / raw)
To: pgsql-jdbc
Hi everybody,
Someone can tell me why I get that error :
symbol : method setMinutes(int)
location: class org.postgresql.util.PGInterval
duree.setMinutes((int)minutes);
1 error
when :
PGInterval duree = new PGInterval(); // passed
duree.setMinutes((int)minutes); //buzzzzzzzzzzz
I can create new PGInterval but I can use its methods... can't understand
and make me mad !
thx
andy
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: PGInterval setMinutes unrecognize ???
@ 2005-10-19 23:59 Dave Cramer <pg@fastcrypt.com>
parent: andy petrella <andy.petrella@gmail.com>
1 sibling, 0 replies; 4+ messages in thread
From: Dave Cramer @ 2005-10-19 23:59 UTC (permalink / raw)
To: andy petrella <andy.petrella@gmail.com>; +Cc: pgsql-jdbc
What is the error? It should work.
Dave
On 19-Oct-05, at 7:32 PM, andy petrella wrote:
> Hi everybody,
>
> Someone can tell me why I get that error :
>
> symbol : method setMinutes(int)
> location: class org.postgresql.util.PGInterval
> duree.setMinutes((int)minutes);
> 1 error
>
> when :
>
> PGInterval duree = new PGInterval(); // passed
> duree.setMinutes((int)minutes); //buzzzzzzzzzzz
>
>
>
> I can create new PGInterval but I can use its methods... can't
> understand and make me mad !
>
> thx
>
> andy
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: PGInterval setMinutes unrecognize ???
@ 2005-10-20 01:31 Oliver Jowett <oliver@opencloud.com>
parent: andy petrella <andy.petrella@gmail.com>
1 sibling, 1 reply; 4+ messages in thread
From: Oliver Jowett @ 2005-10-20 01:31 UTC (permalink / raw)
To: andy petrella <andy.petrella@gmail.com>; +Cc: pgsql-jdbc
andy petrella wrote:
> Someone can tell me why I get that error :
>
> symbol : method setMinutes(int)
> location: class org.postgresql.util.PGInterval
> duree.setMinutes((int)minutes);
> 1 error
Check that you have the right driver in your compilation classpath; that
method was only introduced recently, perhaps you are compiling against
an older driver.
-O
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: PGInterval setMinutes unrecognize ???
@ 2005-10-20 16:04 andy petrella <andy.petrella@gmail.com>
parent: Oliver Jowett <oliver@opencloud.com>
0 siblings, 0 replies; 4+ messages in thread
From: andy petrella @ 2005-10-20 16:04 UTC (permalink / raw)
To: pgsql-jdbc
Thx,
It's what I guest but which jdbc may I use ?
'cause right now I'm using those one
8.0-313 JDBC 2<http://jdbc.postgresql.org/download/postgresql-8.0-313.jdbc2.jar;
8.0-313 JDBC 3<http://jdbc.postgresql.org/download/postgresql-8.0-313.jdbc3.jar;
Thx u all.
andy
2005/10/20, Oliver Jowett <oliver@opencloud.com>:
>
> andy petrella wrote:
>
> > Someone can tell me why I get that error :
> >
> > symbol : method setMinutes(int)
> > location: class org.postgresql.util.PGInterval
> > duree.setMinutes((int)minutes);
> > 1 error
>
> Check that you have the right driver in your compilation classpath; that
> method was only introduced recently, perhaps you are compiling against
> an older driver.
>
> -O
>
--
/**\_____/**\_____/**\_____/**\_____/**\
] Signature :
] Andy Petrella
] Rue dessous l'église, 17
] 4450 Slins
] mail: andy.petrella@gmail.com
] <licencié en math, info>
] dea S.I.G. (2005-2006)
\**/"""""""\**/"""""""\**/"""""""\**/"""""""\**/
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2005-10-20 16:04 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-10-19 23:32 PGInterval setMinutes unrecognize ??? andy petrella <andy.petrella@gmail.com>
2005-10-19 23:59 ` Dave Cramer <pg@fastcrypt.com>
2005-10-20 01:31 ` Oliver Jowett <oliver@opencloud.com>
2005-10-20 16:04 ` andy petrella <andy.petrella@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox