Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
landawn committed Nov 10, 2022
1 parent c833c6c commit 9206636
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 3.2.14

* Improvements and bug fix.


### 3.2.13

* Improvements and bug fix.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# abacus-jdbc

[![Maven Central](https://img.shields.io/maven-central/v/com.landawn/abacus-jdbc.svg)](https://maven-badges.herokuapp.com/maven-central/com.landawn/abacus-jdbc/)
[![Javadocs](https://img.shields.io/badge/javadoc-3.2.13-brightgreen.svg)](https://www.javadoc.io/doc/com.landawn/abacus-jdbc/3.2.13/index.html)
[![Javadocs](https://img.shields.io/badge/javadoc-3.2.14-brightgreen.svg)](https://www.javadoc.io/doc/com.landawn/abacus-jdbc/3.2.14/index.html)

Hope it will bring you the programming experiences: coding with SQL/DB is just like coding with Collections.

Expand Down Expand Up @@ -192,7 +192,7 @@ userDao.deleteById(100L);
* Gradle:
```gradle
// JDK 1.8 or above:
compile 'com.landawn:abacus-jdbc:3.2.13'
compile 'com.landawn:abacus-jdbc:3.2.14'
```
## User Guide:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.landawn</groupId>
<artifactId>abacus-jdbc</artifactId>
<version>3.2.14</version>
<version>3.2.15</version>
<packaging>jar</packaging>

<name>abacus-jdbc</name>
Expand Down
18 changes: 9 additions & 9 deletions src/main/java/com/landawn/abacus/jdbc/JdbcUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -1125,31 +1125,31 @@ private static Object getColumnValue(final ResultSet rs, final String columnLabe

/**
* Gets the column value.
*
* @param <T>
* @param targetClass
* @param rs
* @param columnIndex
* @param targetClass
*
* @param <T>
* @return
* @throws SQLException
*/
public static <T> T getColumnValue(final Class<? extends T> targetClass, final ResultSet rs, final int columnIndex) throws SQLException {
public static <T> T getColumnValue(final ResultSet rs, final int columnIndex, final Class<? extends T> targetClass) throws SQLException {
return N.<T> typeOf(targetClass).get(rs, columnIndex);
}

/**
* Gets the column value.
*
* @param <T>
* @param targetClass
* @param rs
* @param columnLabel
* @param targetClass
*
* @param <T>
* @return
* @throws SQLException
* @deprecated please consider using {@link #getColumnValue(Class, ResultSet, int)}
* @deprecated please consider using {@link #getColumnValue(ResultSet, int, Class)}
*/
@Deprecated
public static <T> T getColumnValue(final Class<? extends T> targetClass, final ResultSet rs, final String columnLabel) throws SQLException {
public static <T> T getColumnValue(final ResultSet rs, final String columnLabel, final Class<? extends T> targetClass) throws SQLException {
return N.<T> typeOf(targetClass).get(rs, columnLabel);
}

Expand Down

0 comments on commit 9206636

Please sign in to comment.