The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2000

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:

database connection for ejb.....

Posted by abcd on November 23, 2000 at 10:14 PM

i am working on j2ee ejb server which is installed on my machine. The database is on a remote machine. The problem i am facing is that during the creation of entity beans(bean managed persistence) when trying to connect to database using DriverManager.getConnection(), i get an exception stating that no suitable driver found. However if i do the same thing from a simple java program then it is able to connect to database and get values. Could any one please enlighten.....

thanx in advance
abcd



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us