JetBrains /Exposed

Kotlin SQL Framework

★ 9,304⑂ 806👁 128⑃ 1,681● 1,324▤ 74
KotlinApache-2.0Created 2013-07-30www.jetbrains.com/exposed/
下载:1.6.11.6.1 ↓1.6.12026-11-04
+0
日增长
9,304
stars
806
forks
128
watchers
1,681
prs
1,324
issues
74
releases

README

Welcome to Exposed, an ORM framework for Kotlin.

Exposed is a lightweight SQL library on top of a database connectivity driver for the Kotlin programming language,
with support for both JDBC and R2DBC (since version 1.0.0-) drivers. 
It offers two approaches for database access: a typesafe SQL-wrapping Domain-Specific Language (DSL) and a lightweight Data Access Object (DAO) API.

Our official mascot is the cuttlefish, which is well-known for its outstanding mimicry ability that enables it to blend seamlessly into any environment.
Similar to our mascot, Exposed can be used to mimic a variety of database engines, which helps you to build applications without dependencies on any specific database engine and to switch between them with very little or no changes.

 Supported Databases

- H2 (versions 2.x)
- 
- 
- 
- 
  (Also, PostgreSQL using the pgjdbc-ng JDBC driver)
-  (JDBC only)
- 
- 

 Dependencies

Releases of Exposed are available in the Maven Central repository.
For details on how to configure this repository and how to add Exposed dependencies to an existing Gradle/Maven project,
see the full guide on modules.

 Exposed modules

Exposed consists of the following core modules:

| Module              | Function                                                                                                                                                                         |
|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| exposed-core      | Provides the foundational components and abstractions needed to work with databases in a type-safe manner and includes the Domain-Specific Language (DSL) API                    |
| exposed-dao       | (Optional) Allows you to work with the Data Access Object (DAO) API.  It is only compatible with exposed-jdbc; with exposed-r2dbc, use exposed-dao-r2dbc instead. |
| exposed-dao-r2dbc | (Optional) Allows you to work with the Data Access Object (DAO) API over exposed-r2dbc.  It is an experimental preview, so its API may change between releases.       |
| exposed-jdbc      | Provides support for Java Database Connectivity (JDBC) with a transport-level implementation based on the Java JDBC API                                                          |
| exposed-r2dbc     | Provides support for Reactive Relational Database Connectivity (R2DBC)                                                                                                           |

As well as the following extension modules:

| Module                         | Function                                                                                                                                                                        |
|--------------------------------|-----------------------------------------------------------------------------------------------------------------------

Top issues

Discussions

Latest release

1.6.1 1.6.1 2026-11-04
Change log

 New Contributors
 @chiliec made their first contribution in https://github.com/JetBrains/Exposed/pull/2968
 @mikehancock made their first contribution in https://github.com/JetBrains/Exposed/pull/2950
 @ybai08 made their first contribution in https://github.com/JetBrains/Exposed/pull/2976
 @bbasinsk made their first contribution in https://github.com/JetBrains/Exposed/pull/2913
 @Inf1mum made their first contribution in https://github.com/JetBrains/Exposed/pull/2977

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON