Hi Naresh,
 You can make the required database default for the user which you are using
to solve the problem.

 thanks
 Bijender

> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Naresh Sharma
> Sent: Thursday, July 06, 2000 5:23 AM
> To: [EMAIL PROTECTED]
> Subject:
>
>
> hello friends,
>
> First of all excuse me for putting a question related
> to weblogic on this mailing list, but i have the
> problem that there is not any mailing list
> specifically for weblogic and my machine could not
> access the newsgroups.
>
>
>         anyway, I am using weblogic jDriver for MS SQL Server
> 7.0 and name of the table used is 'registration' and
> its in the 'AuctionINJava' database.
>
>         now i am facing problem that how can i tell the
> weblogic server that my table is in the
> 'AuctionINJava' database. it searches through the
> 'master' database which is the default database in the
> MS SQL Server.
>
> my weblogic-cmp-rdbms-jar.xml contains the following
> data :
>
> <!DOCTYPE weblogic-rdbms-bean PUBLIC
>  "-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB RDBMS
> Persistence//EN"
>
> "http://www.bea.com/servers/wls510/dtd/weblogic-rdbms-persistence.dtd">
> <weblogic-rdbms-bean>
>   <pool-name>AuctionPool</pool-name>
>   <table-name>registration</table-name>
>   <attribute-map>
>     <object-link>
>       <bean-field>pass</bean-field>
>       <dbms-column>password</dbms-column>
>     </object-link>
>     <object-link>
>       <bean-field>member_id</bean-field>
>       <dbms-column>user_id</dbms-column>
>     </object-link>
>   </attribute-map>
>   <finder-list>
>   </finder-list>
>   <options>
>     <use-quoted-names>false</use-quoted-names>
>   </options>
> </weblogic-rdbms-bean>
>
>
> any clue ??
>
>
> Thanks
> Naresh
>
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
> ==================================================================
> =========
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to