Subject | Re: setObject on prepared statement |
---|---|
Author | Roman Rokytskyy |
Post date | 2003-09-15T19:02:52Z |
> When I create an preparedStatementNot possible. According to the specification driver is not supposed to
> and I want to setObject (Object X)
> why JayBird is trying to guess what is the type of the Object
> I saw a long case with many guesses as Integer, String, etc.
> I want ot to serialize the Object.
> I am writing to binary LOB column?
> How to switch the guess off?
serialize content. However, all java.lang.* objects should lead to the
same result as using corresponding setter methods.
Serialization/deserialization in driver is not desirable also because
serialized class can be unavailable in the classloader of the driver.
Such situation happens if you put driver classes in web server's lib/
directory and class to serialize is in web application's lib/
directory.
Roman