What is the Diff between "byte[] v1;" and "byte [] v1;" ?
Viswanathan Ramasamy
Greenhorn
Joined: Nov 14, 2005
Posts: 23
posted
0
I'm creating a prepared statement for oracle using java. I want to convert the attribute to BLOB type. Wherein if I have my attribute as byte[] it is converting it to "java.sql.other" type, This worked properly when i gave the declaration as byte [](there is a space btwn byte and []). Could you please tell me what is the diff btwn these two stmt.
With Regards<br />Viswa
Jeroen T Wenting
Ranch Hand
Joined: Apr 21, 2006
Posts: 1847
posted
0
sounds like a bug in the JDBC driver, or else there's something Oracle specific I'm not privy to.
42
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
posted
0
There is no difference between byte[] and byte [], as far as I know. I'm sure the reason must be something else.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Ernest Friedman-Hill
author and iconoclast
Marshal