Hello,
I was able to create my first CMP2.0 Entity Bean, StudentBean. I am using
J2EE RI server. When I deployed my EJB, and clicked on "Generate Default SQL..." (under Deployment Settings), various SQL statments were generated. These are SQL statements for createTable/createRow/etc methods; these SQL statements used "StudentBeanTable" as the table name.
Questions:
1. I created a "Student" table using Cloudscape ISQL, is there a way to tell RI to use this "Student" table instead, or RI automatically uses "<bean class>Table" (eg, StudentBeanTable) as the table name? Is this a limiation of RI?
2. I understand that <abstract-schema-name> is used/referenced within EJB-QL. I entered "StudentTest" in <abstract-schema-name>, I wonder why my application still worked.
3. I changed the deployment setting such that "Delete table on undeploy" is unchecked. After successfully creating an entity in StudentBeanTable, I went to Cloudscape ISQL, tried querying this table, but this table doesn't even exist.
Can somebody provide assistance? Thank you.
Regards,
Joanne T.
[ March 08, 2005: Message edited by: Joanne Thompson ]