DB Table

DB Table is an implementation of the Guava Table interface, backed by JDBI.

GroupId

GroupId

com.jamierf.db-table
ArtifactId

ArtifactId

db-table
Last Version

Last Version

0.1
Release Date

Release Date

Type

Type

pom
Description

Description

DB Table
DB Table is an implementation of the Guava Table interface, backed by JDBI.
Project URL

Project URL

https://github.com/reines/db-table
Source Code Management

Source Code Management

https://github.com/reines/db-table

Download db-table

Filename Size
db-table-0.1.pom 2 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/com.jamierf.db-table/db-table/ -->
<dependency>
    <groupId>com.jamierf.db-table</groupId>
    <artifactId>db-table</artifactId>
    <version>0.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.jamierf.db-table/db-table/
implementation 'com.jamierf.db-table:db-table:0.1'
// https://jarcasting.com/artifacts/com.jamierf.db-table/db-table/
implementation ("com.jamierf.db-table:db-table:0.1")
'com.jamierf.db-table:db-table:pom:0.1'
<dependency org="com.jamierf.db-table" name="db-table" rev="0.1">
  <artifact name="db-table" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.jamierf.db-table', module='db-table', version='0.1')
)
libraryDependencies += "com.jamierf.db-table" % "db-table" % "0.1"
[com.jamierf.db-table/db-table "0.1"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

  • db-table-core
  • db-table-jackson

DB Table

Build Status Maven Central

DB Table is an implementation of the Guava Table interface, backed by JDBI. It is designed and tested against the Java SQL database H2, though with some minor dialect tweaks should work on any supported by JDBI.

DB Table can be found in maven central.

Installation

<dependency>
    <groupId>com.jamierf.db-table</groupId>
    <artifactId>db-table-jackson</artifactId>
    <version>...</version>
</dependency>

Usage

final Handle handle = DBI.open("jdbc:h2:example.db");
final Table<String, String, String> table = new JacksonDbTableBuilder(handle)
    .build("table_name", String.class, String.class, String.class);
table.put("row", "column", "value");

License

Released under the Apache 2.0 License.

Versions

Version
0.1