aspose file tools*
The moose likes Object Relational Mapping and the fly likes out of range error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "out of range error" Watch "out of range error" New topic
Author

out of range error

Sundar Murthi
Ranch Hand

Joined: Mar 05, 2004
Posts: 209
Hi..

i am using oracle 9i and hibernate. Using ant script i am executing the .hbm.xml file. it throws an error like this..


i am exceuted this create table .... in oracle console i am getting the same error.

how can i change the numeric size level in hibernate?
ie 255 to less than 127.

help me plz
[ September 28, 2004: Message edited by: Sundar Murthi ]
Sundar Murthi
Ranch Hand

Joined: Mar 05, 2004
Posts: 209
any way to change the size of the number through hibernate

urgent plz
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


how can i change the numeric size level in hibernate

The restriction isn't Hibernate, its Oracle. Which version of Hibernate/Oracle are you using? And can you post how you are mapping the ai_pricecomponent property?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Sundar Murthi
Ranch Hand

Joined: Mar 05, 2004
Posts: 209
Hi

i am using oracle9i and hibernate2

this is my pricecomponent.hbm.xml file

:roll:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: out of range error