Just a small update.
I verified that the actual type of the ROWID column is String, and not Int, as Hibernate seems to think. In one case, it was a value like "AAAWM9AALAAAEJKAAC".
I searched through the Hibernate source for anything that might indicate what type it thought "ROWID" would be, and the only thing that came close was line 100 in "Oracle9Dialect.java", which is this:
registerFunction( "rowid", new NoArgSQLFunction("rowid", Hibernate.LONG, false) );
That refers to LONG, not INTEGER, so this is likely unrelated.
I'm out of ideas here.
|