• Post Reply Bookmark Topic Watch Topic
  • New Topic

CMP- Entity Bean

 
Rama Krishna
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My CMP EJB has the following CMP fields.
public class EmployeeBean implements EntityBean {
public int empID;
public String empName;
private javax.ejb.EntityContext entityContext = null;
final static long serialVersionUID = 3206093459760846163L;
public Address address;
}

Where Address is as follows,
public class Address implements java.io.Serializable {
public java.lang.String houseNo;
public java.lang.String street;
}

Now, how to map Address in database apart from storing as BLOB.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!