I want to specify the URL for the jdbc:embedded-database
tag. Is this not possible?
For example, if I have the following in my context:
<jdbc:embedded-database type="HSQL" id="dataSource">
<jdbc:script execution="INIT" location="classpath:com/example/init.sql" />
</jdbc:embedded-database>
It will create an in memory database located at jdbc:hsqldb:mem:dataSource
What I want to do is be able to have a different bean ID and database name...
For example:
<jdbc:embedded-database type="HSQL" id="dataSource" url="jdbc:hsqldb:mem:testdb">
<jdbc:script execution="INIT" location="classpath:com/example/init.sql" />
</jdbc:embedded-database>