Giter Site home page Giter Site logo

bad-robot's People

Contributors

justfriend avatar

Watchers

 avatar

bad-robot's Issues

Cannot release connection

What steps will reproduce the problem?
1. 執行了完全同步
2. 查詢了幾次典型查詢和一般查詢
3. 
application閒置了2小時多,再使用一般查詢查資料,會產生以��
�錯誤

使用以下連線資訊 :
        <!-- DB Connection -->
        <property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
        <property name="hibernate.connection.username">sopaadmin</property>
        <property name="hibernate.connection.password">systex</property>
        <property name="hibernate.connection.url">jdbc:oracle:thin:@10.10.56.119:1521:OM2ML</property>
        <property name="hibernate.default_schema">SOPAADMIN</property>

        <!-- DB Feature -->
        <property name="hibernate.jdbc.fetch_size">200</property>
        <property name="hibernate.jdbc.batch_size">300</property>
        <property name="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</property>
        <property name="hibernate.show_sql">false</property>
        <property name="hibernate.formate_sql">false</property>

        <!-- POOL - DBCP (Do not provide DBCP provider since Hibernate 3) -->
        <property name="hibernate.connection.provider_class">com.systex.sop.cvs.util.DBCPConnectionProvider</property>
        <property name="hibernate.connection.autocommit">false</property>
        <property name="hibernate.dbcp.traceConnection">false</property>
    <property name="hibernate.dbcp.initialSize">3</property>
    <property name="hibernate.dbcp.maxActive">10</property>
    <property name="hibernate.dbcp.minIdle">0</property>
    <property name="hibernate.dbcp.maxIdle">10</property>
    <property name="hibernate.dbcp.maxWait">30000</property>


Original issue reported on code.google.com by [email protected] on 16 Feb 2012 at 6:21

Attachments:

產生的cvslog記錄檔內容中文為亂碼

我電腦有重灌過,在執行同步後,發覺寫入db的資料,中文部
分為亂碼,初步發現是因為寫cvslog檔時指定了MS950,在cvslog檔
案時就已經是亂碼,但在重灌前並不會是亂碼,再將MS950改為
UTF-8再跑一次時,就正常了。

目前預計調整寫cvslog的方式,讓他不會因環境而影響。

Original issue reported on code.google.com by [email protected] on 3 Mar 2012 at 6:35

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.