Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connect to MDF database using Spring JDBC

 
Niall Loughnane
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Anyone know of a good tutorial or example code for connecting to a MDF database using Spring JDBC?

Thanks,

Niall
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is MDF???

If there is a JDBC Driver jar for it, just include it in your classpath and create a bean for your DataSource that points to the MDF database and the Jdbc DataSource class that comes with the JDBC Driver you found for MDF.

It should be any different than any other JDBC DataSource that you would define as a bean to connect to it.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic