One of my tables has a column of type ROWID in my Oracle database. If I omit mapping this column, I can get result list, however, iterating the list to retrieve list elements throws NullPointException - all elements are null. If I map the column as type="rowid", and in my JavaBean I use Long type for this field, I get Hibernate Configuration Error - "Could not determine type for: rowid, for columns: [org.hibernate.mapping.Column(SEQUENCE_NUM)]". I am using Hibernate3.
Anybody has experience of mapping ROWID columns? Any help is greatly appreciated.
|