>From within the DAO...you can call getHibernateTemplate()...that thing has a
bunch of operations for hibernate.

-----Original Message-----
From: Bernard Sirius [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 07, 2005 10:23 PM
To: Chad Brandon
Subject: RE: [Andromda-user] spring cartridge: no EJB Session Beans

yes! great. Now everything's rightly generated. Only:
if I may: how do I access the hibernate session from
with the Implementation?

bernard

--- Chad Brandon <[EMAIL PROTECTED]> wrote:

> It should be in your mda/project.xml....for the
> andromda-spring-dependency,
> if it's not in there then I'm baffled as to how it's
> generating session EJB
> support...can you attach your mda/project.xml?
> 
> -----Original Message-----
> From: Bernard Sirius
> [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 07, 2005 10:13 PM
> To: Chad Brandon
> Cc: andromda_users
> Subject: RE: [Andromda-user] spring cartridge: no
> EJB Session Beans
> 
> I haven't specified this and it is (as stated)
> neither
> present by default in either mda's
> project.properties
> or core's project.properties.
> 
> however, there is a default.provider=EJB property
> set
> for web services (which I don't use at present)
> which
> might affect things here.
> 
> any idea?
> 
> bernard
> 
> --- Chad Brandon <[EMAIL PROTECTED]> wrote:
> 
> > 
> > If you don't want session beans, it's very simple,
> > just take out the
> > "session-ejbs" namespace properties and no ejb
> > support will be generated.
> > 
> >
>
http://team.andromda.org/docs/andromda-spring-cartridge/namespace.html#sessi
> > on-ejbs
> > 
> > 
> > Chad
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> > On Behalf Of Bernard
> > Sirius
> > Sent: Monday, February 07, 2005 9:58 PM
> > To: [email protected]
> > Subject: [Andromda-user] spring cartridge: no EJB
> > Session Beans
> > 
> > (I miss a good sample application with this
> > cartridge)
> > 
> > I want to create services with the spring
> cartridge
> > but I also absolutely want to avoid generating
> > anything related to EJB technology.
> > 
> > Without anything specified about the target
> session
> > technology, I end up with 4 java source files for
> my
> > service: 
> > CoreFacade
> > CoreFacadeBean
> > CoreFacadeHome
> > CoreFacadeImpl
> > 
> > how to avoid this mess?
> > 
> > bernard
> > 
> > 
> >             
> > __________________________________ 
> > Do you Yahoo!? 
> > Yahoo! Mail - now with 250MB free storage. Learn
> > more.
> > http://info.mail.yahoo.com/mail_250
> > 
> > 
> >
>
-------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT
> > Products from real users.
> > Discover which products truly live up to the hype.
> > Start reading now.
> >
>
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > _______________________________________________
> > Andromda-user mailing list
> > [email protected]
> >
>
https://lists.sourceforge.net/lists/listinfo/andromda-user
> > 
> > 
> > 
> > 
> >
>
-------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT
> > Products from real users.
> > Discover which products truly live up to the hype.
> > Start reading now.
> >
>
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > _______________________________________________
> > Andromda-user mailing list
> > [email protected]
> >
>
https://lists.sourceforge.net/lists/listinfo/andromda-user
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
> 
> 



                
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to