Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: JDBC Driver setObject() converts empty string to NULL
Hmm... Not exactly clear what the problem is, but I'll try:
in Oracle, empty strings *are* NULLs. This is known and
documented behavior. setString() or setObject() probably
convert empty strings to NULLs because they are the
same thing in Oracle. You need to code for this behavior
as it can't be turned off.
Corrections and additions welcome.
Hth,
Vladimir M. Zakharychev
N-Networks, makers of Dynamic PSP(tm)
http://www.dynamicpsp.com
Received on Tue May 30 2006 - 13:10:23 CDT
![]() |
![]() |