I try to create a hibernate mapping for an oracle database. The datebase is pretty old from before oracle 8 but is now on 10. Hibernate reverse engineering balks at a long raw column. This datatype is deprecated and should be converted to blob.
But this is not my database. If the customer refuses to convert how would a hibernate mapping look like ?
Try mapping it to byte[]
.
If you get java.sql.SQLException: Stream has already been closed
, then try setting useFetchSizeWithLongColumn = true
in the connection properties for the OJDBC
driver. See the OracleDriver API
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With