Tnx for your attention I'll wait for the fix. Br Raffaele -----Messaggio originale----- Da: Fabian Groffen [mailto:Fabian.Groffen@cwi.nl] Inviato: venerdì 2 febbraio 2007 15.30 A: Verre Raffaele Cc: monetdb-users@lists.sourceforge.net Oggetto: Re: [MonetDB-users] Problem using MonetDB Hi Raffaele, On 02-02-2007 12:11:30 +0100, Verre Raffaele wrote:
String insert="INSERT INTO MYTABLE VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,? , ?,?,?)";
ps=connMonetDB.prepareStatement(insert);
while (rs.next() ){
...
ps.setLong(38,rs.getLong(38));
ps.execute();
Your program looks correct to me. We identified the real problem, which is in the server. It doesn't like the number of arguments of the PreparedStatement. We're looking into a fix for the moment. Sorry for the inconvenience!