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 <ookp...@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-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org