2. Use the procedure from the export database tables section in chap 24 to export the tables for both the OIDGenerator and TimeSheetGroup EJB module projects. Since the TimeSheetGroup was was generated with the NULLID schema name, you do not want to export the tables using fully qualified names and you want to use a valid database login id.
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Originally posted by Sondra Colagrossi:
I'm trying to run the example servlet.
I'm on page 879 a.2.3 Running the Case Study. I got here from page 96 see Appendix A on loading the workspace containing the examples and the case study.
This paragraph is very confusing. Perhaps it's because I'm jumping from page 96 to 554 to 878. The first sentence says we are trying to export the tables. The second sentence says the the time sheet group was generated with the NULLID, to me this implies a bottom up creation of EJBs. Of course for bottom-up the tables already exist.
When they talk about exporting to a database, in one option they say you can generate some ddl and run it. To me this implies creating the tables.
Page 554 says expand the databases group ... When I do I see two, OIDGen :Sample ( DB2 UD v7.2 ) and TimeSheetGroup:wsbook( DB2 UD v8.1 ). As far as I know only v8.1 is installed on my machine. Where did 7.2 come from? What am I trying to accomplish here anyway?
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
To use this JDBC driver, follow these steps:
In the New Database Connection wizard, type the name of the database connection the Connection name field.
Type the name of the database that you want to connect to in the Database field.
If required, type the user ID and password.
Select DB2 Universal Database from the Database vendor type pull-down list.
Select IBM DB2 App Driver from the JDBC driver pull-down list.
Type COM.ibm.db2.jdbc.app.DB2Driver in the JDBC driver class field.
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
What's that smell? I think this tiny ad may have stepped in something.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|