Skip to content

Commit 744b85b

Browse files
committed
Updated java version description in readme
1 parent 01ef698 commit 744b85b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
# sql2o  
1+
# sql2o [![Github Actions Build](https://github.com/aaberg/sql2o/actions/workflows/pipeline.yml/badge.svg)](https://github.com/aaberg/sql2o/actions) [![Maven Central](https://img.shields.io/maven-central/v/org.sql2o/sql2o.svg)](https://search.maven.org/search?q=g:org.sql2o%20a:sql2o)
22

33
Sql2o is a lightweight Java library designed to simplify database interaction. It automatically maps query results into POJO objects, providing an easy-to-use alternative to ORMs, without SQL generation capabilities.
44

5-
Sql2o is compatible with **Java 8 and later versions**, including Java 11 and 17.
5+
## Java versions
6+
* Sql2o **1.9.0** and newer is only compatible with Java 17 or later because it adds support for records.
7+
* If you use Java 11, sql2o 1.8.x is compatible.
8+
* If you are still on Java 8, use sql2o 1.6.x.
69

710
## Announcements
811

0 commit comments

Comments
 (0)