Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Connect to Transbase via Spring Boot

I’m currently looking for the most convenient way to connect to a Transbase DB with Spring Boot.
Is it even possible with Spring JDBC? Do I need additional drivers? And what do I need to configure in my application.properties? I couldn’t make it work by now.

Already tried to search for someone who has done this before but Transbase does not seem to be very popular, so without success.

Best regards

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Yes, you need to add additional Transbase jdbc driver to your classpath.

And you can configure your your spring boot with following properties:

spring.datasource.driver-class-name: transbase.jdbc.Driver
spring.datasource.url: jdbc:<your jdbc url>
spring.datasource.username: <username>
spring.datasource.password: <password>

And if you got any database specific additional properties, set it like this

spring.datasource.hikari.data-source-properties.<your datasource specific property key> : <value>
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading