Hi Charles

Then you'd have to modify your scripts to change the default statement 
separator (;) to something else (like ';;') using setSeparator(). And then 
you'd have to end all SQL statements in your db-*.sql files to end with ;; 
instead of just ; or whatever separator you choose:

@Bean(name = "dataSource")@Autowiredpublic EmbeddedDatabase dataSource() {
        return new 
EmbeddedDatabaseBuilder().setType(EmbeddedDatabaseType.H2).addScripts("db-c12-schema.sql",
 "db-c12-test-data.sql").setSeparator(";;").build();
}


But that would be more of a Spring question...

Regards,
Christian

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to