I have an entity bean that extends another entity bean. All is fine until about 
10 minutes of inactivity in the session.

So, I log in to our app and let the session sit idle for 10 minutes. At that 
time, the values in the superclass all become null. The values in the subclass 
have not changed.

What would cause this? The session timeout is set to 30 minutes, so there is no 
issue there. I've turned on the maximum logging I can and nothing is logged 
during that 10 minutes. Why would the superclass values become null?

thanks,
tglaess

Here are some code snippets from the two classes:

@Entity
@Table(name = "user")
@Inheritance(strategy=InheritanceType.JOINED)

public class UserBean {

@Id
@Column(name = "UserID")
protected BigDecimal userID;

@Column(name = "UserName", nullable = false)
protected String userName;

@Column(name = "Password", nullable = false)
protected String password;

...

@Entity
@Table(name = "dealeruser")
@PrimaryKeyJoinColumn(name="UserID",referencedColumnName="UserID")

public class DealerUserBean extends UserBean implements Serializable {
...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043328
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to