
ibatis
blacksheepfly
Transfer & sharing
展开
-
iBatis调用存储过程
public StringsaveShootSetting(Map map) { try { Map createTableMap = new HashMap(); String flag = ""; createTableMap.put("tableName", map.get("shootTableName")); createTabl原创 2015-10-08 14:10:18 · 372 阅读 · 0 评论 -
iBatis映射
typeAlias alias="dbtableall"type="com.ufgov.app.pd.unitdata.model.DbTable" /> resultMapid="dbtableMapAll" class="dbtableall"> resultcolumn="ITEM_CODE" property="itemCode" jdbcType="VAR原创 2015-10-08 14:10:23 · 299 阅读 · 0 评论 -
iBatis动态传入表名,字段名
$和# public List getProjectCodes(String table, Stringcolumn, String returnColumn, String value) { Map map =new HashMap(); map.put("table", table); map.put("column", column); map.p原创 2015-10-08 14:10:13 · 1728 阅读 · 0 评论 -
iBatis动态查询
public List queryProjectWarning(Map projectMap){ try { return dao.queryForList("MapService.queryProjectWarning",projectMap); } catch(SQLException e) { log.error(e); throw原创 2015-10-08 14:10:21 · 320 阅读 · 0 评论 -
iBatis参考资料
Ibatis自动生成工具的使用 Abator将ibatis中的sql语句输出到控制台和日志文件中深入分析 iBATIS框架之系统架构与映射原理Ibatis多表查询原创 2015-10-08 14:10:15 · 296 阅读 · 0 评论