ITeye博客

ibatis sqlMapConfig settings 中属性用法

plane · 2009-09-28 14:12 · java · Markdown

转自 http://zhangzuanqian.iteye.com/blog/430643

<?xml version ="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMapConfig PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN"
"http://ibatis.apache.org/dtd/sql-map-config-2.dtd">

<sqlMapConfig>
    <settings
		cacheModelsEnabled="false"
		enhancementEnabled="true"
		lazyLoadingEnabled="true"
		errorTracingEnabled="true"
		maxRequests="32"
		maxSessions="10"
		maxTransactions="5"
		useStatementNamespaces="true"
	/>
	<sqlMap resource="com/test/dao/TEST_USER_SqlMap.xml" />
</sqlMapConfig>

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。