Can I Use Jaxer with ODBC Drivers?

Yes, you can use Jaxer to access datasources accessible though ODBC

The sample code below demonstrates how to use the mozilla native database support to access an ODBC driver. The code is setup to access a preconfigured DSN ('SQLEXPRESS') and run a query against a table named 'jaxer'. Example results are shown after the code

Included in the comments of the code are links to external documents containing documentation or further examples for the Mozilla native database support.

This sample code is only supported with Jaxer build 2109 or later. you can download the latest version here

When this code is run the output is logged to the Jaxer log file. It should look something like this.

00:01:48 02/13/2008 [  2204] [INFO] [JS Framework] [odbc.] ------------------------------------------------------
00:01:48 02/13/2008 [  2204] [INFO] [JS Framework] [odbc.] comment                                 | tags                                   
00:01:48 02/13/2008 [  2204] [INFO] [JS Framework] [odbc.] ------------------------------------------------------
00:01:48 02/13/2008 [  2204] [INFO] [JS Framework] [odbc.] Jaxer Baby!                             | groovey                                
00:01:48 02/13/2008 [  2204] [INFO] [JS Framework] [odbc.] No Sleep til Jaxer                      | beastie                                
00:01:48 02/13/2008 [  2204] [INFO] [JS Framework] [odbc.] It's Jaxtastic!                         | plastic                                
00:01:48 02/13/2008 [  2204] [INFO] [JS Framework] [odbc.] ------------------------------------------------------