Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Websphere HelloWorld EJB Example

Status
Not open for further replies.

dogbart

Technical User
Sep 9, 2003
1
US
I'm trying to get the Websphere HelloWorld example to work.

I get an error accessing the database. The error is:

COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT]
SQL0204N "HELLOWORLD.HELLOWORLD" is an undefined name

I created a backend EJB to RDB mapping when I was creating the HelloWorldEntity bean.
I've modified the .mapxmi, .dbxmi, .schxmi, .tblxmi files in an attempt to match
my environment (instance=DB2, DB=Sample, Table=HelloWorld).

The files now show SAMPLE.HELLOWORLD but the error still references HELLOWORLD.HELLOWORLD.

Could someone explain how I should set this up to work for my existing table & where is
Websphere picking up the value when trying to hit the database?
(e.g. Where are the DB & Table references coming from)

I assume my data source is ok but I need to get this figured out first.

Any help is appreciated
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top