Hibernate custom type to avoid 'Caused by: java.sql.SQLException: Stream has already been closed'

前端 未结 4 1294
小蘑菇
小蘑菇 2021-02-14 02:40

How do I write a custom Long class to handle long values in Oracle, to avoid the following error?

Caused by: java.sql.SQLException: Stream has already bee

4条回答
  •  情深已故
    2021-02-14 03:05

    This happens in a query of system tables:

    SELECT * FROM all_tab_columns
    WHERE owner = 'D_OWNER' AND COLUMN_NAME LIKE 'XXX%';
    

提交回复
热议问题