Home > Archive > PostgreSQL JDBC > October 2005 > PGInterval setMinutes unrecognize ???









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author PGInterval setMinutes unrecognize ???
andy petrella

2005-10-27, 8:07 am

Hi everybody,

Someone can tell me why I get that error :

symbol : method setMinutes(int)
location: class org.postgresql.util.PGInterval
duree. setMinutes((int)minu
tes);
1 error

when :

PGInterval duree = new PGInterval(); // passed
duree. setMinutes((int)minu
tes); //buzzzzzzzzzzz



I can create new PGInterval but I can use its methods... can't understand
and make me mad !

thx

andy

Dave Cramer

2005-10-27, 8:07 am

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)minu
tes);
> 1 error
>
> when :
>
> PGInterval duree = new PGInterval(); // passed
> duree. setMinutes((int)minu
tes); //buzzzzzzzzzzz
>
>
>
> I can create new PGInterval but I can use its methods... can't
> understand and make me mad !
>
> thx
>
> andy



---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Oliver Jowett

2005-10-27, 8:07 am

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)minu
tes);
> 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

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

andy petrella

2005-10-27, 8:07 am

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...0-313.jdbc2.jar>
8.0-313 JDBC 3<http://jdbc.postgresql.org/download...0-313.jdbc3.jar>
Thx u all.

andy

2005/10/20, Oliver Jowett <oliver@opencloud.com>:
>
> andy petrella wrote:
>
>
> 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)
\**/"""""""\**/"""""""\**/"""""""\**/"""""""\**/

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com