How can I set a JDBC embedded-database to use the Sybase dialect?
Here is what I have:
<jdbc:embedded-database id="dataSource">
<jdbc:script location="classpath:myscript.sql"/>
</jdbc:embedded-database>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Out of the box, Spring supports H2, Derby, and HSQL embedded databases. If you want to use a different one, you will either have to find someone who has already created support for the one you are looking for, or else you will have to build it on your own.
If you take a look at 13.8.4 of the Spring documentation, they provide the extension points which you could implement to do it yourself (via
EmbeddedDatabaseConfigurerorDataSourceFactory). I would also recommend browsing their Jira page to see if anyone is working on implementing support for the embedded database you are after.