File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Connect to MDF database using Spring JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Connect to MDF database using Spring JDBC" Watch "Connect to MDF database using Spring JDBC" New topic
Author

Connect to MDF database using Spring JDBC

Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 208
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

Joined: Feb 05, 2001
Posts: 17250
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Connect to MDF database using Spring JDBC