Thursday, June 20, 2013

JPA shortage

1. DBMS_METADATA.GET_DDL returns clob instead of string, has to convert the clob to string from Java
For JDBC, getString is enough
2. Query.getResultList returns Object[] if there's more than one column, while it returns Object if there's only one column.
It's inconvenient sometimes. (For example, export the dml from the database)

No comments:

Post a Comment