wood burning stoves 2.0*
The moose likes JDBC and the fly likes JDBC with XML files. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC with XML files." Watch "JDBC with XML files." New topic
Author

JDBC with XML files.

Care Carjev
Greenhorn

Joined: Aug 29, 2012
Posts: 1
Hello guys !

I have a bit of situation on which i really can't find any answer on google :x: so i'm turning to you guys... so here it is:

I would like to open XML files (.xml) on computer with a JDBC driver (instead of new File() function). So actually i want same functionality as Derby Enbedded Driver does, but instead of opening .db files i want to open .xml files. I'm using XML files for saving data like databases are - with tables, schemas and stuff. I can write something like my own JDBC driver, or extend from some driver that already does something like that.. I would like to make something, so i could connect like this:



Once i'm connected with driver, i would also like to use SQL statements for my XML file database.
I hope i was clear enough so you have idea what i'm trying to achieve here.

Any tips, help would be much appreciated !

greetz,
alkic1
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3606
    
  60

Welcome to the Ranch, Care!

Which keywords did you use in your search? I got a promising hit on the very first term I've tried, in just a few seconds.

So, please do SearchFirst. It's really hard to believe you haven't hit anything useful.
Wei Dai
Ranch Hand

Joined: Jun 22, 2005
Posts: 86
A commercial XML JDBC driver is at http://www.hxtt.com/xml.html
 
jQuery in Action, 2nd edition
 
subject: JDBC with XML files.
 
Similar Threads
BMP, Jboss, and mysql configuring
Tutorial PostgreSQL 8.3 on Glassfish V2.1 for ConnectionPool in Netbeans 6.5.1, WindowsXP (Post 3)
SQL Server DSN - JdbcOdbcDriver
Non-CSV, Flat File JDBC Driver
Looking for a database to Java code generator