Creating CMP entity beans from an imported data (Com web hosting)

Creating CMP entity beans from an imported data source Click the Edit Table Reference button to display the Table Reference editor: If the two tables have one or more columns with the same name, the Table Reference editor will show lines drawn between the common columns of the two tables. If no common column names exists, you must draw a line between the columns you want to use to create the relationship. For example, if the Department table had a column called DEPT_NO, and the Employee table had a column called DEPT, you would click and drag from the DEPT_NO column of the Department table to the DEPT column of the Employee table. A line appears between the two columns, indicating the relationship. For many-to-many relationships you need a third table to make the connection between two tables. For example, you might have an Employee table that includes a column named EMP_NO. You might also have a Project table that includes a column named PROJ_ID. By themselves, the two tables have no columns you can use to create a relationship directly. If you had an Employee-Project table that consisted of two columns, EMP_NO and PROJ_ID, you could create a relationship between the Employee and Project table. In this case, in the table reference editor, you would click the Add Cross Table button. From the drop-down list that appears between the two tables, you would select the table that contains the columns to make the connection between the two tables. In this case, you would select the Employee-Project table. Then you would click and drag between the EMP_NO columns of the Employee table and the Employee-Project table, and do the same between the PROJ_ID columns of the Project table: 54 Developing Applications with Enterprise JavaBeans
We strive to offer the highest quality service while maintaining a cheap and discount price structure. For your company, ecommerce, or personal web hosting needs, we offer the best solution.Trust us and please check quality web hosting services.

Leave a Reply