mybatis反向生成表 oracle数据库篇



<generatorConfiguration>
    
    <classPathEntry location="C:\Users\dell\Desktop\generator\ojdbc6.jar" /> 
    <context id="DB2Tables" targetRuntime="MyBatis3">
        <commentGenerator>
            <property name="suppressAllComments" value="true" />
        commentGenerator>
        
        <jdbcConnection driverClass="oracle.jdbc.driver.OracleDriver" connectionURL="jdbc:oracle:thin:@192.168.0.253:1521:Oracle11" userId="CCPS3" password="CCPS3">
        jdbcConnection>
        <javaTypeResolver>
            <property name="forceBigDecimals" value="false" />
        javaTypeResolver>
        
        <javaModelGenerator targetPackage="com.bjdv.workorder.pojo" targetProject="C:\Users\dell\Desktop\generator\src">
            <property name="enableSubPackages" value="true" />
            <property name="trimStrings" value="true" />
        javaModelGenerator>
        
        <sqlMapGenerator targetPackage="dao" targetProject="C:\Users\dell\Desktop\generator\src">
            <property name="enableSubPackages" value="true" />
        sqlMapGenerator>
        
        <javaClientGenerator type="XMLMAPPER" targetPackage="com.bjdv.workorder.mapper" targetProject="C:\Users\dell\Desktop\generator\src">
            <property name="enableSubPackages" value="true" />
        javaClientGenerator>
        
        <table schema="CCPS3" tableName="WF_STAGE_ENTRY" domainObjectName="WfStageEntry" enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false" selectByExampleQueryId="false" />
    context>
generatorConfiguration>

你可能感兴趣的:(遇到的bug小分队)