`
文章列表
com.ibatis.common.exception.NestedRuntimeException: Error occurred.  Cause: com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: java.lang.ClassCastException Caused by: java.lang.ClassCastException Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: java.lang.C ...
http://blog.163.com/kky321/blog/static/120512023200961410652836/ 官方网站: http://vmware.com/ 官方下载(需申请账号,很简单): http://vmware.com/download/ws/(499.77M) md5sum:c521c3a1df22dd972b7e46767aee40e4 国内其它下载: 霏凡直接下载:http://4.jssz1.crsky.com/200811/VMware-workstation-6.5.1-126130.exe 太平洋下载:http://dl.pconlin ...

Using Ibatis

    博客分类:
  • SQL
All codes is exported as a file:
now getting SqlMapClient: SqlAppConfig.java /** * */ package com.dingfei.config; import java.io.Reader; import com.ibatis.common.resources.Resources; import com.ibatis.sqlmap.client.SqlMapClient; import com.ibatis.sqlmap.client.SqlMapClientBuilder; /** * @author Jeffy * */ ...
1. db.properties driver=com.mysql.jdbc.Driver url=jdbc:mysql://localhost:3306/test username=root password=root 2. SqlMapConfig.xml <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE sqlMapConfig PUBLIC "-//ibatis.apache.org//DTD SQL Map Co ...

Using Ibatis 3

    博客分类:
  • SQL
3. Test.java /** * */ package com.test; import java.sql.SQLException; import java.util.HashMap; import java.util.Iterator; import java.util.List; import com.dingfei.config.SqlAppConfig; import com.dingfei.vo.Employee; import com.dingfei.vo.SiteConfig; import com.ibatis.sqlmap.cl ...
2. DB table: employee.sql, and SiteConfig.sql -- phpMyAdmin SQL Dump -- version 2.10.2 -- http://www.phpmyadmin.net -- -- 主机: localhost -- 生成日期: 2009 年 06 月 21 日 13:33 -- 服务器版本: 5.0.15 -- PHP 版本: 5.2.3 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; -- -- 数据库: `test` -- -- - ...
1.mapping file: site.xml <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd"> <sqlMap namespace="SiteConfig&qu ...
Global site tag (gtag.js) - Google Analytics