Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
hi raji, i have not mapped anything to the property file. All i have done is try to connect to the database as u would normally do if u wrote a java program. I do this in setentitycontext(). Later in ejbcreate() i just execute an insert statement. All this is fine in the sense that the bean is successfully compiled and even deployed. the problem arises when a client tries to create the bean. I have debugged the bean code at runtime and (putting println statements) and found the bean's setentitycontext is being called successfully by the client program and that when the getconnection() method is called, it gives driver not found exception.....However the same driver (jdbc-odbc brige) is able to retrieve data when used in a normal java program. What could be the problem???? thanx again Replies:
|
Sponsored Links
|