锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久亚洲精品无码,亚洲五月丁香综合视频,男人的天堂亚洲一区二区三区 http://m.tkk7.com/willpower88/category/7450.html瀵笿AVA鏈夌偣鐞嗚В浜?jiǎn)鈥︹?/description>zh-cnFri, 10 Nov 2023 09:08:56 GMTFri, 10 Nov 2023 09:08:56 GMT60Springboot鏁村悎activitihttp://m.tkk7.com/willpower88/archive/2023/11/10/451269.html涓鍑?/dc:creator>涓鍑?/author>Fri, 10 Nov 2023 07:56:00 GMThttp://m.tkk7.com/willpower88/archive/2023/11/10/451269.htmlhttp://m.tkk7.com/willpower88/comments/451269.htmlhttp://m.tkk7.com/willpower88/archive/2023/11/10/451269.html#Feedback0http://m.tkk7.com/willpower88/comments/commentRss/451269.htmlhttp://m.tkk7.com/willpower88/services/trackbacks/451269.html
# Springboot鏁村悎activiti
婧愪唬鐮侊細(xì)https://gitee.com/yifan88899/acttest

## 鐗堟湰璇存槑
- springboot 2.4.2
- activiti 7.1.0.M6
- mysql 8.0.28
## 鎻掍歡瀹夎
- Activiti BPMN visualizer
## Bpmn嫻佺▼鍥句綅緗?br />- 嫻佺▼鍥?/span>xml鍜?/span>png闇鏀懼湪resources/processes涓?br />## Test
- Test Case 閮藉彲鎵ц錛屽寘鎷細(xì)
- 嫻佺▼鏌ヨ
- 嫻佺▼閮ㄧ講
- 嫻佺▼鍚姩
- 嫻佺▼鎷懼彇銆佸畬鎴愭搷浣?br />## Mysql
- 闇瑕佸惎鍔?/span>Mysql8
- 鏁版嵁搴撳悕Activiti7
- activiti浼?xì)鐗堝圾櫋?br />


]]>
springboot+mybatis鏁村悎涔嬪潙http://m.tkk7.com/willpower88/archive/2019/04/03/433703.html涓鍑?/dc:creator>涓鍑?/author>Wed, 03 Apr 2019 13:41:00 GMThttp://m.tkk7.com/willpower88/archive/2019/04/03/433703.htmlhttp://m.tkk7.com/willpower88/comments/433703.htmlhttp://m.tkk7.com/willpower88/archive/2019/04/03/433703.html#Feedback0http://m.tkk7.com/willpower88/comments/commentRss/433703.htmlhttp://m.tkk7.com/willpower88/services/trackbacks/433703.html
  •  Invalid bound statement (not found)
    鍦ㄦ帴鍙e悕縐板強(qiáng)鏂規(guī)硶鍚嶇О瀵瑰簲OK鐨勬儏鍐典笅錛屽湪application.properties涓坊鍔狅細(xì)
  • mybatis.mapperLocations=classpath:mapper/*Mapper.xml   
    mybatis.typeAliasesPackage=com.willpower.entity


    ]]>
    鍦╤ibernate涓厤緗畃roxool榪炴帴姹?/title><link>http://m.tkk7.com/willpower88/archive/2007/05/18/118403.html</link><dc:creator>涓鍑?/dc:creator><author>涓鍑?/author><pubDate>Fri, 18 May 2007 08:15:00 GMT</pubDate><guid>http://m.tkk7.com/willpower88/archive/2007/05/18/118403.html</guid><wfw:comment>http://m.tkk7.com/willpower88/comments/118403.html</wfw:comment><comments>http://m.tkk7.com/willpower88/archive/2007/05/18/118403.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://m.tkk7.com/willpower88/comments/commentRss/118403.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/willpower88/services/trackbacks/118403.html</trackback:ping><description><![CDATA[  铏界劧hibernate鑷甫浜?jiǎn)杩炴帴姹犲Q屼篃鏀寔涓浜涘叾浠栫殑榪炴帴姹狅紝浣嗘槸鏌ョ湅鍚勬柟闈㈢殑璧勬枡錛岃寰楄繕鏄痯roxool榪炴帴姹犲崰涓繪祦錛岀幇鍦ㄥ閰嶇疆鐨勬柟娉曞仛浜涜褰曪紝浠ュ鍚庣敤錛? <p>1. hibernate.cfg.xml</p> <p>  <session-factory ><br>     <property name="hibernate.connection.provider_class"><br>          org.hibernate.connection.ProxoolConnectionProvider<br>     </property></p> <p>     <property name="hibernate.proxool.pool_alias">MYPool</property><br>     <property name="hibernate.proxool.xml">proxool.xml</property><br>     <property name="show_sql">true</property><br>     <property name="dialect">org.hibernate.dialect.SQLServerDialect</property></p> <p>     <mapping resource="userinfo.hbm.xml"/><br></session-factory><br></p> <p>2 . proxool.xml</p> <p> <proxool></p> <p><alias>MYPool</alias>   <!--榪炴帴姹犵殑鍒悕--></p> <p><driver-url><br>    jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=testhibernate;SelectMethod=cursor<br></driver-url></p> <p><!--JDBC椹卞姩紼嬪簭--><br><driver-class>com.microsoft.jdbc.sqlserver.SQLServerDriver</driver-class><br><driver-properties><br>   <property name="user" value="sa"/><br>   <property name="password" value="123"/><br></driver-properties></p> <p><!-- proxool鑷姩渚﹀療鍚勪釜榪炴帴鐘舵佺殑鏃墮棿闂撮殧(姣),渚﹀療鍒扮┖闂茬殑榪炴帴灝遍┈涓婂洖鏀?瓚呮椂鐨勯攢姣?-><br><house-keeping-sleep-time>90000</house-keeping-sleep-time></p> <p><!-- 鎸囧洜鏈湁絀洪棽榪炴帴鍙互鍒嗛厤鑰屽湪闃熷垪涓瓑鍊欑殑鏈澶ц姹傛暟,瓚呰繃榪欎釜璇鋒眰鏁扮殑鐢ㄦ埛榪炴帴灝變笉浼?xì)琚帴鍙?-><br><maximum-new-connections>20</maximum-new-connections></p> <p><!-- 鏈灝戜繚鎸佺殑絀洪棽榪炴帴鏁?-><br><prototype-count>5</prototype-count></p> <p><!-- 鍏佽鏈澶ц繛鎺ユ暟,瓚呰繃浜?jiǎn)杩欎釜杩炴帴锛屽啀鏈夎h眰鏃訛紝灝辨帓鍦ㄩ槦鍒椾腑絳夊欙紝鏈澶х殑絳夊緟璇鋒眰鏁扮敱maximum-new-connections鍐沖畾--><br><maximum-connection-count>100</maximum-connection-count></p> <p><!-- 鏈灝忚繛鎺ユ暟--><br><minimum-connection-count>10</minimum-connection-count></p> <p></proxool></p> <img src ="http://m.tkk7.com/willpower88/aggbug/118403.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/willpower88/" target="_blank">涓鍑?/a> 2007-05-18 16:15 <a href="http://m.tkk7.com/willpower88/archive/2007/05/18/118403.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Spring閰嶅埗鏂囦歡http://m.tkk7.com/willpower88/archive/2007/04/13/110471.html涓鍑?/dc:creator>涓鍑?/author>Fri, 13 Apr 2007 08:09:00 GMThttp://m.tkk7.com/willpower88/archive/2007/04/13/110471.htmlhttp://m.tkk7.com/willpower88/comments/110471.htmlhttp://m.tkk7.com/willpower88/archive/2007/04/13/110471.html#Feedback0http://m.tkk7.com/willpower88/comments/commentRss/110471.htmlhttp://m.tkk7.com/willpower88/services/trackbacks/110471.html <!-- 閰嶇疆鏁版嵁搴撹繛鎺?-->
     <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
      <property name="driverClassName">
       <value>oracle.jdbc.driver.OracleDriver</value>
      </property>  
      <property name="url">
       <value>jdbc:oracle:thin:@33.49.23.168:1521:oradb</value>
      </property>
      <property name="username">
       <value>chinacars</value>
      </property>
      <property name="password">
       <value>chinacars</value>
      </property> 
     </bean> 
        
    <!-- 閰嶇疆sessionFactory, 娉ㄦ剰榪欓噷寮曞叆鐨勫寘鐨勪笉鍚?nbsp; -->
     <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
      <property name="dataSource">
       <ref local="dataSource" />
      </property>
      <property name="mappingResources">
       <list>   
        <value>com/chinacars/wap/beans/WapCategory.hbm.xml</value>
       </list>
      </property>
      <property name="hibernateProperties">
       <props>
        <prop key="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</prop>
        <prop key="hibernate.show_sql">true</prop>
        <prop key="hibernate.c3p0.minPoolSize">0</prop>
                    <prop key="hibernate.c3p0.maxPoolSize">5</prop>
                    <prop key="hibernate.c3p0.timeout">600</prop>
                    <prop key="hibernate.c3p0.max_statement">200</prop>
       </props>
      </property>  
     </bean>

     <!-- Manager -->
     <bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
      <property name="sessionFactory">
       <ref local="sessionFactory" />
      </property>
     </bean>

     <!--
      ******* DAO setting *******
     -->

     <bean id="statDayDao" class="com.ihandy.statsms.dao.impl.StatDayDaoImpl">
      <property name="sessionFactory">
       <ref local="sessionFactory" />
      </property>
     </bean>

     <bean id="statDayDaoProxy" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
      <property name="transactionManager">
       <ref bean="transactionManager" />
      </property>
      <property name="target">
       <ref local="statDayDao" />
      </property>
      <property name="transactionAttributes">
       <props>
        <prop key="insert*">PROPAGATION_REQUIRED</prop>
        <prop key="get*">PROPAGATION_REQUIRED,readOnly</prop>
        <prop key="is*">PROPAGATION_REQUIRED,readOnly</prop>
       </props>
      </property>
     </bean> 
     
      <!--
      ******* Service setting *******
     -->

     <bean id="statDayService" class="com.ihandy.statsms.service.impl.StatDayServiceImpl">
      <property name="statDayDao">
       <ref bean="statDayDaoProxy" />
      </property>
     </bean>
     
     <!-- Struts Action Proxy -->
     <bean name="/statDayList" class="com.ihandy.statsms.struts.action.StatDayListAction" singleton="false">
      <property name="statDayService">
       <ref bean="statDayService" />
      </property>
     </bean>



    ]]>
    ajax dwr2.0 瀛︿範(fàn)涓亣鍒扮殑闂http://m.tkk7.com/willpower88/archive/2007/03/13/103534.html涓鍑?/dc:creator>涓鍑?/author>Tue, 13 Mar 2007 06:36:00 GMThttp://m.tkk7.com/willpower88/archive/2007/03/13/103534.htmlhttp://m.tkk7.com/willpower88/comments/103534.htmlhttp://m.tkk7.com/willpower88/archive/2007/03/13/103534.html#Feedback0http://m.tkk7.com/willpower88/comments/commentRss/103534.htmlhttp://m.tkk7.com/willpower88/services/trackbacks/103534.html聽聽聽聽聽鎴戠殑鐜錛歫dk 1.5.08
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 tomcat 5.0.28
    聽聽聽聽聽聽聽1銆佸湪鐢ㄥ埌<convert converter="bean" match="com.willpower.testdwr.User"> 鏃跺嚭鐜?Error marshalling xxx.xxxxx聽聽聽鏃訛細(xì)鏈夊彲鑳芥槸鐩稿簲鐨刡ean娌℃湁榛樿鏋勯犲嚱鏁伴犳垚鐨勶紝鎴戝氨鏄繖涓棶棰橈紝鍔犱笂鍗寵В鍐熾?br />

    ]]>
    姣忔棩璁塊棶鏁版嵁搴撳け璐ラ棶棰?/title><link>http://m.tkk7.com/willpower88/archive/2007/01/10/92928.html</link><dc:creator>涓鍑?/dc:creator><author>涓鍑?/author><pubDate>Wed, 10 Jan 2007 07:33:00 GMT</pubDate><guid>http://m.tkk7.com/willpower88/archive/2007/01/10/92928.html</guid><wfw:comment>http://m.tkk7.com/willpower88/comments/92928.html</wfw:comment><comments>http://m.tkk7.com/willpower88/archive/2007/01/10/92928.html#Feedback</comments><slash:comments>10</slash:comments><wfw:commentRss>http://m.tkk7.com/willpower88/comments/commentRss/92928.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/willpower88/services/trackbacks/92928.html</trackback:ping><description><![CDATA[鎽樿嚜springside璁哄潧<br /><br />涓銆?br /><div style="FONT-SIZE: 12px">緇忚繃N澶氳瘯楠岋紝緇堜簬鑷繁鎶婅繖涓棶棰樻悶瀹氫簡(jiǎn)銆?br /><br />緗戜笂鍏充簬C3P0鍦╯pring涓殑閰嶇疆錛屽嚑涔庢病鏈夊畬鍏ㄦ紜殑錛堣嚦灝戞垜榪樻病鍙戠幇錛夈傛煡浜?jiǎn)c3p0鐨勬枃妗o紝鍙堣瘯楠岃繃N嬈°傚緱鍑哄涓嬮厤緗槸姝g‘鐨勶細(xì)<br /><br /><br /><bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"聽 聽destroy-method="close"><br />聽 聽聽 聽聽 聽<property name="driverClass"><value>${jdbc.driverClassName}</value></property><br />聽 聽聽 聽聽 聽<property name="jdbcUrl"><value>${jdbc.url}</value></property>聽 聽聽 聽聽 聽聽 聽聽 聽<br />聽 聽聽 聽聽 聽<property name="user"><value>${jdbc.username}</value></property><br />聽 聽聽 聽聽 聽<property name="password"><value>${jdbc.password}</value></property><br />聽 聽聽 聽聽 聽 <br />聽 聽聽 聽聽 聽<property name="minPoolSize"><value>1</value></property><br />聽 聽聽 聽聽 聽<property name="maxPoolSize"><value>20</value></property><br />聽 聽聽 聽聽 聽<property name="maxIdleTime"><value>1800</value></property><br />聽 聽聽 聽聽 聽<property name="acquireIncrement"><value>2</value></property><br />聽 聽聽 聽聽 聽<property name="maxStatements"><value>0</value></property><br />聽 聽聽 聽聽 聽<property name="initialPoolSize"><value>2</value></property><br />聽 聽聽 聽聽 聽<property name="idleConnectionTestPeriod"><value>1800</value></property><br />聽 聽聽 聽聽 聽<property name="acquireRetryAttempts"><value>30</value></property><br />聽 聽聽 聽聽 聽<property name="breakAfterAcquireFailure"><value>true</value></property><br />聽 聽聽 聽聽 聽<property name="testConnectionOnCheckout"><value>false</value></property><br />聽 聽聽 聽聽 聽<br />聽 聽聽 聽聽 聽<!-- <br />聽 聽聽 聽聽 聽聽 聽<property name="properties"><br />聽 聽聽 聽聽 聽 <props>聽 聽聽 聽聽 聽聽 聽聽聽<br />聽 聽聽 聽聽 聽聽 聽聽聽<prop key="c3p0.minPoolSize">1</prop> <br />聽 聽聽 聽聽 聽聽 聽聽聽<prop key="c3p0.maxPoolSize">10</prop> <br />聽 聽聽 聽聽 聽聽 聽聽聽<prop key="c3p0.maxIdleTime">1800</prop>聽 聽聽 聽聽 聽聽 聽聽聽<br />聽 聽聽 聽聽 聽聽 聽聽聽<prop key="c3p0.acquireIncrement">2</prop> <br />聽 聽聽 聽聽 聽聽 聽聽聽<prop key="c3p0.maxStatements">0</prop> <br />聽 聽聽 聽聽 聽聽 聽聽 聽聽 聽聽聽<prop key="c3p0.initialPoolSize">2</prop><br />聽 聽聽 聽聽 聽聽 聽聽聽<prop key="c3p0.idleConnectionTestPeriod">1800</prop><br />聽 聽聽 聽聽 聽聽 聽聽聽<prop key="c3p0.acquireRetryAttempts">30</prop><br />聽 聽聽 聽聽 聽聽 聽聽聽<prop key="c3p0.breakAfterAcquireFailure">true</prop><br />聽 聽聽 聽聽 聽聽 聽聽聽<prop key="c3p0.testConnectionOnCheckout">true</prop><br />聽 聽聽 聽聽 聽聽 聽聽聽<prop key="user">root</prop><br />聽 聽聽 聽聽 聽聽 聽聽聽<prop key="password">999999</prop><br />聽 聽聽 聽聽 聽聽 聽聽聽<br />聽 聽聽 聽聽 聽 </props><br />聽 聽聽 聽聽 聽</property><br />聽 聽聽 聽聽聽-->聽 聽聽 聽<br /></bean><br /><br /><!-- Hibernate SessionFactory --><br /><bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"><br />聽聽<property name="dataSource" ref="dataSource"/><br />聽聽<property name="mappingDirectoryLocations"><br />聽 聽聽 聽<list><br />聽 聽<value>classpath:/com/licaionline/domain/</value><br />聽 聽聽 聽</list><br />聽聽</property><br />聽聽<property name="hibernateProperties"><br />聽 聽<props><br />聽 聽 <prop key="hibernate.dialect">org.hibernate.dialect.MySQLDialect</prop><br />聽 聽聽聽<prop key="hibernate.show_sql">true</prop><br />聽 聽 <prop key="hibernate.generate_statistics">true</prop><br />聽 聽聽 聽聽 聽聽 聽聽 聽 <prop key="hibernate.connection.release_mode">auto</prop>聽 聽聽 聽聽 聽聽 聽聽 聽聽 聽聽 聽 <br />聽 聽聽 聽聽 聽聽 聽聽 聽 <prop key="hibernate.autoReconnect">true</prop><br />聽 聽聽 聽聽 聽聽 聽聽 聽 <prop key="hibernate.cglib.use_reflection_optimizer">true</prop><br />聽 聽聽 聽聽 聽聽 聽聽 聽 <!-- <br />聽 聽 <prop key="hibernate.useUnicode"></prop> <br />聽 聽 <prop key="hibernate.characterEncoding"></prop><br />聽 聽 <prop key="hibernate.default-lazy-init"></prop><br />聽 聽聽 聽聽 聽聽 聽聽 聽 <prop key="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</prop>聽 聽聽聽<br />聽 聽 --><br />聽 聽聽 聽聽 聽聽 聽聽 聽聽 聽聽 聽聽 聽聽 聽聽 聽聽聽<br />聽 聽聽 聽聽 聽聽 聽聽 聽 <!--<br />聽 聽聽 聽聽 聽聽 聽聽 聽 <prop key="hibernate.c3p0.acquire_increment">2</prop><br />聽 聽聽 聽聽 聽聽 聽聽 聽 <prop key="hibernate.c3p0.idle_test_period">1800</prop><br />聽 聽聽 聽聽 聽聽 聽聽 聽 <prop key="hibernate.c3p0.timeout">1800</prop><br />聽 聽聽 聽聽 聽聽 聽聽 聽 <prop key="hibernate.c3p0.max_size">30</prop><br />聽 聽聽 聽聽 聽聽 聽聽 聽 <prop key="hibernate.c3p0.min_size">2</prop><br />聽 聽聽 聽聽 聽聽 聽聽 聽 <prop key="hibernate.c3p0.max_statements">50</prop><br />聽 聽 -->聽 聽聽 聽聽 聽<br />聽 聽</props><br />聽聽</property><br /><br /><br /><br /><br />娉ㄦ剰錛氭敞閲婃帀鐨勯偅浜涳紝閮芥槸閿欒鐨勩傜綉涓婃祦琛岀殑錛屽熀鏈笂璺熸敞閲婃帀鐨勯偅浜涘樊涓嶅銆傞厤閿欎簡(jiǎn)錛屽茍鏃犲紓甯革紝榪樻槸鑳芥甯鎬嬌鐢ㄣ備絾鏄墍浣滅殑閰嶇疆涓嶈搗浣滅敤銆?br /><br /><br />浜屻?br /><div style="FONT-SIZE: 12px">璧蜂綔鐢ㄧ殑錛屾槸datasource閲岄潰鐨勮繖涓鍙ワ細(xì)<br /><property name="maxIdleTime"><value>1800</value></property><br /><br />榪欏効璁劇疆鎴愭瘡闅?800縐掑氨鎵弿涓嬈★紝媯(gè)鏌ヤ竴涓嬬┖闂茬殑閾炬帴銆傛墍浠ワ紝鐢ㄦ埛鍩烘湰涓婁笉浼?xì)寰楀埌绌洪棽鐨勯摼鎺ヤ簡(jiǎn)銆?br /><br />濡傛灉鍐嶄笉鏀懼績(jī)錛?br /><property name="testConnectionOnCheckout"><value>false</value></property><br />榪欏効璁劇疆鎴恡rue銆傛瘡嬈¤繛鎺ヤ箣鍓嶏紝閮借嫻嬩竴涓嬨備絾鏄繖鏍蜂細(xì)褰卞搷鏁堢巼銆?br /><br /><br />涓夈?br /><br />瑙e喅鐨勬柟娉曟湁3縐嶏細(xì)<br /><br />澧炲姞wait_timeout鐨勬椂闂淬?<br />鍑忓皯Connection pools涓璫onnection鐨刲ifetime銆?<br />嫻嬭瘯Connection pools涓璫onnection鐨勬湁鏁堟с?<br />褰撶劧鏈濂界殑鍔炴硶鏄悓鏃剁患鍚堜嬌鐢ㄤ笂榪?縐嶆柟娉曪紝涓嬮潰灝盌BCP鍜孋3P0鍒嗗埆鍋氫竴璇存槑錛屽亣璁緒ait_timeout涓洪粯璁ょ殑8灝忔椂<br /><br />DBCP澧炲姞浠ヤ笅閰嶇疆淇℃伅:<br /><br />//set to 'SELECT 1'聽 聽 <br />validati聽 聽<br />//set to 'true'聽 聽 <br />testWhileIdle = "true"聽 聽聽聽<br />//some positive integer聽 聽 <br />timeBetweenEvictionRunsMillis = 3600000聽 聽<br />//set to something smaller than 'wait_timeout'聽 聽 <br />minEvictableIdleTimeMillis = 18000000聽 聽<br />//if you don't mind a hit for every getConnection(), set to "true"聽 聽 <br />test聽 聽<br /><br />C3P0澧炲姞浠ヤ笅閰嶇疆淇℃伅:<br /><br />//set to 'SELECT 1'聽 聽聽 聽 <br />preferredTestQuery = 'SELECT 1'聽 聽聽聽<br />//set to something much less than wait_timeout, prevents connections from going stale聽 聽 <br />idleConnectionTestPeriod = 18000聽 聽聽 聽<br />//set to something slightly less than wait_timeout, preventing 'stale' connections from being handed out聽 聽 <br />maxIdleTime = 25000聽 聽聽聽<br />//if you can take the performance 'hit', set to "true"聽 聽 <br />testConnectionOnCheckout = true聽 聽聽聽<br /><br />鏇村鐨勯厤緗俊鎭ぇ瀹跺彲浠ユ煡鐪婥3P0鏂囨。錛孋onnector/J鏂囨。錛屼互鍙?qiáng)DBCP鐨勬枃妗c?br /><br /></div></div><img src ="http://m.tkk7.com/willpower88/aggbug/92928.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/willpower88/" target="_blank">涓鍑?/a> 2007-01-10 15:33 <a href="http://m.tkk7.com/willpower88/archive/2007/01/10/92928.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Birt GDI ERRORhttp://m.tkk7.com/willpower88/archive/2006/12/21/89250.html涓鍑?/dc:creator>涓鍑?/author>Thu, 21 Dec 2006 03:59:00 GMThttp://m.tkk7.com/willpower88/archive/2006/12/21/89250.htmlhttp://m.tkk7.com/willpower88/comments/89250.htmlhttp://m.tkk7.com/willpower88/archive/2006/12/21/89250.html#Feedback0http://m.tkk7.com/willpower88/comments/commentRss/89250.htmlhttp://m.tkk7.com/willpower88/services/trackbacks/89250.html- install GDI+
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdicpp/gdiplus/gdiplus.asp
    or
    -start Eclipse with "eclipse.exe -vmargs -DR31ENHANCE=false". This will not
    use any of the new SWT 3.1 functionalities, and so doesnt' require GDI+.



    ]]>
    hibernate 3.0.x HQL 涓枃涔辯爜闂http://m.tkk7.com/willpower88/archive/2006/11/27/83739.html涓鍑?/dc:creator>涓鍑?/author>Mon, 27 Nov 2006 03:13:00 GMThttp://m.tkk7.com/willpower88/archive/2006/11/27/83739.htmlhttp://m.tkk7.com/willpower88/comments/83739.htmlhttp://m.tkk7.com/willpower88/archive/2006/11/27/83739.html#Feedback0http://m.tkk7.com/willpower88/comments/commentRss/83739.htmlhttp://m.tkk7.com/willpower88/services/trackbacks/83739.html<prop key="hibernate.query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</prop>


    <!--聽閰嶇疆sessionFactory,聽娉ㄦ剰榪欓噷寮曞叆鐨勫寘鐨勪笉鍚屄犅?/span>-->
    聽聽聽聽
    <bean聽id="sessionFactory"聽class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
    聽聽聽聽聽聽聽聽
    <property聽name="dataSource">
    聽聽聽聽聽聽聽聽聽聽聽聽
    <ref聽local="dataSource"/>
    聽聽聽聽聽聽聽聽
    </property>
    聽聽聽聽聽聽聽聽
    <property聽name="mappingResources">
    聽聽聽聽聽聽聽聽聽聽聽聽
    <list>
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
    <value>com/ihandy/airwap/beans/Hotflight.hbm.xml</value>
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
    <value>com/ihandy/airwap/beans/Area.hbm.xml</value>
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
    <value>com/ihandy/airwap/beans/AirAssociatorInfo.hbm.xml</value>
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
    <value>com/ihandy/airwap/beans/OrderDetail.hbm.xml</value>
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
    <value>com/ihandy/airwap/beans/OrderQuest.hbm.xml</value>
    聽聽聽聽聽聽聽聽聽聽聽聽
    </list>
    聽聽聽聽聽聽聽聽
    </property>
    聽聽聽聽聽聽聽聽
    <property聽name="hibernateProperties">
    聽聽聽聽聽聽聽聽聽聽聽聽
    <props>
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
    <prop聽key="hibernate.dialect">org.hibernate.dialect.SQLServerDialect</prop>
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
    <prop聽key="hibernate.show_sql">true</prop>
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
    <prop聽key="hibernate.c3p0.minPoolSize">2</prop>
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
    <prop聽key="hibernate.c3p0.maxPoolSize">5</prop>
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
    <prop聽key="hibernate.c3p0.timeout">600</prop>
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
    <prop聽key="hibernate.c3p0.max_statement">200</prop>
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
    <prop聽key="hibernate.query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</prop>
    聽聽聽聽聽聽聽聽聽聽聽聽
    </props>
    聽聽聽聽聽聽聽聽
    </property>
    聽聽聽聽
    </bean>


    ]]>
    log4j鐢ㄦ硶錛?/title><link>http://m.tkk7.com/willpower88/archive/2006/11/13/80942.html</link><dc:creator>涓鍑?/dc:creator><author>涓鍑?/author><pubDate>Mon, 13 Nov 2006 09:51:00 GMT</pubDate><guid>http://m.tkk7.com/willpower88/archive/2006/11/13/80942.html</guid><wfw:comment>http://m.tkk7.com/willpower88/comments/80942.html</wfw:comment><comments>http://m.tkk7.com/willpower88/archive/2006/11/13/80942.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/willpower88/comments/commentRss/80942.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/willpower88/services/trackbacks/80942.html</trackback:ping><description><![CDATA[     鎽樿: 1. 聽聽聽聽聽 棣栧厛鏄厤緗枃浠? 涓銆? property 鏂囦歡 ...  <a href='http://m.tkk7.com/willpower88/archive/2006/11/13/80942.html'>闃呰鍏ㄦ枃</a><img src ="http://m.tkk7.com/willpower88/aggbug/80942.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/willpower88/" target="_blank">涓鍑?/a> 2006-11-13 17:51 <a href="http://m.tkk7.com/willpower88/archive/2006/11/13/80942.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>hibernate3 hql 鍙傛暟涔辯爜闂http://m.tkk7.com/willpower88/archive/2006/09/30/73026.html涓鍑?/dc:creator>涓鍑?/author>Sat, 30 Sep 2006 06:30:00 GMThttp://m.tkk7.com/willpower88/archive/2006/09/30/73026.htmlhttp://m.tkk7.com/willpower88/comments/73026.htmlhttp://m.tkk7.com/willpower88/archive/2006/09/30/73026.html#Feedback0http://m.tkk7.com/willpower88/comments/commentRss/73026.htmlhttp://m.tkk7.com/willpower88/services/trackbacks/73026.html
    <property聽name="hibernateProperties">
    聽聽聽聽聽聽聽聽聽聽聽聽
    <props>
    銆銆銆銆銆<prop key="hibernate.query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory
    </prop>
    聽聽聽聽聽聽聽聽聽聽聽聽
    </props>
    </property>


    ]]>
    hibernate3 hql 鍙傛暟涔辯爜闂http://m.tkk7.com/willpower88/archive/2006/09/30/73025.html涓鍑?/dc:creator>涓鍑?/author>Sat, 30 Sep 2006 06:30:00 GMThttp://m.tkk7.com/willpower88/archive/2006/09/30/73025.htmlhttp://m.tkk7.com/willpower88/comments/73025.htmlhttp://m.tkk7.com/willpower88/archive/2006/09/30/73025.html#Feedback0http://m.tkk7.com/willpower88/comments/commentRss/73025.htmlhttp://m.tkk7.com/willpower88/services/trackbacks/73025.html
    <property聽name="hibernateProperties">
    聽聽聽聽聽聽聽聽聽聽聽聽
    <props>
    銆銆銆銆銆<prop key="hibernate.query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory
    </prop>
    聽聽聽聽聽聽聽聽聽聽聽聽
    </props>
    </property>


    ]]>
    鐢℉ibernate鎿嶄綔Oracle Clob瀛楁http://m.tkk7.com/willpower88/archive/2006/05/11/45700.html涓鍑?/dc:creator>涓鍑?/author>Thu, 11 May 2006 10:40:00 GMThttp://m.tkk7.com/willpower88/archive/2006/05/11/45700.htmlhttp://m.tkk7.com/willpower88/comments/45700.htmlhttp://m.tkk7.com/willpower88/archive/2006/05/11/45700.html#Feedback0http://m.tkk7.com/willpower88/comments/commentRss/45700.htmlhttp://m.tkk7.com/willpower88/services/trackbacks/45700.html
    HBM:
    <
    hibernate-mapping>
    <class聽name="com.chinacars.filterdata.beans.TblWapNews2"聽table="TBL_WAP_NEWS2">
    聽聽聽聽聽聽聽聽
    <id聽name="id"聽type="java.lang.Long">
    聽聽聽聽聽聽聽聽聽聽聽聽
    <column聽name="ID"聽precision="22"聽scale="0"/>
    聽聽聽聽聽聽聽聽
    </id>
    聽聽聽聽聽聽
    <property聽name="content"聽type="java.sql.Clob">
    聽聽聽聽聽聽聽聽聽聽聽聽
    <column聽name="CONTENT"/>
    聽聽聽聽聽聽聽聽
    </property>

    </class>
    </hibernate-mapping>
    POJO:
    import聽java.sql.Clob;
    publicclass聽test聽{
    聽聽聽
    private聽Clob聽content;
    聽聽聽
    }

    2.棣栧厛瑕佺粰C(jī)lob閲屽啓涓涓?濡傦細(xì)娉ㄦ剰鐪嬩竴涓嬫湁搴曡壊鐨勫湴鏂瑰氨鏄庣櫧浜?jiǎn)鍚?br />
    package聽com.chinacars.filterdata.modidata;

    import聽java.lang.reflect.InvocationTargetException;
    import聽java.sql.Clob;
    import聽java.sql.SQLException;
    import聽java.util.List;

    import聽org.apache.commons.beanutils.PropertyUtils;
    import聽org.apache.commons.logging.Log;
    import聽org.apache.commons.logging.LogFactory;
    import聽org.hibernate.Hibernate;

    import聽com.chinacars.filterdata.beans.TblWapNews1;
    import聽com.chinacars.filterdata.beans.TblWapNews2;
    import聽com.chinacars.filterdata.dao.WapNews1DAO;
    import聽com.chinacars.filterdata.dao.WapNews2DAO;
    import聽com.chinacars.filterdata.util.StringProcess;

    publicclass聽ModiData2聽{
    聽聽聽聽
    privatestaticfinal聽Log聽logger聽=聽LogFactory.getLog(ModiData2.class);

    聽聽聽聽
    publicstaticvoid聽main(String[]聽args)聽{

    聽聽聽聽聽聽聽聽WapNews1DAO聽wapNews1DAO聽
    =new聽WapNews1DAO();
    聽聽聽聽聽聽聽聽WapNews2DAO聽wapNews2DAO聽
    =new聽WapNews2DAO();

    聽聽聽聽聽聽聽聽TblWapNews1聽news1聽
    =new聽TblWapNews1();
    聽聽聽聽聽聽聽聽TblWapNews2聽news2聽
    =new聽TblWapNews2();

    聽聽聽聽聽聽聽聽List聽list聽
    =聽wapNews1DAO.getWapNews();
    聽聽聽聽聽聽聽聽Clob聽contentClob聽
    =null;
    聽聽聽聽聽聽聽聽String聽cStr聽
    ="1";
    聽聽聽聽聽聽聽聽String聽title;
    聽聽聽聽聽聽聽聽
    聽聽聽聽聽聽聽聽
    for聽(int聽i聽=0;聽i聽<聽list.size();聽i++)聽{
    聽聽聽聽聽聽聽聽聽聽聽聽logger.info(
    "============The聽number聽:聽"+聽i);
    聽聽聽聽聽聽聽聽聽聽聽聽news1聽
    =聽(TblWapNews1)聽list.get(i);
    聽聽聽聽聽聽聽聽聽聽聽聽contentClob聽
    =聽news1.getContent();
    聽聽聽聽聽聽聽聽聽聽聽聽
    try{
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽PropertyUtils.copyProperties(news2,聽news1);
    聽聽聽聽聽聽聽聽聽聽聽聽}
    catch聽(IllegalAccessException聽e)聽{
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽logger.error(e);
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽e.printStackTrace();
    聽聽聽聽聽聽聽聽聽聽聽聽}
    catch聽(InvocationTargetException聽e)聽{
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽logger.error(e);
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽e.printStackTrace();
    聽聽聽聽聽聽聽聽聽聽聽聽}
    catch聽(NoSuchMethodException聽e)聽{
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽logger.error(e);
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽e.printStackTrace();
    聽聽聽聽聽聽聽聽聽聽聽聽}

    聽聽聽聽聽聽聽聽聽聽聽聽title聽
    =聽news1.getTitle();
    聽聽聽聽聽聽聽聽聽聽聽聽
    if(title聽!=null)聽{
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽title聽
    =聽title.replaceAll("錛?/span>",聽"");
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽news2.setTitle(title);
    聽聽聽聽聽聽聽聽聽聽聽聽}

    聽聽聽聽聽聽聽聽聽聽聽聽news2.setContent(Hibernate.createClob(cStr));
    聽聽聽聽聽聽聽聽聽聽聽聽
    try{
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽wapNews2DAO.saveWapNews(news2,聽StringProcess
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽.delInvalidChar(contentClob.getSubString(
    1,
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽(
    int)聽contentClob.length())));
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
    聽聽聽聽聽聽聽聽聽聽聽聽}
    catch聽(SQLException聽e)聽{
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽logger.error(e);
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽e.printStackTrace();
    聽聽聽聽聽聽聽聽聽聽聽聽}

    聽聽聽聽聽聽聽聽}


    聽聽聽聽}


    }

    3.寮濮嬪啓鍏ヨ繖鍐呭錛屾渶涓昏鐨勬槸榪欓噷錛屾垜鍦ㄨ繖閲屽崱浜?jiǎn)濂戒箙鈥︹?br />聽聽 涓繪槸涓嬮潰綰㈣壊鐨勯儴鍒嗭紝鍏跺畠鐨勬湁鑹查儴鍒嗛兘鑳芥悳鍒幫細(xì)鐪嬩笅闈㈢殑浠g爜鍚э細(xì)^_^
    package聽com.chinacars.filterdata.dao;

    import聽java.io.Writer;
    import聽java.sql.Clob;

    import聽oracle.sql.CLOB;

    import聽org.apache.commons.logging.Log;
    import聽org.apache.commons.logging.LogFactory;
    import聽org.hibernate.LockMode;
    import聽org.hibernate.Session;
    import聽org.hibernate.Transaction;
    import聽org.hibernate.lob.SerializableClob;

    import聽com.chinacars.filterdata.beans.TblWapNews2;

    publicclass聽WapNews2DAO聽{
    聽聽聽聽
    聽聽聽聽
    privatestaticfinal聽Log聽logger聽=聽LogFactory.getLog(WapNews2DAO.class);

    聽聽聽聽
    private聽Session聽oraSession;

    聽聽聽聽
    private聽Transaction聽tx;

    聽聽聽聽
    publicboolean聽saveWapNews(TblWapNews2聽news,聽String聽content)聽{
    聽聽聽聽聽聽聽聽
    try{
    聽聽聽聽聽聽聽聽聽聽聽聽oraSession聽
    =聽SessionFactory.currentORASession();
    聽聽聽聽聽聽聽聽聽聽聽聽tx聽
    =聽oraSession.beginTransaction();
    聽聽聽聽聽聽聽聽聽聽聽聽oraSession.save(news);
    聽聽聽聽聽聽聽聽聽聽聽聽oraSession.flush();
    聽聽聽聽聽聽聽聽聽聽聽聽oraSession.refresh(news,聽LockMode.UPGRADE);
    聽聽聽聽聽聽聽聽聽聽聽聽
    聽聽聽聽聽聽聽聽聽聽聽聽
    SerializableClob聽clob聽
    =聽(SerializableClob)聽news.getContent();
    聽聽聽聽聽聽聽聽聽聽聽聽Clob聽jClob聽
    =聽clob.getWrappedClob();
    聽聽聽聽聽聽聽聽聽聽聽聽CLOB聽oClob聽
    =
    聽(CLOB)jClob;
    聽聽聽聽聽聽聽聽聽聽聽聽Writer聽wt聽
    =
    聽oClob.getCharacterOutputStream();聽聽聽聽聽聽聽聽聽聽聽聽
    聽聽聽聽聽聽聽聽聽聽聽聽
    //byte[]聽bData聽=聽content.getBytes();

    聽聽聽聽聽聽聽聽聽聽聽聽wt.write(content);
    聽聽聽聽聽聽聽聽聽聽聽聽wt.close();
    聽聽聽聽聽聽聽聽聽聽聽聽oraSession.flush();
    聽聽聽聽聽聽聽聽聽聽聽聽tx.commit();
    聽聽聽聽聽聽聽聽聽聽聽聽logger.info(
    "===================聽聽I(yíng)NSERT聽OK聽");
    聽聽聽聽聽聽聽聽}
    catch聽(Exception聽e)聽{
    聽聽聽聽聽聽聽聽聽聽聽聽
    if聽(tx聽!=null)
    聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽tx.rollback();
    聽聽聽聽聽聽聽聽聽聽聽聽logger.info(
    "===================聽聽NOT聽I(yíng)NSERT聽");
    聽聽聽聽聽聽聽聽聽聽聽聽logger.info(e);
    聽聽聽聽聽聽聽聽聽聽聽聽e.printStackTrace();
    聽聽聽聽聽聽聽聽}
    finally{
    聽聽聽聽聽聽聽聽聽聽聽聽oraSession.close();
    聽聽聽聽聽聽聽聽}

    聽聽聽聽聽聽聽聽
    returntrue;
    聽聽聽聽}


    }


    鍝堝搱錛屽氨鍐欏埌榪欓噷浜?jiǎn)锛屽揩娌¤溅浜?jiǎn)鈥︹?br />鏈変笉鎳傜殑鏈嬪弸錛屽彂e-mail鍚э紒
    erdosqiao@163.com


    ]]>
    主站蜘蛛池模板: 午夜亚洲av永久无码精品| 国产永久免费高清在线| 亚洲乱码无人区卡1卡2卡3| 国产婷婷综合丁香亚洲欧洲| 亚洲欧洲尹人香蕉综合| 亚洲神级电影国语版| 久久精品国产亚洲AV麻豆网站 | 国产亚洲精品免费视频播放| 猫咪免费观看人成网站在线| 国产亚洲成在线播放va| 亚洲精品无码久久久久A片苍井空| 最新亚洲卡一卡二卡三新区| 亚洲男同gay片| 日本一区二区三区在线视频观看免费| 在线观看亚洲专区| 四虎影视在线看免费观看| 成人免费观看男女羞羞视频| 国产裸体美女永久免费无遮挡| 免费看黄的成人APP| 美女视频黄a视频全免费网站色窝| 国产精品免费AV片在线观看| 99久久免费精品视频| 免费观看的毛片大全| 国产免费卡一卡三卡乱码| 亚洲国产一区视频| 亚洲成AV人片在WWW色猫咪 | 韩国日本好看电影免费看| 国产中文字幕免费观看| 亚洲日本va午夜中文字幕久久 | 国产精品成人观看视频免费| 成人免费午夜无码视频| 国产精品国产午夜免费福利看 | 久久久精品2019免费观看 | 四虎精品成人免费视频| 中国好声音第二季免费播放| 无码少妇精品一区二区免费动态| www视频免费看| 国产一级理论免费版| 久久夜色精品国产噜噜噜亚洲AV | 久久久久国产精品免费网站| 久久精品国产亚洲AV电影网|