hello * (esp. the JDBC guys at SAP)!

i recently had a look at the JDBC driver because i wanted the ValueOverflow exception to tell me how much space is available and how much was attempted to write. anyone cares for a patch ?

however, for that i had to recompile the driver. first, the messages.properties are not part of the source distribution. i think this is a bug in the built.xml. unfortunately i am too stupid to spot that error (and my ant 1.4.1 isnt good enough, too it seems).

because of the missing messages the driver NullPointers when it throws an exception. looking in MessageTranslator.java i see that it should throw a MissingResourceExcpetion but that one is caught and disabled resulting in the NullPointer (line 134 in translate()). i think the obvious fix would be to remove the try {} block in getMessages(). this would make the MissingResourceException be shown to the user.

should i send patches ?

--
Raimund Jacob
\|/ ____ \|/
Pinuts Media+Science GmbH "@'/ ,. \`@"
Potsdamer Str. 96 /_| \__/ |_\
D-10785 Berlin \__U_/
http://www.pinuts.de/ voice: +49 30 590090322 fax: +49 30 590090390

_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to