Hi Sven,

it does mean that something went wrong while operating on a LONG. To figure out what 
exactly happens, more details on the culprit insert statement and the target table
would be appreciated (a jdbc trace, for instance).

Thanks
Alexander Schröder
SAP Labs Berlin


> -----Original Message-----
> From: Sven Köhler [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 18, 2003 3:46 PM
> To: [EMAIL PROTECTED]
> Subject: what does [-3041] invalid position mean?
> 
> 
> when i execute an "INSERT table(cols,...) VALUES(?,...) UPDATE 
> DUPLICATES"-statement, i get the following exception, which 
> doesn't help 
> me much.
> 
> what might cause this error?
> 
> com.sap.dbtech.jdbc.exceptions.DatabaseException: [-3041]: 
> Invalid position
>       at 
> com.sap.dbtech.jdbc.packet.ReplyPacket.createException(ReplyPa
> cket.java:69)
>       at 
> com.sap.dbtech.jdbc.ConnectionSapDB.throwSQLError(ConnectionSa
> pDB.java:748)
>       at 
> com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:422)
>       at 
> com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:316)
>       at 
> com.sap.dbtech.jdbc.CallableStatementSapDB.handleStreamsForPut
> val(CallableStatementSapDB.java:1392)
>       at 
> com.sap.dbtech.jdbc.CallableStatementSapDB.execute(CallableSta
> tementSapDB.java:410)
>       at 
> com.sap.dbtech.jdbc.CallableStatementSapDB.execute(CallableSta
> tementSapDB.java:291)
>       at 
> com.sap.dbtech.jdbc.CallableStatementSapDB.executeUpdate(Calla
> bleStatementSapDB.java:697)
> ...
> 
> 
> _______________________________________________
> sapdb.general mailing list
> [EMAIL PROTECTED]
> http://listserv.sap.com/mailman/listinfo/sapdb.general
> 
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to