Hi Folks
we have a java application using hibernate ORM mapper on top of db2
UDB v9. we are using type 4 jdbc drivers for connections.
Now the issue is we have a table with BLOB column and when you issue
a query against this table, all the blob data are fetched into JVM
memory. Needless to say this does not look like a scalable design. You
can set some properties on db2 jdbc driver
(fullymaterializelobData=false) to stream the lobs instead of fetching
them in memory.
I looked up the hibernate docs and it looks like i can pass customized
properties using hibernate.connection.<propertyNameto turn off this
behavior. (http://www.hibernate.org/hib_docs/re.../html/session-
configuration.html)
Question is how do I verify that JDBC driver is honoring this property
(what I set from hibernate config) ? where are the driver logs kept
that tell me the values of all properties being used? Or do I have to
turn the JDBC trace for my session?
tia and regards
- rajeev.