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 settinguseFetchSizeWithLongColumn = truein the connection properties for theOJDBCdriver. See the OracleDriver API