example-generator/src/main/java/com/example/generator/Application.java
@Bean
	public DataSource dataSource() {

        // Replace this with your own datasource.
        return new EmbeddedDatabaseBuilder()
                .setName("test")
                .setType(EmbeddedDatabaseType.HSQL)
                .addScript("classpath:hsql-schema.sql")
                .build();	    	    
	}
@Bean
	public DataSource dataSource() {

        // Replace this with your own datasource.
        return new EmbeddedDatabaseBuilder()
                .setName("test")
                .setType(EmbeddedDatabaseType.HSQL)
                .addScript("classpath:hsql-schema.sql")
                .build();	    	    
	}
@ Bean public DataSource dataSource ( ) { // Replace this with your own datasource. return new EmbeddedDatabaseBuilder ( ) . setName ( "test" ) . setType ( EmbeddedDatabaseType . HSQL ) . addScript ( "classpath:hsql-schema.sql" ) . build ( ) ; }
Use this data source to create an embedded database.
Use this data source to create an embedded database .