Hi,

thanx for that hint. I tried that before, but it will only help when i e.g.  
return new Integer(10);

My problem is related to the user. I store the user with 
sessionContext.set("currentUser", user); and i tried to Outject the 
currentUser. In the first view the age is calculated properly, but when i 
reload the page, the birthdate is changed to the actual timestamp!!! I dont 
understand why.
My birthday-attribute in my User.java enitiy EJB
@NotNull
  | @Column(name="USER_BIRTHDATE")
  | @Temporal(TemporalType.TIMESTAMP)
  | @Type(type="calendar")
  | public Calendar getBirthdate() {
  |     return birthdate;
  | }

I am going crazy! Cannot understand that! All other attributes are returned 
properly, only the birthdate value is changed! Any hints for a bemused 
developer???

Thanx.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to