Hi,

>  I guess it could be used to run the H2 integration tests as well...?

It would find tons of unclosed statements. (In H2, statements don't need to
be closed, so that's not a problem - but this doesn't necessarily apply to
other databases).

Regards,
Thomas



On Tue, Nov 26, 2013 at 2:24 PM, Lukas Eder <[email protected]> wrote:

> That looks like a pretty useful tool to me. I ran a quick check against
> the jOOQ <http://www.jooq.org> integration tests and it helped me find a
> couple of flaws in those tests. I guess it could be used to run the H2
> integration tests as well...?
>
> I'll soon blog about your tool, it's really a good idea and the code seems
> well-written to me.
>
> Cheers
> Lukas
>
> Am Dienstag, 26. November 2013 01:55:14 UTC+1 schrieb [email protected]
> :
>
>> JDBC lint helps Java programmers write correct and efficient code when
>> using the JDBC API.  This includes resource management, e.g., missing
>> Connection.close, incorrect use of JDBC, e.g., Statement.addBatch without
>> Statement.executeBatch, and potential optimizations, e.g., unread ResultSet
>> columns.  JDBC lint wraps DataSource and Connection and via dynamic proxy
>> classes and thus has compatibility with all applications using JDBC.  I
>> tested against H2 and MySQL and hope users find this helpful:
>>
>> https://github.com/maginatics/jdbclint<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fmaginatics%2Fjdbclint&sa=D&sntz=1&usg=AFQjCNHK1HL4JnCFUOs2XH-71erwXDY25Q>
>>
>> I appreciate any feedback!
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/h2-database.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to