• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

JDBC driver for XML?

 
Ranch Hand
Posts: 297
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was looking at database drivers recently, noticed that there are ODBC to XML drivers, also ODBC to text drivers. Wondering if there is a JDBC to XML driver. Might be useful for a small database.
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Many database vendors are jumping into the XML bandwagon supporting seamless SQL/XML integration . Oracle has a repertoire of XML-enabled interfaces. So does Sybase, SQL Server etc. The point to note however, is that these tools and frameworks are native and cannot be used as generic( cross-vendor ) solutions.
Having said that, I should point out that it is fairly easy to write your own lightweight class library to format a DB resultset to XML and vice-versa. The book "XML Databases" by Wrox Press ( Author Kevin Williams ) is written specifically to address XML-DB integration and using an XML file itself to represent a small hierarchical database. If you haven't read it, I suggest you check it out!
Good luck,

------------------
Ajith Kallambella M.
Sun Certified Programmer for the Java�2 Platform.
IBM Certified Developer - XML and Related Technologies, V1.
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Excellent reference. It helped me tremendously as did Ajith's timely advice to hard code customized xml based on my particular data. I think that remains the best way at this point in the technology.
Sanjay
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!