Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

spring h2 database dependency

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-data-jpa</artifactId>
    <version>2.1.4.RELEASE</version>
</dependency>
<dependency>
    <groupId>com.h2database</groupId>
    <artifactId>h2</artifactId>
    <scope>runtime</scope>
    <version>1.4.199</version>
</dependency>
Comment

h2 database spring boot

spring.datasource.url=jdbc:h2:mem:testdb
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=password
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
Comment

PREVIOUS NEXT
Code Example
Java :: arraylist java 
Java :: java scanner netLine 
Java :: javafx how to change shape color 
Java :: toast no android 
Java :: how to create a stack data structure in java? 
Java :: java string to decimal 
Java :: random java 
Java :: how to add animation between activity in android 
Java :: date format android 
Java :: android how to get current activity 
Java :: java lowercase 
Java :: How to remove backstack fragment 
Java :: java iso 8601 format 
Java :: java sealed class 
Java :: Problem adding rectangle in javaFX 
Java :: Get the last Friday of a month in Java 
Java :: java text file to arraylist 
Java :: Java for Keyword 
Java :: open camera or gallery on button click android 
Java :: Java Stack class peek() method 
Java :: multiple type array java 
Java :: check if string is uuid 
Java :: java protected 
Java :: springdoc 
Java :: java leap year 
Java :: java how to convert string to int 
Java :: insert element into arraylist java 
Java :: code for checking android build version 
Java :: android application class 
Java :: sort a string array java 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =