Using CMP BEAN I am not able to retrieve data without creating a row in the existing tables. Basically the problem is : if any row has not been created using CMP then Jboss shows SQL Server ODBC error [ INVALID DESCRIPTOR INDEX ] when it invokes any of the finder methods. May be finder methods is not able to return the remote interface or Enumerated type. Which I believe O/R mapping problem in jboss. How to solve ?