Skip to content
This repository was archived by the owner on May 8, 2021. It is now read-only.

Commit f1eff79

Browse files
committed
Switched version to 1.0.0, Added README.md, Fixed some errors in the JavaDoc, Updated guava
1 parent 7a301d2 commit f1eff79

File tree

7 files changed

+34
-9
lines changed

7 files changed

+34
-9
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# aSQL
2+
3+
An efficient library for dealing with databases asynchronously
4+
5+
## How to add this library in your project
6+
7+
<repositories>
8+
<repository>
9+
<id>jitpack.io</id>
10+
<url>https://jitpack.io</url>
11+
</repository>
12+
</repositories>
13+
14+
<dependencies>
15+
<dependency>
16+
<groupId>com.github.Glyart</groupId>
17+
<artifactId>aSQL</artifactId>
18+
<version>VERSION</version>
19+
<scope>compile</scope>
20+
</dependency>
21+
</dependencies>
22+
23+
## How to use?
24+
25+
Work in progress

bungeecord/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>aSQL-parent</artifactId>
77
<groupId>com.glyart</groupId>
8-
<version>1.0.0-SNAPSHOT</version>
8+
<version>1.0.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

common/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>aSQL-parent</artifactId>
77
<groupId>com.glyart</groupId>
8-
<version>1.0.0-SNAPSHOT</version>
8+
<version>1.0.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

@@ -66,7 +66,7 @@
6666
<dependency>
6767
<groupId>com.google.guava</groupId>
6868
<artifactId>guava</artifactId>
69-
<version>23.0</version>
69+
<version>30.0-jre</version>
7070
<scope>compile</scope>
7171
</dependency>
7272
</dependencies>

common/src/main/java/com/glyart/asql/common/database/DataTemplate.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ public <S> CompletableFuture<List<S>> query(@NotNull String sql, @Nullable Prepa
451451

452452
/**
453453
* Executes a query given a SQL statement: it will be used to create a PreparedStatement.
454-
* Then a list of arguments will be bind to the query.
454+
* Then a list of arguments will be bound to the query.
455455
* The {@link ResultSetExtractor} implementation will read the ResultSet.
456456
* @param sql the query to execute
457457
* @param args arguments to bind to the query
@@ -465,7 +465,7 @@ public <S> CompletableFuture<S> query(@NotNull String sql, @Nullable Object[] ar
465465

466466
/**
467467
* Executes a query given a SQL statement: it will be used to create a PreparedStatement.
468-
* Then a list of arguments will be bind to the query.
468+
* Then a list of arguments will be bound to the query.
469469
* Each row of the ResultSet will be map to a result object via a {@link RowMapper} implementation.
470470
* @param sql the query to execute
471471
* @param args arguments to bind to the query
@@ -479,7 +479,7 @@ public <S> CompletableFuture<List<S>> queryForList(@NotNull String sql, @Nullabl
479479

480480
/**
481481
* Executes a query given a SQL statement: it will be used to create a PreparedStatement.
482-
* Then a list of arguments will be bind to the query.
482+
* Then a list of arguments will be bound to the query.
483483
* Each row of the ResultSet will be map to a result object via a {@link RowMapper} implementation.
484484
*
485485
* <p>Note: use of this method is discouraged when the query doesn't supply exactly one row.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>com.glyart</groupId>
88
<artifactId>aSQL-parent</artifactId>
99
<packaging>pom</packaging>
10-
<version>1.0.0-SNAPSHOT</version>
10+
<version>1.0.0</version>
1111

1212
<properties>
1313
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

spigot/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>aSQL-parent</artifactId>
77
<groupId>com.glyart</groupId>
8-
<version>1.0.0-SNAPSHOT</version>
8+
<version>1.0.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

velocity/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>aSQL-parent</artifactId>
77
<groupId>com.glyart</groupId>
8-
<version>1.0.0-SNAPSHOT</version>
8+
<version>1.0.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

0 commit comments

Comments
 (0)