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:
> IN EJB Bean Managed Persistence, I want to use MS-ACCESS database( not Cloudscape) using sun.jdbc.odbc.JdbcOdbcDriver driver.How can I go ahead with this,Please give all steps. > DO REPLY > Thankx
I am attaching this code for the getConnection Method for the BMP Bean private Connection getConnection() throws SQLException
this line is actually doing the job getting the connection pool You set this in the weblogic properties file search for #weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.demoPool=demoPool and replace it with weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.accessPool=demoPool demopool is the name of ur Access connection pool name.which u can write by changing the demo pool in th properties file. weblogic.jdbc.connectionPool.demoPool=\ where in the url demo is the odbc driver name set for MS Access BD. i hope this would be sufficient and would solve ur doubt
Replies:
|
Sponsored Links
|