diff options
author | Tim McCune <javajedi@users.sf.net> | 2005-04-07 14:32:19 +0000 |
---|---|---|
committer | Tim McCune <javajedi@users.sf.net> | 2005-04-07 14:32:19 +0000 |
commit | 08dcaee297433626be8ac74d0723a4b22001ed7e (patch) | |
tree | e360b4105fde834bbaca122640ea66258e0aa7b8 /xdocs | |
download | jackcess-hms.tar.gz jackcess-hms.zip |
Imported sourceshms
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/hms@2 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'xdocs')
-rw-r--r-- | xdocs/faq.fml | 110 | ||||
-rw-r--r-- | xdocs/index.xml | 47 |
2 files changed, 157 insertions, 0 deletions
diff --git a/xdocs/faq.fml b/xdocs/faq.fml new file mode 100644 index 0000000..f15981d --- /dev/null +++ b/xdocs/faq.fml @@ -0,0 +1,110 @@ +<?xml version="1.0"?> + +<faqs title="Frequently Asked Questions"> + + <part id="general"> + <title>General</title> + + <faq id="linux"> + <question>Does this work on Linux/Unix?</question> + <answer> + <p>Yep, Jackcess is pure Java. It will work on any + Java Virtual Machine (1.4+).</p> + </answer> + </faq> + + <faq id="formats"> + <question>What Access formats does it support?</question> + <answer> + <p>Jackcess currently supports <i>only</i> Access 2000 + databases. Access 2003 is not supported.</p> + </answer> + </faq> + + <faq id="mdbtools"> + <question> + How is this different from + <a href="http://mdbtools.sf.net">mdbtools</a>? + </question> + <answer> + <p> + We want to give a lot of credit to mdbtools. They have + been around much longer than Jackcess, and, along with + <a href="http://jakarta.apache.org/poi">POI</a>, + inspired us that a project like this could be done. + mdbtools is written in C. There is a Java port of it, + but if you've ever read or used a Java port of a C + library, you can appreciate the difference between such + a library and one written from scratch in Java. + </p> + <p> + At the time of this writing, mdbtools could only read + Access databases. Jackcess can also write to them. + According to their web site, "Write support is currently being + worked on and the first cut is expected to be included in the + 0.6 release." This status hasn't changed since we first + started work on Jackcess. + </p> + <p> + mdbtools supports Access 97 databases, which Jackcess does not. + The Java port of mdbtools also includes an implementation of + a small subset of the JDBC APIs. Jackcess does not currently, + but a pure Java JDBC driver for Access could certainly be written + on top of Jackcess. + </p> + </answer> + </faq> + + <faq id="poi"> + <question> + This looks like a logical addition to + <a href="http://jakarta.apache.org/poi">POI</a>. Why not integrate + with that project? + </question> + <answer> + <p> + POI is released under + <a href="http://www.apache.org/foundation/licence-FAQ.html">The Apache License</a>. + Jackcess is released under + <a href="http://www.gnu.org/copyleft/lesser.html">The GNU Lesser General Public License</a>. + The Apache license allows closed-source and/or commercial forks. + The LGPL does not. If you change or enhance Jackcess, you must contribute + your changes back to the project. + </p> + </answer> + </faq> + + <faq id="hms"> + <question>Who is Health Market Science?</question> + <answer> + <p> + HMS is a small company located in suburban Philadelphia. + Using proprietary matching and consolidation software, + HMS scientifically manufactures the most comprehensive + and accurate healthcare data sets in the market today. + <a href="http://www.healthmarketscience.com/careers.htm">We're hiring!</a> + HMS is always looking for talented individuals, especially + <a href="http://www.healthmarketscience.com/hr_web/active/hms_software_developer.htm">Java developers</a>. + </p> + </answer> + </faq> + + <faq id="bugs"> + <question>It doesn't work!</question> + <answer> + <p> + Ok, that wasn't a question, but we'll try to respond anyway. :) + Jackcess is young, and not that robust yet. As you might imagine, + it's kind of hard to test, simply by its nature. There are + bugs that we are aware of, and certainly many more that we are not. + If you find what looks like a bug, please + <a href="http://sf.net/tracker/?group_id=134943&atid=731445">report it.</a> + Even better, fix it, and + <a href="http://sf.net/tracker/?group_id=134943&atid=731447">submit a patch.</a> + </p> + </answer> + </faq> + + </part> + +</faqs> diff --git a/xdocs/index.xml b/xdocs/index.xml new file mode 100644 index 0000000..f01b6f9 --- /dev/null +++ b/xdocs/index.xml @@ -0,0 +1,47 @@ +<?xml version="1.0"?> + +<document> + <properties> + <author email="javajedi@users.sf.net">Tim McCune</author> + </properties> + <body> + <section name="Jackcess"> + <p> + Jackcess ia a pure Java library for reading from and + writing to MS Access databases. It is not an application. + There is no GUI. It's a library, intended for other + developers to use to build Java applications. Take a look + at our <a href="faq.html">Frequently Asked Questions</a> + for more info. + </p> + </section> + <section name="Sample code"> + <p> + <ul> + <li>Displaying the contents of a table: + <pre>Database.open(new File("my.mdb")).getTable("MyTable").display();</pre> + </li> + <li>Creating a new table and writing data into it: + <pre>Database db = Database.create(new File("new.mdb")); +Column a = new Column(); +a.setName("a"); +a.setSQLType(Types.INTEGER); +Column b = new Column(); +b.setName("b"); +b.setSQLType(Types.VARCHAR); +db.createTable("NewTable", Arrays.asList(a, b)); +Table newTable = db.getTable("NewTable"); +newTable.addRow(new Object[] {1, "foo"});</pre> + </li> + <li>Copying the contents of a JDBC ResultSet (e.g. from an +external database) into a new table: + <pre>Database.open(new File("my.mdb")).copyTable("Imported", resultSet);</pre> + </li> + <li>Copying the contents of a CSV file into a new table: + <pre>Database.open(new File("my.mdb")).importFile("Imported2", new File("my.csv"), ",");</pre> + </li> + </ul> + </p> + </section> + </body> +</document> |