hi,

We are trying to migrate an ejb 2.0 project from Websphere Application Server 6.1 to Jboss 4.2.3.
Our project has used Entity Bean inheritance using Websphere application server. While we are deploying it
in jboss the inheritance entites showing sql exceptions as follows.

Is the entity bean inheritance in ejb 2.0 is supported by jboss application server 4.2?.Please respond as soon as possible.

Thanks in advance

Warm Regards

Jisson Dennis
------------------------------------------------------------------------------------------

Stacktrace

TransactionRolledbackLocalException in method: public abstract boolean com.eyi.core.persistence.ejb2.PersistentEntity.isD eleted(), causedBy:
com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'name'.
at com.microsoft.sqlserver.jdbc.SQLServerException.ma keFromDatabaseError(SQLServerException.java:156)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.ge tNextResult(SQLServerStatement.java:1373)
at com.microsoft.sqlserver.jdbc.SQLServerPreparedStat ement.doExecutePreparedStatement(SQLServerPrepared Statement.java:371)


-------------------------------------------------------------------------------------------------

Base entity
-----------

public abstract class StaffOnProbationBean extends com.eyi.hrms.staff.ejb.StaffLifeCycleStateBean {



public abstract void setHomeJNDIName(String homeJNDIName);

public abstract String getHomeJNDIName();

public abstract java.sql.Date getPlannedEndDate();

public abstract void setPlannedEndDate(java.sql.Date newPlannedEndDate);

public abstract short getNoOfTimesExtended();

public abstract void setNoOfTimesExtended(short newNoOfTimesExtended);

public abstract boolean getLatest();

public abstract void setLatest(boolean newLatest);
}

----------------------------------------------------------------------------------------------
Child Entity
-----------



public abstract class StaffLifeCycleStateBean extends com.eyi.oms.persistence.OrganizationalEntityBean implements javax.ejb.EntityBean {

public void ejbStore()
{
preStore();
}

public abstract java.lang.String getUUID();

public abstract void setUUID(java.lang.String newUUID);

public abstract java.lang.String getName();

public abstract void setName(java.lang.String newName);

public abstract boolean getActive();

public abstract void setActive(boolean newActive);

public abstract java.lang.String getOfficeID();

public abstract void setOfficeID(java.lang.String newOfficeID);

public abstract java.sql.Date getCreatedDate();

public abstract void setCreatedDate(java.sql.Date newCreatedDate);

public abstract java.sql.Date getLastModifiedDate();

public abstract void setLastModifiedDate(java.sql.Date newLastModifiedDate);

public abstract long getOCA();

public abstract void setOCA(long newOCA);

public abstract boolean getDeleted();

public abstract void setDeleted(boolean newDeleted);

public abstract java.sql.Date getStartDate();

public abstract void setStartDate(java.sql.Date newStartDate);

public abstract java.sql.Date getEndDate();

public abstract void setEndDate(java.sql.Date newEndDate);

public abstract java.lang.String getHomeJNDIName();

public abstract void setHomeJNDIName(java.lang.String newHomeJNDIName);

public abstract java.util.Collection getRelations();

public abstract void setRelations(java.util.Collection aRelations);

public abstract com.eyi.hrms.staff.ejb.Staff getStaff();

public abstract void setStaff(com.eyi.hrms.staff.ejb.Staff aStaff);

public com.eyi.core.persistence.PersistentEntityKey ejbCreate()
throws javax.ejb.CreateException
{
return null;
}

public void ejbPostCreate() throws javax.ejb.CreateException
{
}

//public abstract java.lang.String getStaff_uUID();

//public abstract void setStaff_uUID(java.lang.String newStaff_uUID);
}