I didn't mean to suggest changing the jboss config file.  I just put it
there in case anybody looked for this thread and wanted to know where the
different database declarations were kept (like "Hypersonic SQL" and "MS
SQLSERVER").

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 30, 2002 9:22 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [Xdoclet-user] jboss datasourcemapping and sql server


> -----Original Message-----
> From: Kevin Galligan [mailto:[EMAIL PROTECTED]]
> 
> Sorry.  Nevermind.  They're in the jboss codebase.
> 
> standardjbosscmp-jdbc.xml

I would advise against changing that file, it's just one more file for you
to manage.  Inside you <jboss> task in your build.xml file, add a
'datasource' and 'datasourcemapping' attributes to your subtask:

<jboss datasource="java:/MS_SQL_DS" datasourcemapping="MS SQLSERVER"/>

Now you can configure your application's datasource where you build it,
instead of going to the standardjbosscmp-jdbc.xml file every time.

Michael


================================================================= 
This message contains confidential business information that is 
intended for use only by the individual or entity to whom it is 
addressed.  If you are not the intended recipient, you are hereby 
notified that any disclosure, interception, copying, distribution 
or the taking of any action in reliance on the contents of this 
email is prohibited.  If you received this email in error, please 
notify the sender by forwarding the message back to the sender, 
and then delete the original information from your system. 
================================================================= 




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to