Why not use mybatis-guice project. There is a detailed user guide on how to use.
Regards. Josh. On Tue, Apr 3, 2012 at 1:04 AM, Fabrizio Starred <[email protected]> wrote: > I was searching for a smart example of dependancy injection of > the SqlSessionFactory, as the mybatis manual suggested. > > I have already gave a look of other examples on the site, but none show me > the simple stuff I need, also because I would not inject the mappers too. > > Anyone can help me ? > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-guice/-/uznbuH4W86kJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-guice?hl=en. > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
