@@ -17,22 +17,22 @@ data-utils is available from Maven Central.
1717
1818** Gradle:**
1919``` groovy
20- implementation "se.alipsa.groovy:data-utils:2.0.4 "
20+ implementation "se.alipsa.groovy:data-utils:2.0.5 "
2121```
2222
2323** Maven:**
2424``` xml
2525<dependency >
2626 <groupId >se.alipsa.groovy</groupId >
2727 <artifactId >data-utils</artifactId >
28- <version >2.0.4 </version >
28+ <version >2.0.5 </version >
2929</dependency >
3030```
3131
3232## Quick Start
3333
3434``` groovy
35- @Grab('se.alipsa.groovy:data-utils:2.0.4 ')
35+ @Grab('se.alipsa.groovy:data-utils:2.0.5 ')
3636@Grab('org.postgresql:postgresql:42.7.8')
3737
3838import se.alipsa.groovy.datautil.SqlUtil
@@ -49,7 +49,7 @@ SqlUtil.withInstance("jdbc:postgresql://localhost:5432/mydb", "user", "password"
4949### H2 (In-Memory)
5050
5151``` groovy
52- @Grab('se.alipsa.groovy:data-utils:2.0.4 ')
52+ @Grab('se.alipsa.groovy:data-utils:2.0.5 ')
5353@Grab('com.h2database:h2:2.2.224')
5454
5555import se.alipsa.groovy.datautil.SqlUtil
@@ -73,7 +73,7 @@ SqlUtil.withInstance("jdbc:h2:mem:testdb", "sa", "") { sql ->
7373### H2 (File-based)
7474
7575``` groovy
76- @Grab('se.alipsa.groovy:data-utils:2.0.4 ')
76+ @Grab('se.alipsa.groovy:data-utils:2.0.5 ')
7777@Grab('com.h2database:h2:2.2.224')
7878
7979import se.alipsa.groovy.datautil.SqlUtil
@@ -87,7 +87,7 @@ SqlUtil.withInstance("jdbc:h2:file:${dbPath}", "sa", "password") { sql ->
8787### MySQL / MariaDB
8888
8989``` groovy
90- @Grab('se.alipsa.groovy:data-utils:2.0.4 ')
90+ @Grab('se.alipsa.groovy:data-utils:2.0.5 ')
9191@Grab('com.mysql:mysql-connector-j:8.2.0')
9292
9393import se.alipsa.groovy.datautil.SqlUtil
@@ -100,7 +100,7 @@ SqlUtil.withInstance("jdbc:mysql://localhost:3306/mydb", "root", "password") { s
100100```
101101
102102``` groovy
103- @Grab('se.alipsa.groovy:data-utils:2.0.4 ')
103+ @Grab('se.alipsa.groovy:data-utils:2.0.5 ')
104104@Grab('org.mariadb.jdbc:mariadb-java-client:3.3.0')
105105
106106import se.alipsa.groovy.datautil.SqlUtil
@@ -113,7 +113,7 @@ SqlUtil.withInstance("jdbc:mariadb://localhost:3306/mydb", "root", "password") {
113113### PostgreSQL
114114
115115``` groovy
116- @Grab('se.alipsa.groovy:data-utils:2.0.4 ')
116+ @Grab('se.alipsa.groovy:data-utils:2.0.5 ')
117117@Grab('org.postgresql:postgresql:42.7.8')
118118
119119import se.alipsa.groovy.datautil.SqlUtil
@@ -128,7 +128,7 @@ SqlUtil.withInstance("jdbc:postgresql://localhost:5432/mydb", "postgres", "passw
128128### SQL Server
129129
130130``` groovy
131- @Grab('se.alipsa.groovy:data-utils:2.0.4 ')
131+ @Grab('se.alipsa.groovy:data-utils:2.0.5 ')
132132@Grab('com.microsoft.sqlserver:mssql-jdbc:12.4.2.jre11')
133133
134134import se.alipsa.groovy.datautil.SqlUtil
@@ -146,7 +146,7 @@ SqlUtil.withInstance(
146146### Oracle
147147
148148``` groovy
149- @Grab('se.alipsa.groovy:data-utils:2.0.4 ')
149+ @Grab('se.alipsa.groovy:data-utils:2.0.5 ')
150150@Grab('com.oracle.database.jdbc:ojdbc11:23.3.0.23.09')
151151
152152import se.alipsa.groovy.datautil.SqlUtil
@@ -164,7 +164,7 @@ SqlUtil.withInstance(
164164### SQLite
165165
166166``` groovy
167- @Grab('se.alipsa.groovy:data-utils:2.0.4 ')
167+ @Grab('se.alipsa.groovy:data-utils:2.0.5 ')
168168@Grab('org.xerial:sqlite-jdbc:3.44.1.0')
169169
170170import se.alipsa.groovy.datautil.SqlUtil
@@ -178,7 +178,7 @@ SqlUtil.withInstance("jdbc:sqlite:mydb.sqlite", null, null) { sql ->
178178### Apache Derby
179179
180180``` groovy
181- @Grab('se.alipsa.groovy:data-utils:2.0.4 ')
181+ @Grab('se.alipsa.groovy:data-utils:2.0.5 ')
182182@Grab('org.apache.derby:derby:10.16.1.1')
183183@Grab('org.apache.derby:derbytools:10.16.1.1')
184184
@@ -413,18 +413,18 @@ dataSource.close()
413413
414414## Supported Databases
415415
416- | Database | URL Prefix | Auto-detected Driver |
417- | ----------| -----------| ---------------------|
418- | H2 | ` jdbc:h2: ` | ` org.h2.Driver ` |
419- | PostgreSQL | ` jdbc:postgresql: ` | ` org.postgresql.Driver ` |
420- | MySQL | ` jdbc:mysql: ` | ` com.mysql.jdbc.Driver ` |
421- | MariaDB | ` jdbc:mariadb: ` | ` org.mariadb.jdbc.Driver ` |
422- | SQL Server | ` jdbc:sqlserver: ` | ` com.microsoft.sqlserver.jdbc.SQLServerDriver ` |
423- | Oracle | ` jdbc:oracle: ` | ` oracle.jdbc.OracleDriver ` |
424- | Derby | ` jdbc:derby: ` | ` org.apache.derby.jdbc.EmbeddedDriver ` |
425- | HSQLDB | ` jdbc:hsqldb: ` | ` org.hsqldb.jdbc.JDBCDriver ` |
426- | SQLite | ` jdbc:sqlite: ` | ` org.sqlite.JDBC ` |
427- | DB2 | ` jdbc:db2: ` | ` com.ibm.db2.jcc.DB2Driver ` |
416+ | Database | URL Prefix | Auto-detected Driver |
417+ | ------------ | -------------------- | --------------------------- ---------------------|
418+ | H2 | ` jdbc:h2: ` | ` org.h2.Driver ` |
419+ | PostgreSQL | ` jdbc:postgresql: ` | ` org.postgresql.Driver ` |
420+ | MySQL | ` jdbc:mysql: ` | ` com.mysql.jdbc.Driver ` |
421+ | MariaDB | ` jdbc:mariadb: ` | ` org.mariadb.jdbc.Driver ` |
422+ | SQL Server | ` jdbc:sqlserver: ` | ` com.microsoft.sqlserver.jdbc.SQLServerDriver ` |
423+ | Oracle | ` jdbc:oracle: ` | ` oracle.jdbc.OracleDriver ` |
424+ | Derby | ` jdbc:derby: ` | ` org.apache.derby.jdbc.EmbeddedDriver ` |
425+ | HSQLDB | ` jdbc:hsqldb: ` | ` org.hsqldb.jdbc.JDBCDriver ` |
426+ | SQLite | ` jdbc:sqlite: ` | ` org.sqlite.JDBC ` |
427+ | DB2 | ` jdbc:db2: ` | ` com.ibm.db2.jcc.DB2Driver ` |
428428
429429## More Examples
430430
0 commit comments