Perhaps this venue is biased, but we are seeking to identify that single open source database which will be "best of breed" with bsd/linux and has tghe rosiest future.  In addition, we are seeking an open source programmer for paid assignments.  If interested, include your resume in the body of an email reply.
Michael
----- Original Message -----
Sent: Wednesday, February 06, 2002 8:19 AM
Subject: Maybe a bug

Hi SAP users and developers,
maybe I have found a bug within the jdbc library.
I have built a trigger (see attach) and, when I try to insert a new row that not satisfy the 1st condition, the error thrown is right (SAP DBTech SQL: [-30000] Invalid role in trigger: ROLE_INSERT), but if the new row does not satisfy one of the other conditions, the error thrown is strange (java.lang.StringIndexOutOfBoundsException: String index out of range: 88
        at java.lang.String.<init>(String.java:366)
        at java.lang.String.<init>(String.java:411)
        at com.sap.dbtech.util.StructuredBytes.getString(StructuredBytes.java:203)
        at com.sap.dbtech.util.MemIndirection.getString(MemIndirection.java:81)
        at com.sap.dbtech.jdbc.packet.ReplyPacket.getErrorMsg(ReplyPacket.java:200)
        at com.sap.dbtech.jdbc.packet.ReplyPacket.createException(ReplyPacket.java:45)
        at com.sap.dbtech.jdbc.ConnectionSapDB.throwSQLError(ConnectionSapDB.java:655)
        at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:337)
        at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:272)
        at com.sap.dbtech.jdbc.StatementSapDB.sendCommand(StatementSapDB.java:548)
        at com.sap.dbtech.jdbc.StatementSapDB.sendSQL(StatementSapDB.java:589)
        at com.sap.dbtech.jdbc.StatementSapDB.execute(StatementSapDB.java:164)
        at com.sap.dbtech.jdbc.StatementSapDB.executeUpdate(StatementSapDB.java:295)
        at Client.executeUpdate(Client.java:193)
        at Client.execute(Client.java:157)
        at Client.main(Client.java:141)).
This second error should be equal to the first, but it is not.
The jdbc library I have is the latest I have found in you site, and its date is January 31, 2002.
Could someone reply to me?
Thank you and bye bye.
--------------
Eng. Daniele Bonfatti
Nestech p.s.c. a r.l.
Sede: via Notari 103 - Modena
Uffici : via Salvemini 20 - Modena
Tel.: 059 822 648
Fax.: 059 336 57 31
E-mail:
[EMAIL PROTECTED]

Reply via email to