On Fri, 17 Aug 2001, Vincent Harcq wrote:
> Do you want to create these methods inside the Bean ?
> In a Home method ?
home method for sure... something like selectDataByXXX

> Something like @ejb:catalog name="catalogByCountry(Country ctry)"
> type="OrderDetail" query="select * from order where ctry = {1}.getCode()"
if the user provides a method that takes a ResulSet as an argument and
returns a data object, then we can spin off as many of these jdbc queries
as we want...

> That create a Home method ejbHomeCatalogAll()
> And use the jboss:column-name (hum...) to do the mapping automatically to
> the "type" detail object ?  And return a Collection of these Detail
> Object...
something along those lines

to save me replying twice to two emails, I think your point about
round-tripping is the key... I think maybe to break the code up into
appropriate classes.... I often have AccountSQL interface, that contains
all the sql for Account, this could then make it easier for xdoclet to
keep  updateing its bit, and have the ormapper update the sql without
upsetting xdoclet...

anyway, just  trying to think about things atm, and get something simple
together, will let you know when its re somewhat useful...

cheers
dim

> 
> Just an idea, but that would be nice...
> 
> Then complete DAO support for BMP Bean would be nice also...
> 
> 
> >
> > cheers
> > dim
> >
> 
> Vincent
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 



_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to