Tag: h2
Posts of Tag: h2
  1. Guide to JPA with Hibernate - Relationship Mapping

    Guide to JPA with Hibernate - Relationship Mapping Introduction In this article, we'll dive into Relationship Mapping with JPA and Hibernate in Java. The Java Persistence API (JPA) is the persistence standard o...Learn More
    JavaDatabaseh2Hibernatejpa
  2. Integrating H2 with Node.js and Express

    Integrating H2 with Node.js and Express Introduction H2 is a lightweight database server written in Java. It can be embedded in Java applications, or run as a standalone server. In this tutorial, we'll review w...Learn More
    JavaScriptDatabaseNodejsexpressh2
  3. Integrating H2 with Python and Flask

    Integrating H2 with Python and Flask Introduction H2 is a lightweight database server written in Java. It can be embedded in Java applications, or run as a standalone server. In this tutorial, we'll review why ...Learn More
    PythonDatabaseJDBCflaskh2
  4. Guide to JPA with Hibernate - Basic Mapping

    Guide to JPA with Hibernate - Basic Mapping Introduction The Java Persistence API (JPA) is the persistence standard of the Java ecosystem. It allows us to map our domain model directly to the database structure...Learn More
    JavaDatabaseORMh2Hibernatejpa
  5. Integrating H2 Database with Spring Boot

    Integrating H2 Database with Spring Boot What is Spring Boot If you are a Spring developer, surely you are familiar with the overhead of repetitive configurations we need to do in order to set up a project. Hon...Learn More
    JavaDatabaseSpringSpring Booth2
  6. Hibernate and H2 "Referential integrity constraint violation" for OneToMany bidirectional mapping

    So I have two simple beans -- FatKid and Hamburgers. Now, for reasons unbeknownst to me I need to be able to not only look up all of the hamburgers someone ate, but also who ate which particular hamburger. On...Learn More
    h2Hibernateforeign-keysbidirectionalone-to-many
  7. H2 database: referring to a table in root schema from a foreign key constraint

    Given a table in root schema: CREATE TABLE user ( username VARCHAR(50), password VARCHAR(50)); and a table in Quiz schema: CREATE TABLE Quiz.Results ( username VARCHAR(50), points INT, FOR...Learn More
    JavaSQLDatabaseh2
  8. new domain object created with grails console not visible in dbconsole

    I am trying to create a new domain object in the grails console with the help of this guide. According to the console output the new object is created: grails> shell groovy:000> new foo.Book(titl...Learn More
    groovyh2GrailsGorm
  9. How to get the default schema of a SQL connection?

    From within a java code - where I already have a connection to a database - I need to find the default schema of the connection. I have the following code that gives me a list of all schemas of that connection...Learn More
    JavaSQLh2Db2
  10. Any real world experience with H2 database?

    Has anybody out there got any real world experience with the H2 database? I'm interested in: performance stability bugs ...Learn More
    JavaDatabaseh2
  11. merge in oracle missing keyword using

    I have used merge in H2 in memory db, it works fine for me. merge into quickbooks_companies(COMPANY_NAME,ACCESS_TOKEN,ACCESS_TOKEN_SECRET,DATE_TOKEN_RETRIEVED) key (COMPANY_NAME) values('${companyName}',#[mess...Learn More
    h2Oracle
  12. Restoring all possible information from a corrupt h2 database file

    I have a seemingly corrupt h2 database. I can use org.h2.tools.Recover to get a .sql file with most of the information, however, a couple of tables are missing. The contents of these tables is still in the ori...Learn More
    SQLh2Corruptiondatabase-restore