Hi, It does run significantly faster if you use Java 1.6 though, so you are encouraged to use that whenever possible.
Cheers, Sam Van Oort On Jan 21, 12:00 pm, Jesse Long <[email protected]> wrote: > Hi Chris, > > No, H2 does not require Java 1.6. It requires Java 1.5. All references > to NClob and other Java 1.6 JDBC types are commented out by default, and > enabled if you change the source to Java 1.6 using build switchSource. > So by default, H2 provides the JDBC interfaces as describes in the Java > 1.5 API, and if you run build switchSource, it enables parts of the code > to change H2 to provide Java 1.6 JDBC interfaces. > > Actually, the NClob implementation is incomplete even for 1.6. > > Cheers, > Jesse > > Chris wrote: > > I'm not sure if I'm missing something but h2 references java.sql.NClob > > class. If I look at the javadoc for this class: > >http://java.sun.com/javase/6/docs/api/java/sql/NClob.html > > > It states that it was introduced in Java 1.6. Is Java 1.6 now > > required to use the h2 database? -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
