Re: [5.1.0.5] Ars-Machina - No service Implements the interface org.hibernate.SessionFactory

2009-05-26 Thread Antonio Fernández
Thiago H. de Paula Figueiredo escribió: Em Mon, 25 May 2009 12:43:17 -0300, Antonio Fernández amiguel.fernan...@gmail.com escreveu: Hi again, Hi! * org.hibernate.HibernateException: No CurrentSessionContext configured! The suggested way is to override getSession() to

[5.1.0.5] Ars-Machina - No service Implements the interface org.hibernate.SessionFactory

2009-05-25 Thread GMAIL1
Hi all , I´m trying to use te modules Ars-Machina generic-dao generic-dao-hibernate, but i´m getting the following message : * No service implements the interface org.hibernate.SessionFactory* I attach my current pom.xml, the following are the unique dependencies from the ars-machina

Re: [5.1.0.5] Ars-Machina - No service Implements the interface org.hibernate.SessionFactory

2009-05-25 Thread Thiago H. de Paula Figueiredo
On Mon, May 25, 2009 at 6:58 AM, GMAIL1 amiguel.fernan...@gmail.com wrote: Hi all , Hi! I´m trying to use te modules Ars-Machina generic-dao generic-dao-hibernate, but i´m getting the following message : Nice to see that someone besides me is using the Ars Machina Project packages. :) No

Re: [5.1.0.5] Ars-Machina - No service Implements the interface org.hibernate.SessionFactory

2009-05-25 Thread Antonio Fernández
Hi again, I tried adding the following builder method : public static SessionFactory buildSessionFactory(final HibernateSessionManager hibernateSessionManager) { return hibernateSessionManager.getSession().getSessionFactory(); } And T5 returns ... throwables *

Re: [5.1.0.5] Ars-Machina - No service Implements the interface org.hibernate.SessionFactory

2009-05-25 Thread Thiago H. de Paula Figueiredo
Em Mon, 25 May 2009 12:43:17 -0300, Antonio Fernández amiguel.fernan...@gmail.com escreveu: Hi again, Hi! * org.hibernate.HibernateException: No CurrentSessionContext configured! The suggested way is to override getSession() to return something other than