Top "H2" questions

H2 is a relational database management system written in Java.

Caused by: java.sql.SQLException: Connection is not associated with a managed connection.org.jboss.resource.ada

I have an application with Jboss, Seam, Hibernate and h2. I wrote a simple action for importing data to the …

java hibernate jboss jboss5.x h2
Where are my H2 database files?

I'm just evaluating the H2 database... I downloaded and unpacked the installation and connect to a database at jdbc:h2:…

java h2
Initialize database without XML configuration, but using @Configuration

I would like to know how to initialize a database without having to create an XML file. I already use …

java spring h2
Why is my embedded h2 program writing to a .mv.db file

I followed the quickstart guide on the h2 database website to create a new database a table and insert some …

java database jdbc h2
How can solve JSON column in H2

I use in application MySQL 5.7 and I have JSON columns. When I try running my integration tests don't work because …

java spring hibernate h2 mysql-5.7
How to use DESC command in H2 Database?

My friend showed me in ORACLE that using DESC Table NAme was showing information about columns of table. But running …

h2
Why am I getting a Primary Key violation for an @OneToMany property?

I have an entity: @Entity public class Student { @GeneratedValue(strategy = GenerationType.AUTO) @Id private long id; @OneToMany private Set<…

java hibernate jpa h2 spring-data-jpa
Spring Testing with H2 db configuration

I use Oracle in production environment and I would like to use H2 for testing. I can type; <jdbc:…

h2 spring-test
What is the proper way to close H2?

This is related to this post. I think I am having problem with H2 meaning that it does not close …

java tomcat jdbc database-connection h2
Schema related problems with Flyway / Spring and H2 embedded database

I am building a Spring 3 MVC app that uses a MySQL database and have recently integrated Flyway into the solution …

spring h2 flyway