title: myBatis Generator - how to generate only select/update/insert/delete SQLs?
body: <p>My config file is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
  &lt;!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd" &gt;
  &lt;generatorConfiguration &gt;
    &lt;context id="context1" &gt;
      &lt;jdbcConnection driverClass="oracle.jdbc.driver.OracleDriver" connectionURL="jdbc:oracle:thin:@localhost:1521:xe" userId="system" password="system" &gt;&lt;/jdbcConnection&gt;
      &lt;javaModelGenerator targetPackage="pl.domain.model" targetProject="mailsender2" /&gt;
      &lt;sqlMapGenerator targetPackage="pl.domain.model" targetProject="mailsender2" &gt;&lt;/sqlMapGenerator&gt;
      &lt;javaClientGenerator targetPackage="???" targetProject="???" type="XMLMAPPER" /&gt;
      &lt;table schema="SYSTEM" tableName="user" domainObjectName="User" enableSelectByExample="false" enableDeleteByExample="false"
                          enableCountByExample="false" enableUpdateByExample="false"  &gt;
  
      &lt;/table&gt;
    &lt;/context&gt;
  &lt;/generatorConfiguration&gt;
  </code></pre>
  
  <p>How can I generate only simple select/update/insert/delete SQLs? whitout this below?</p>
  
  <p>Mapper.xml</p>
  
  <pre><code>&lt;insert id="insertSelective" parameterType="pl.domain.model.User" &gt;
      &lt;!--
        WARNING - @mbggenerated
        This element is automatically generated by MyBatis Generator, do not modify.
        This element was generated on Thu Apr 14 13:40:15 CEST 2011.
      --&gt;
      insert into SYSTEM.USER
      &lt;trim prefix="(" suffix=")" suffixOverrides="," &gt;
        &lt;if test="userId != null" &gt;
          USER_ID,
        &lt;/if&gt;
        &lt;if test="created != null" &gt;
          CREATED,
        &lt;/if&gt;
        &lt;if test="firstName != null" &gt;
          FIRST_NAME,
        &lt;/if&gt;
        &lt;if test="hash != null" &gt;
          HASH,
        &lt;/if&gt;
        &lt;if test="language != null" &gt;
          LANGUAGE,
        &lt;/if&gt;
        &lt;if test="lastName != null" &gt;
          LAST_NAME,
  </code></pre>