Skip to content

tlrobinson/commonjs-jdbc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JDBC for CommonJS

A minimal wrapper for JDBC in Rhino / Narwhal.

API

Open a MySQL database:

connect: function(connectionString, options) -> java.sql.Connection

More information:

Examples

var JDBC = require("jdbc");

// MySQL:
JDBC.connect("jdbc:mysql://localhost/bd?user=user&password=password");

// SQLite:
JDBC.connect("jdbc:sqlite::memory:");

TODO

  • Actually wrap JDBC objects and perform translations between JavaScript and Java objects.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published