I am trying to reverse engineer an Oracle Schema using Hibernate Tools 3.1.0.alpha5. However I am getting the following error:
Code:
org.hibernate.cfg.JDBCBinderException:The type java.lang.Object spans multiple columns. Only single column types allowed for single columns.
I found a JIRA issue (HBX-396) regarding this error which suggests that I may be using Oracle specific types. So I narrowed my reverse engineering to just one simple table. It is shown below:
Code:
create table CONTRACT (
ID NUMBER(19) not null,
BEG_DATE TIMESTAMP(3) not null,
END_DATE TIMESTAMP(3) not null,
primary key (ID)
);
I am still getting the same error. Any guidance on what could be going wrong?