public class JdbcSessionFactory extends Object implements SqlSessionFactory
SqlSessionFactory for the JDBC stack.
For more info please see the Tutorials.
| Modifier and Type | Field and Description |
|---|---|
private Connection |
connection
The connection to the database.
|
| Constructor and Description |
|---|
JdbcSessionFactory(Connection connection)
Creates a new instance.
|
private Connection connection
public JdbcSessionFactory(Connection connection)
connection - the connection to the databasepublic SqlSession getSqlSession()
getSqlSession in interface SqlSessionFactoryCopyright © 2016. All rights reserved.