Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goku JDBC

This is an Oracle JDBC DataSource wrapper. It replace the SQLException message with オッス ORA-XXXXX when there is a corresponding error.

GokuDataSource ds = new GokuDataSource();
ds.setConnectionFactoryName("oracle.jdbc.pool.OracleDataSource");
ds.setURL("jdbc:oracle:thin:@localhost:1521:xe");
ds.setUser("scott");
ds.setPassword("tiger");
try (Connection conn = ds.getConnection();
     Statement stmt = conn.createStatement()) {
    stmt.execute("SELECT hoge FROM huga");
}
net.unit8.goku.GokuSQLException: オッス ORA-00942

About

🐲 Ossu ORA-XXXXX 🔮

Resources

Stars

12 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages