Skip to content

Commit

Permalink
#44 deps up
Browse files Browse the repository at this point in the history
  • Loading branch information
Yegor Bugayenko committed Dec 15, 2015
1 parent da43200 commit 0412895
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 10 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
[![Build Status](https://travis-ci.org/jcabi/jcabi-jdbc.svg?branch=master)](https://travis-ci.org/jcabi/jcabi-jdbc)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.jcabi/jcabi-jdbc/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.jcabi/jcabi-jdbc)
[![JavaDoc](https://img.shields.io/badge/javadoc-html-blue.svg)](http://www.javadoc.io/doc/com.jcabi/jcabi-jdbc)
[![Coverage Status](https://coveralls.io/repos/jcabi/jcabi-jdbc/badge.svg?branch=master&service=github)](https://coveralls.io/github/jcabi/jcabi-jdbc?branch=master)
[![Dependencies](https://www.versioneye.com/user/projects/561ac40ea193340f28001102/badge.svg?style=flat)](https://www.versioneye.com/user/projects/561ac40ea193340f28001102)

More details are here: [jdbc.jcabi.com](http://jdbc.jcabi.com/index.html).
Expand Down
47 changes: 44 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.8</version>
<version>1.10</version>
<executions>
<execution>
<goals>
Expand Down Expand Up @@ -314,7 +314,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<version>1.4.0</version>
<executions>
<execution>
<id>unzip-postgresql-linux</id>
Expand Down Expand Up @@ -381,7 +381,6 @@
<plugin>
<groupId>com.qulice</groupId>
<artifactId>qulice-maven-plugin</artifactId>
<version>0.11</version>
<configuration>
<excludes>
<exclude>findbugs:.*</exclude>
Expand All @@ -393,5 +392,47 @@
</plugins>
</build>
</profile>
<profile>
<id>coveralls</id>
<activation>
<file><exists>pom.xml</exists></file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<executions>
<execution>
<phase>site</phase>
<goals>
<goal>cobertura</goal>
</goals>
<configuration>
<format>xml</format>
<maxmem>256m</maxmem>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.1.0</version>
<executions>
<execution>
<phase>site</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<repoToken>${coveralls.token.jdbc}</repoToken>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
1 change: 1 addition & 0 deletions src/main/java/com/jcabi/jdbc/ColumnOutcome.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
* @author Yegor Bugayenko ([email protected])
* @version $Id$
* @since 0.13
* @param <T> Type of items
*/
@Immutable
@ToString
Expand Down
15 changes: 8 additions & 7 deletions src/main/java/com/jcabi/jdbc/JdbcSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,26 +122,23 @@ public final class JdbcSession {
/**
* Arguments.
*/
private final transient Collection<Object> args =
new CopyOnWriteArrayList<Object>();
private final transient Collection<Object> args;

/**
* Arguments.
* @since 0.13
*/
private final transient Collection<Preparation> preparations =
new CopyOnWriteArrayList<Preparation>();
private final transient Collection<Preparation> preparations;

/**
* Connection currently open.
*/
private final transient AtomicReference<Connection> connection =
new AtomicReference<Connection>();
private final transient AtomicReference<Connection> connection;

/**
* Shall we close/autocommit automatically?
*/
private transient boolean auto = true;
private transient boolean auto;

/**
* The query to use.
Expand All @@ -154,6 +151,10 @@ public final class JdbcSession {
*/
public JdbcSession(
@NotNull(message = "data source can't be NULL") final DataSource src) {
this.args = new CopyOnWriteArrayList<Object>();
this.preparations = new CopyOnWriteArrayList<Preparation>();
this.connection = new AtomicReference<Connection>();
this.auto = true;
this.source = src;
this.preparations.add(new PrepareArgs(this.args));
}
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/jcabi/jdbc/ListOutcome.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
* @author Yegor Bugayenko ([email protected])
* @version $Id$
* @since 0.13
* @param <T> Type of items
*/
@Immutable
@ToString
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/jcabi/jdbc/SingleOutcome.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
* @author Yegor Bugayenko ([email protected])
* @version $Id$
* @since 0.1.8
* @param <T> Type of items
*/
@Immutable
@ToString
Expand Down

0 comments on commit 0412895

Please sign in to comment.