-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: The type java.lang.Object spans multiple columns
PostPosted: Sun Sep 25, 2005 11:52 pm 
Regular
Regular

Joined: Sun Sep 25, 2005 11:35 pm
Posts: 57
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.