I think the type mapping should be an mbean. It's kind of data only, but thus pretty simple.
david jencks On 2002.07.24 13:11:50 -0400 JD Brennan wrote: > What I'd really like would be a way to put > the type mappings in the -service.xml file > that defines my pool. That way I don't need > to have a different jar for every > database that I support, that is exactly the > same except for the jbosscmp-jdbc.xml file. > > Seems to me that the EJB jar should specify > the JDBC types and the mapping should be in > the service file where I define the pool and > specify MySQL or MS SQL Server or whatever. > > JD > > -----Original Message----- > From: Binil Thomas [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 23, 2002 8:57 PM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Type mappings > > > On Wed, 24 Jul 2002, Dimitri PISSARENKO wrote: > > > Is it possible to place the type mappings only into the jaws.xml file > > of EJB jar file ? > > Yes. And probably that is the better solution, because that way your > beans > can be deployed safely onto any compatible JBoss installation, even > though > the administrator of that server would have tweaked with the > type-mappings > in the configuration files. > > - Binil > > -- > And did they get you to trade your heroes for ghosts? Hot ashes for > trees? Hot air for a cool breeze? Cold comfort for change? And did you > exchange a walk on part in the war for a lead role in a cage? - PF > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> > <HTML> > <HEAD> > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> > <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12"> > <TITLE>RE: [JBoss-user] Type mappings</TITLE> > </HEAD> > <BODY> > > <P><FONT SIZE=2>What I'd really like would be a way to put</FONT> > <BR><FONT SIZE=2>the type mappings in the -service.xml file</FONT> > <BR><FONT SIZE=2>that defines my pool. That way I don't need > </FONT> > <BR><FONT SIZE=2>to have a different jar for every</FONT> > <BR><FONT SIZE=2>database that I support, that is exactly the</FONT> > <BR><FONT SIZE=2>same except for the jbosscmp-jdbc.xml file.</FONT> > </P> > > <P><FONT SIZE=2>Seems to me that the EJB jar should specify</FONT> > <BR><FONT SIZE=2>the JDBC types and the mapping should be in</FONT> > <BR><FONT SIZE=2>the service file where I define the pool and</FONT> > <BR><FONT SIZE=2>specify MySQL or MS SQL Server or whatever.</FONT> > </P> > > <P><FONT SIZE=2>JD</FONT> > </P> > > <P><FONT SIZE=2>-----Original Message-----</FONT> > <BR><FONT SIZE=2>From: Binil Thomas [<A > HREF="mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]</FONT> > <BR><FONT SIZE=2>Sent: Tuesday, July 23, 2002 8:57 PM</FONT> > <BR><FONT SIZE=2>To: [EMAIL PROTECTED]</FONT> > <BR><FONT SIZE=2>Subject: Re: [JBoss-user] Type mappings</FONT> > </P> > <BR> > > <P><FONT SIZE=2>On Wed, 24 Jul 2002, Dimitri PISSARENKO wrote:</FONT> > </P> > > <P><FONT SIZE=2>> Is it possible to place the type mappings only into > the jaws.xml file</FONT> > <BR><FONT SIZE=2>> of EJB jar file ?</FONT> > </P> > > <P><FONT SIZE=2>Yes. And probably that is the better solution, because > that way your beans</FONT> > <BR><FONT SIZE=2>can be deployed safely onto any compatible JBoss > installation, even though</FONT> > <BR><FONT SIZE=2>the administrator of that server would have tweaked with > the type-mappings</FONT> > <BR><FONT SIZE=2>in the configuration files.</FONT> > </P> > > <P><FONT SIZE=2>- Binil</FONT> > </P> > > <P><FONT SIZE=2>-- </FONT> > <BR><FONT SIZE=2>And did they get you to trade your heroes for > ghosts? Hot ashes for</FONT> > <BR><FONT SIZE=2>trees? Hot air for a cool breeze? Cold comfort for > change? And did you</FONT> > <BR><FONT SIZE=2>exchange a walk on part in the war for a lead role in a > cage? - PF</FONT> > </P> > <BR> > <BR> > > <P><FONT SIZE=2>-------------------------------------------------------</FONT> > <BR><FONT SIZE=2>This sf.net email is sponsored by:ThinkGeek</FONT> > <BR><FONT SIZE=2>Welcome to geek heaven.</FONT> > <BR><FONT SIZE=2><A HREF="http://thinkgeek.com/sf" > TARGET="_blank">http://thinkgeek.com/sf</A></FONT> > <BR><FONT SIZE=2>_______________________________________________</FONT> > <BR><FONT SIZE=2>JBoss-user mailing list</FONT> > <BR><FONT SIZE=2>[EMAIL PROTECTED]</FONT> > <BR><FONT SIZE=2><A HREF="https://lists.sourceforge.net/lists/listinfo/jboss-user" > TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/jboss-user</A></FONT> > </P> > > </BODY> > </HTML> > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user