You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by ookpalm <oo...@gmail.com> on 2011/03/03 04:36:51 UTC

Re: Wicket-Spring Hibernate dao

Thanks everyone. I will go for using the new operator for my domain object
since there is no simple way to inject and it is not really nescessary to
inject bean to object in this case.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Spring-Hibernate-dao-tp3320134p3332713.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket-Spring Hibernate dao

Posted by James Carman <ja...@carmanconsulting.com>.
I believe you want to look into using a factory to create your cats.
You can inject DAOs and whatever you want into your factory.  The
factory would be a spring-managed bean, but the entities wouldn't.

On Wed, Mar 2, 2011 at 10:36 PM, ookpalm <oo...@gmail.com> wrote:
> Thanks everyone. I will go for using the new operator for my domain object
> since there is no simple way to inject and it is not really nescessary to
> inject bean to object in this case.
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Spring-Hibernate-dao-tp3320134p3332713.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org