Top "H2" questions

H2 is a relational database management system written in Java.

Timeout error trying to lock table in h2

I get the following error under a certain scenario When a different thread is populating a lot of users via …

h2
Spring Data JPA Unable to locate Attribute with the given name

I was trying to use Spring Data JPA on Spring Boot and I kept getting error, I can't figure out …

java spring-boot spring-data-jpa h2
How to use current date in H2 database SQL query

I need something like select * from tableName where date_column > now() However, now() doesn't work in H2. Please advise.

sql h2
Start and setup in-memory DB using Spring

I'm writing a small demo application in Java using Spring, that needs to have access to a database. It should …

database spring h2 imdb
Why I can't get the org.h2.Driver? I use maven

I face a problem about connecting to H2 this is my pom.xml: <project> <modelVersion>4.0.0</…

java maven jdbc classpath h2
Creating a table in h2 database using predefined sequence for primary key

I am trying to create a table in an H2 database. How do I specify that the primary key should …

sequence h2 ddl
create if not exists view?

Is there any way to create view if not exists in MySQL or H2 Database?

sql mysql view h2
How to use a path relative to project root to H2 db-file configuration with Play Framework 2.4?

We're developing a Play 2.4 application (Java API). For dev purposes, we'd like to use a persistent H2 database with DB …

jdbc h2 relative-path persistent playframework-2.4
Database not found, and IFEXISTS=true, so we cant auto-create it

I am getting error after opening the h2 database console. I enter database name but it is showing database not …

spring-boot h2
Export data from H2 database into CSV

I have a stand alone H2 server up and running gathering data. For testing I want to get data out …

csv h2