Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Unwanted Integer to Boolean Conversion While Mapping
PostPosted: Fri Jul 27, 2012 8:14 am 
Newbie

Joined: Wed Feb 03, 2010 11:51 am
Posts: 2
Hi everybody,

I'm using Hibernate Annotations with Eclipse Juno+Hibernate Plugin. As far as I'm concerned it is really good, except one issue :| I had some attributes in my database (PL SQL) with the type Numeric(1). After running code generation configurations, I realized it converted all my those kind of types to boolean :O I want them to stay as byte, short or whatever but integer. I don't know whether it's a common problem or somehow my mistake, but would be appreciated if you help me to solve.

Regards.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 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.