org.hotrod.runtime.livesql.queries.LiveSQLContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hotrod-livesql Show documentation
Show all versions of hotrod-livesql Show documentation
HotRod is an ORM for Java, Spring and SpringBoot.
package org.hotrod.runtime.livesql.queries;
import org.apache.ibatis.session.SqlSession;
import org.hotrod.runtime.livesql.LiveSQLMapper;
import org.hotrod.runtime.livesql.dialects.LiveSQLDialect;
public class LiveSQLContext {
private LiveSQLDialect liveSQLDialect;
private SqlSession sqlSession;
private LiveSQLMapper liveSQLMapper;
public LiveSQLContext(final LiveSQLDialect liveSQLDialect, final SqlSession sqlSession,
final LiveSQLMapper liveSQLMapper) {
this.liveSQLDialect = liveSQLDialect;
this.sqlSession = sqlSession;
this.liveSQLMapper = liveSQLMapper;
}
public LiveSQLDialect getLiveSQLDialect() {
return liveSQLDialect;
}
public SqlSession getSQLSession() {
return sqlSession;
}
public LiveSQLMapper getLiveSQLMapper() {
return liveSQLMapper;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy