neat though.
Also contructor injection is another solution.
Thanks :)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4471238.html
Sent from the Tapestry - User mailing list archive at Nabble.com
.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4471238.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
:
http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4467009.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4467047.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail
Hi,
Which inject annotation are you using? Chances are that you use the javax
annotation that will be supported in 5.3
G, Kris
Am 2011 6 8 08:06 schrieb ael alan-lua...@dash.com.ph:
No, i did not use javax.
Its
import org.apache.tapestry5.ioc.annotations.Inject;
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4467432.html
Sent from the Tapestry - User mailing list archive at Nabble.com
:
http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4467432.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
TbGuestDAOHibernate();
dao.setSessionManager(sessionManager);
return dao;
}
}
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4468053.html
Sent from the Tapestry - User mailing list archive at Nabble.com
-within-a-DAO-causes-NPE-tp4467009p4468053.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h
On Wed, 08 Jun 2011 04:20:02 -0300, ael alan-lua...@dash.com.ph wrote:
public static AuthenticationDAO buildAuthenticationDAO(
@InjectService(HibernateSessionManager) HibernateSessionManager
sessionManager)
{
AuthenticationDAOHibernate dao = new
I always make life complicated.
Well just inject the DAO within pages. problem solved.
But still i want to make my page class neat though.
Also contructor injection is another solution.
Thanks :)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO
.
Also contructor injection is another solution.
Thanks :)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4471238.html
Sent from the Tapestry - User mailing list archive at Nabble.com
12 matches
Mail list logo