Greetings,
maybe compile H2 from source by yourself with a JDK 8, just to prove
any doubts.
Best regards
Andreas
On Tue, 2023-05-23 at 14:51 +0530, Vardhan Belide wrote:
> Hi,
> I am trying to update from 1.4.200 to 2.1.214. I am using Java 8 in
> my project. I have the following piece of code
>
> private final Connection decorated;
> if(decorated instanceOf JdbcDataSource)
> {
> }
>
> I am getting the error message incompatible types:
> java.sql.Connection cannot be converted to
> org.h2.jdbcx.JdbcDataSource. I was not getting the compilation error
> with the previous version of h2.
>
> Any suggestions?
>
> Thanks
> Vardhan
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/h2-database/CAF11HREa73g0AQ_oEMYB7%3DqSfOpuKrowMZW5khTgRiTyOYC4Bg%40mail.gmail.com
> .
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/h2-database/746dfa3928a83d6ac73a3abc4014cc14af1d7573.camel%40manticore-projects.com.