JdbcOperationsSessionRepository lazy deserialization broken #1411
Labels
in: jdbc
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
The lazy loading work done for #1133 was undone by @vpavic's polish commit b61937d
The key problem is that this working code:
was changed to:
Note that the actual work of deserializing occurs in
getBlobAsObject
which is done outside oflazily
. Also note that nothing is done inlazily
- it just returns a value.getBlobAsObject
must be separated into two methods, one to convert the LOB to bytes and that must be done outside of the lazily, and one to deserialize the bytes to an object which must be done in the lazily.Can b61937d please be reverted?
The text was updated successfully, but these errors were encountered: