Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.sqlproc.engine.spring;
The simple implementation of the factory org.sqlproc.engine.SqlSessionFactory for the Spring stack.

For more info please see the Tutorials.

Vladimir Hudec
public class SpringSessionFactory implements SqlSessionFactory {

The Spring JdbcTemplate, the central class for all Spring database operations.
    private JdbcTemplate jdbcTemplate;

Creates a new instance.

jdbcTemplate the Spring JdbcTemplate
    public SpringSessionFactory(JdbcTemplate jdbcTemplate) {
        this. = jdbcTemplate;

    public SqlSession getSqlSession() {
        return new SpringSimpleSession();
New to GrepCode? Check out our FAQ X