Connection function ( ) { return threadLocal . get ( ) ; }
helps to implement nested transaction . tx.intercept ... and db.tx ... need this method to detected if it in nested transaction . concode_field_sep boolean devMode concode_elem_sep Dialect dialect concode_elem_sep IContainerFactory containerFactory concode_elem_sep String name concode_elem_sep ThreadLocal<Connection> threadLocal concode_elem_sep ICache cache concode_elem_sep boolean showSql concode_elem_sep int transactionLevel concode_elem_sep DataSource dataSource concode_field_sep int getTransactionLevel concode_elem_sep Dialect getDialect concode_elem_sep DataSource getDataSource concode_elem_sep String getName concode_elem_sep boolean isShowSql concode_elem_sep void setThreadLocalConnection concode_elem_sep Connection getConnection concode_elem_sep ICache getCache concode_elem_sep boolean isDevMode concode_elem_sep Set<String> getModifyFlagSet concode_elem_sep Map<String,Object> getColumnsMap concode_elem_sep IContainerFactory getContainerFactory concode_elem_sep Map<String,Object> getAttrsMap concode_elem_sep void close concode_elem_sep void close concode_elem_sep void close concode_elem_sep void removeThreadLocalConnection