-->
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.  [ 4 posts ] 
Author Message
 Post subject: setting property value (emergency!)
PostPosted: Tue Mar 23, 2004 4:28 am 
Senior
Senior

Joined: Sun Mar 14, 2004 10:16 am
Posts: 129
Location: Ankara
hello everyone,
I need immediate help..
I got :
...Exception setting property value with CGLIB setter of ...exception
which is because of trying set null value to a primitive typed variable:

void setX(float x)
this.x =x;

When I change it to Float, querying works fine. But that must be something within hibernate, that would help me to use primitive types.

thanks

_________________
-developer


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 23, 2004 4:55 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
This is a FAQ. Use a custom type.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 23, 2004 5:06 am 
Senior
Senior

Joined: Sun Mar 14, 2004 10:16 am
Posts: 129
Location: Ankara
I need to use ""primitive type""

_________________
-developer


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 23, 2004 5:08 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
I know what you need. Please just read the FAQ and stop arguing with me!


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

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.