This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line!
See this thread for details.
Win a copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java this week in the Agile and Other Processes forum!

hargun suri

Greenhorn
+ Follow
since Jun 04, 2018
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by hargun suri

I am new to flyway and struggling a bit to create tables using flyway in H2 database

I have created tables in my oracle Database using flyway script.

Now I want to perform some Junit test and want to create tables using Flyway script but not in
oracle Database instead I want to create this in H2 database (For unit test).

Flyway script used in my case is different both script have slightly different table structure.

Below is my project structure and configuration used





Below is the configuration present in src/main/resources folder

V1.0.0.0.001__tables.sql




application.properties

 

application-cca.properties






Below is the configuration present in src/test/resources folder

V1.0.0.0.001__tables.sql

   

test.properties

 

application-test.properties

 


I want that my junit should work independent of my src/resources but not able to achieve instead getting
below error whenever I run maven install




Either some time I get checksum related error.
1 month ago