Registry / database / jdbc-postgres

jdbc-postgres

JSON →
library42.7.11rbrubygemsunverified

Install this gem `require 'jdbc/postgres'` and invoke `Jdbc::Postgres.load_driver` within JRuby to load the driver.

gem install jdbc-postgres
INSTALL
IMPORT
SIG · JDBC-POSTGRES
J
jdbc-postgres
databaserubyv42.7.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Jdbc::Postgres
require 'jdbc/postgres'

Load the PostgreSQL JDBC driver in JRuby and connect to a database

require 'jdbc/postgres' Jdbc::Postgres.load_driver require 'java' conn = java.sql.DriverManager.get_connection('jdbc:postgresql://localhost/mydb', 'user', 'pass')
Debug
Known issues
breakingOnly works with JRuby, not CRuby
fix
Use the `pg` gem instead for CRuby
affects: >= 0
Upgrade
Version history
42.7.11latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Bingbot
1
Resources
jdbc-postgres — gem install jdbc-postgres · libregistry