FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

triffer/java-spring-db-init-sample · GitHub

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Database test data initialisation sample

This repository contains simple examples of how to initialize test data in a database with the Spring Boot @SQL annotation or DbUnit.

SQL annotation

The Spring Boot @Sql annotation provides a simple way to run SQL scripts for tests.

DbUnit

Using DbUnit we can add classes that provide a fluent API to create new database objects. In this example there is already a database.dtd, but you could also write a test component that can generate this file from an existing database.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL