Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Before
- public void setUp() throws Exception {
- embeddedDatabase = new EmbeddedDatabaseBuilder()
- .addDefaultScripts()
- .setType(EmbeddedDatabaseType.H2)
- .build();
- jdbcTemplate = new JdbcTemplate(embeddedDatabase);
- personRepository = new PersonRepositoryImpl(jdbcTemplate);
- }
Add Comment
Please, Sign In to add comment