Interface SqlSessionFactory

  • All Known Implementing Classes:
    JdbcSessionFactory

    public interface SqlSessionFactory
    The factory definition, which can be used to construct the SqlSession instances.

    The factory can be based on Spring DI framework for example.

    For more info please see the Tutorials.

    Author:
    Vladimir Hudec
    • Method Detail

      • getSqlSession

        SqlSession getSqlSession()
        The main contract of this factory.
        Returns:
        the instance of the SqlSession