ahhh, sorry - I see your question now... what you're really asking, is what should you use as datasourcemapping yes? the reason you cant find an answer in xdoclet is that this is really a jboss question... all xdoclet does is create the descriptors - you're asking what should go in it (I think)...
depending on the version of jboss you are using, either look at standard-jaws.xml (2.x) or standard-jbossjdbc_cmp.xml (3.0) and select an appropriate datasourcemapping name from there. once you open that file it should be a little clearer. feel free to ask if this doesn't make sense. cheers dim ----- Original Message ----- From: "Kevin Galligan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 30, 2002 11:10 AM Subject: RE: [Xdoclet-user] jboss datasourcemapping and sql server > I did that, but it failed for the following... > > "jboss: datasource and datasourcemapping (aka. typemapping) must be > specified together, you have only specified datasource." > > The examples show the string "Hypersonic SQL" used as the mapping. I did > some digging, and I can't seem to find a set of mappings to choose from. Is > there a setting like "Microsoft SQL", or does that have to be built > manually? It seems to need one. > > Thanks, > -Kevin > > -----Original Message----- > From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] > Sent: Sunday, September 29, 2002 7:53 PM > To: Kevin Galligan; [EMAIL PROTECTED] > Subject: Re: [Xdoclet-user] jboss datasourcemapping and sql server > > > in JBoss you can set at both the bean level and global level. The easiest > option is obviously to use the global level - to do this, set the datasource > attribute on the jboss subtask. > > hth > dim > > ----- Original Message ----- > From: "Kevin Galligan" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, September 30, 2002 9:40 AM > Subject: [Xdoclet-user] jboss datasourcemapping and sql server > > > > How do I set the datasourcemapping attribute of the jboss tag? The > > "Hypersonic SQL" example is provided, but I don't see any other examples. > > Currently I'm using MS SQL Server as the database. > > > > I guess the larger question is how do I set the datasource for my entity > > beans? Right now I'm trying to set it in the 'datasource' attribute of > the > > jboss tag. Is this correct? I couldn't figure out where else it would > go. > > At my regular job, we use weblogic, and the datasource is set at the bean > > level instead of the global level. > > > > Any help would be greatly appreciated. > > > > Thanks in advance, > > -Kevin > > > > > > ================================================================= > > 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 > > > ================================================================= > 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 ------------------------------------------------------- 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
