[Andromda-user] [Newbie corner] [DAO]

2005-07-10 Thread [EMAIL PROTECTED]

You need to draw a dependency from your service to the entity, this will 
generate a getter on your service that allows you to retrieve the DAO instance 
(you don't instantiate the DAO).  Take a look at this page, it describes what 
I'm talking about: 
http://team.andromda.org/docs/andromda-spring-cartridge/howto3.html
--
Chad Brandon - [EMAIL PROTECTED]

http://www.andromda.org
_
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2315#2315
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user


[Andromda-user] [Newbie corner] [DAO]

2005-07-10 Thread debsouzac

Thanks ! I finally used getEntityDao at the service class. But how i get the 
return of this method on the controller class or it is just necessary one of 
the classes (service/controller) ?



[]

Debora
_
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2317#2317
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user


[Andromda-user] [Newbie corner] [DAO]

2005-07-10 Thread [EMAIL PROTECTED]

Draw a dependency from the controller to the service and you'll have a 
"get" accessor generated on the controller, then you can call any 
of the service operations from that service accessor.
--
Chad Brandon - [EMAIL PROTECTED]

http://www.andromda.org
_
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2319#2319
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user


[Andromda-user] [Newbie corner] [DAO]

2005-07-10 Thread debsouzac

Thanks a lot , Chad !  :D
_
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2328#2328
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user


[Andromda-user] [Newbie corner] [DAO] DAO

2005-07-10 Thread debsouzac

Hi all !

I'm trying to implement a query.

I 'm using a service class ,  a controller class and  a entity class.

The entity class has a query in OCL and works fine and the DAOs were generated 
with no problems.. but

The question is:

I would like to call this query and i don't where I do it: the implementation 
of controller class or the service class ?

How do i use the dao ?

I've tried to instanciate the implementation of the DAO but i've got an error: 
org.springframework.orm.hibernate.support.HibernateDaoSupport 



Thanks for any idea.



[]
_
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2312#2312
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user