如果有2个CommentDomain会报如下错误:
java.lang.RuntimeException: Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMap/insert'. Cause: com.ibatis.sqlmap.client.SqlMapException: There is already a statement named CommentDomain_base_insert in this SqlMap.
系统启动的时候,框架会根据domain自动生成sqlmap,是根据domain 的名称来设置的