rickbw / crud-jdbc

An implementation of the Crud API for JDBC.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crud JDBC

This project provides an implementation of the Crud API for JDBC.

The implementation is quite basic at this time. Two Resource types are currently supported:

SQL statements are passed into the API via JDBC-compatible PreparedStatement strings (with optional placeholders for parameters). Therefore, the API is not able to differentiate among insertions, updates, or deletions, so it models them all uniformly with a single UpdatableResource implementation.

Most applications will not use the above Resource implementation classes directly. Instead, they will start with the corresponding ResourceProviders, which implement URI-based lookup of particular Resources. For example, JdbcReadableResourceProvider provides instances of JdbcReadableResource on demand.

See Also

  • The Crud API project (crud-api) defines the core abstractions and the public API on which this project is based.
  • crud-api is built on top of RxJava.
  • Crud HTTP (crud-http) is a sister project to this project, implemented for HTTP instead of JDBC.
  • Crud Voldemort (crud-voldemort) is a sister project to this project, implemented for Project Voldemort instead of JDBC.

Copyright and License

All files in this project are copyright Rick Warren and, unless otherwise noted, licensed under the terms of the Apache 2 license.

About

An implementation of the Crud API for JDBC.

License:Apache License 2.0


Languages

Language:Java 100.0%