[jboss-user] [JBoss Portal] - Re: how to insert one more field in jboss database..

bdaw do-not-reply at jboss.com
Sat Nov 18 04:36:38 EST 2006


You can easily place any property value for a user there. Just use User.getProfile() which gives you the Map object that is mapped by hibernate to this table.

user.getProfile().get(User.INFO_USER_SIGNATURE)
user.getProfile().put(User.INFO_USER_TIME_ZONE_OFFSET, timezoneoffset.toString())

just use your own key value. Look at UserPortlet class for examples of use.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987051#3987051

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987051



More information about the jboss-user mailing list