-->
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: Emedded Object- Property access
PostPosted: Fri Jun 01, 2007 1:24 pm 
Newbie

Joined: Fri Jun 01, 2007 1:16 pm
Posts: 1
Does Hibernate( I downloaded the latest one yesterday -May,31,2007) not support mapping a column to getter/setter methods in embedded object?

Following code makes toplinks-essentials essentials include the mapping but
Hibernate completely ignores it, i.e does not put it in the generated insert statement.


/**
* Returns lower-case string containing email address.
* Never returns null.
**/
@Column(name="USER_NAME")
public String getLowerCaseUserName() {
return getValue().toLowerCase();
}

public void setLowerCaseUserName(String uname) {
_userName=uname.toLowerCase();
}


Thanks,
Anurag


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.