Urgent Help !!! Is it compulsory that database table name is "BeanNameEJBTable" when i using Oralce dababase
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   zhi_chou
Posted On:   Tuesday, March 12, 2002 06:08 PM

Is it compulsory that database table name is "BeanNameEJBTable" when deploy it in J2EE 1.3 Server?
But the error is always saying "table or view doesn't exist" .

Can i use another the table name which different from the default one in deploytool.
E.g. my CMP bean name is myBeanEJB (implementation class, ), and i had created table in Oralce with name "myBean", but when i deploy it in server the default table name is "myBeanEJBTable" and the orders of columns are disordered. Need i follow the default sql? it's so much to do? How to solve the problem.

Re: Urgent Help !!! Is it compulsory that database table name is "BeanNameEJBTable" when i using Oralce dababase

Posted By:   Premjith_SunTec  
Posted On:   Wednesday, March 13, 2002 06:25 PM

Hi Zhi,
It is not at all necessary to keep the table name as BeanNameEJBTable.That is the default table name generated by the server,You can replace this table name in the queries with the table name u want i.e myBean.You can reorder and rename the columns as well.
Let me know if you have any problem again
About | Sitemap | Contact