Giter VIP home page Giter VIP logo

jdbclint's People

Contributors

diwakergupta avatar gaul avatar julio-lopez avatar lukaseder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jdbclint's Issues

Warn about large ResultSet

Some implementations like MySQL buffer all results in-memory then send them to the JDBC drivers to make small ResultSet faster. Users can enable streaming mode to work around this for large ResultSet. Warn about large ResultSet so users can detect when they are using too much memory.

Eagerly warn about unclosed resources

JDBC lint could eagerly warn about unclosed by tracking them in the parent. For example, DataSource could collect all created Connections in a list, Connection.close would remove from this list, and DataSource.close could warn when the list contains any elements. We should also investigate using weak references/reference queues instead of finalization since the former is more reliable and would cooperate with this feature.

Add tests for missing close checks

Unsure how to address this since it relies on finalizer behavior. Enable file logging then run System.gc until the expected log message appears?

Provide more flexible configuration mechanism

Presently JDBC lint only exposes system properties to configure its checks. Instead it could expose its existing DataSource(Properties) and Connection(Properties) constructors which allow arbitrary configuration.

@diwakergupta does this address your use case?

Support Clob and NClob

These classes are similar to Blob and we can add support with a mechanism similar to Statement/PreparedStatement/CallableStatement.

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.