Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

out of range error

 
Sundar Murthi
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any way to change the size of the number through hibernate

urgent plz
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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?
 
Sundar Murthi
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

i am using oracle9i and hibernate2

this is my pricecomponent.hbm.xml file

:roll:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic