Hi,

It seems you use a JOnAS version 1.x (and not the version 2.0).
Is your entity bean is bean-managed persistence, or container-managed 
persistence ?

In case of CMP, check the mapping definition of the bean fields to 
the columns of the underlying database table in the environment
properties file of the bean which looks like:
datasource.name      jdbc_1 
db.TableName         Account 
db.Field.mAccno      accno 
db.Field.mCustomer   customer 
db.Field.mBalance    balance
A column name may be wrong.

In case of BMP, check the JDBC/SQL statement in the code of the bean.
A column name of a database table may be wrong.

King regards,
H�l�ne.

> Eujene Chung wrote:
> 
> 
> My entitybean run well in ejbCreate() that DB inserted well.
> But error appeared  in using remote method(getXXX(),setXXX()) .
> Here error messege!
> 
> ==========error message====================
> Failed to load bean from database
> java.sql.SQLException: Invalid column name
>         at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:224)
>         at
> oracle.jdbc.driver.OracleStatement.get_column_index(Compiled Code)
>         at
> oracle.jdbc.driver.OracleResultSet.findColumn(OracleResultSet.java:51
> 6)
> ...................................
> 
> No problems in RemoteInterfaceName.txt,
> RemoteInterfaceName.properties!
> What's problem?
> 
> 

-- 
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]    http://www-frec.bull.com
  Phone: 33.4.76.29.73.53          Fax: 33.4.76.29.76.00
 Download our EJB Server JOnAS at http://www.bullsoft.com/ejb
_______________________________________________________________
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to