Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
10.3.3.0, 10.4.1.3, 10.5.3.0, 10.6.1.0
-
Mac OSX 10.4
JDK 1.5.0_13
Hibernate EntityManager 3.2.1
-
Normal
-
Known fix, Repro attached
-
Regression
Description
Derby + Hibernate JPA 3.2.1 problem on entity with Blob/Clob
Hi,
I'm using Derby in Client - Server mode with Hibernate JPA EJB 3.0.
When a query on an entity containing a Clob and some joins on other entites is executed, an exception with the following message is thrown:
XJ073: The data in this BLOB or CLOB is no longer available. The BLOB/CLOB's transaction may be committed, or its connection is closed.
This problem occurs when the property "hibernate.max_fetch_depth" is greater than 0.
When hibernate.max_fetch_depth=0, the query works.
If Derby is configured in embedded mode, the query works independently of the value of hibernate.max_fetch_depth.
On the Hibernate's documentation, the advised value of hibernate.max_fetch_depth is 3.
Could you explain me if I made something wrong ?
Thank you.
Stephane
Attachments
Attachments
Issue Links
- is related to
-
DERBY-2111 EOFException when using stream as parameter for multi-row update statement in embedded driver
- Open
-
DERBY-2892 Closing a resultset after retrieving a large > 32665 bytes value with Network Server does not release locks
- Closed
-
DERBY-4520 Refactor and extend data type cloning facilities
- Closed