Hi,

The default jar file of H2 is compiled for Java 6, not Java 7. To use the
JDBC methods that were added in Java 7, you need to compile H2 using Java
7. But please note that many such new methods are not yet supported (for
example getSchema).

Patches for new JDBC features introduced in Java 7 are welcome!

Regards,
Thomas



On Saturday, August 30, 2014, cowwoc <[email protected]> wrote:

> Hi Noel,
>
> I neglected to mention: I am getting "java.lang.AbstractMethodError:
> abstract method not implemented" when invoking getSchema() which sounds
> like a bug to me. Can you reproduce this on your end using version 1.3.176?
>
> Thanks,
> Gili
>
> On 30/08/2014 1:32 AM, Noel Grandin wrote:
>
>> We do implement the JDK7 methods. The /*### stuff is our build
>> preprocessor we use to make it easier to switch back and forth between
>> developing on JDK6 and JDK7.
>>
>> On Fri, Aug 29, 2014 at 7:09 PM, Gili <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> Why does JdbcConnection not implement getSchema() and other methods
>>> introduced in JDK 7? I see this in the code:
>>>
>>>      /**
>>>       * [Not supported]
>>>       */
>>> /*## Java 1.7 ##
>>>      @Override
>>>      public String getSchema() {
>>>          return null;
>>>      }
>>> //*/
>>>
>>> Is there a technical reason support can't be added?
>>>
>>> Gili
>>>
>>> --
>>> 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/d/optout.
>>>
>>
> --
> 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/d/optout.
>

-- 
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/d/optout.

Reply via email to