Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull latest changes #2

Merged
merged 134 commits into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
73c9972
Sum batch results for inserts (#1641)
johnzeringue Jun 5, 2023
510b419
docs: Change TC build status badge links (#1750)
bog-walk Jun 5, 2023
dea1773
task: EXPOSED-58 Revisit detekt.yml and fix existing issues (#1752)
bog-walk Jun 7, 2023
2d364cb
Add samples folder (#1753)
e5l Jun 9, 2023
ffabd9d
fix: EXPOSED-57 BatchInsertStatement can't be used with MySQL upsert …
bog-walk Jun 9, 2023
60d710c
feat: EXPOSED-47 Add support for SET DEFAULT reference option (#1744)
joc-a Jun 9, 2023
fac2ce1
docs: Correct broken links after README was moved (#1758)
joc-a Jun 12, 2023
5d7eff8
Add API tracking (#1756)
e5l Jun 13, 2023
fc81eee
Control whether arguments should be inlined or passed in. (#1621)
lure Jun 13, 2023
85091fe
build: Perform apiDump to fix failed merge build (#1760)
bog-walk Jun 13, 2023
cb216b6
fix: EXPOSED-64 Fix Detekt SpreadOperator warnings
bog-walk Jun 13, 2023
332b216
feat: Add partial index support (Postgres only) (#1748)
lure Jun 14, 2023
eb1cd20
add afterStatementPrepared method to StatementInterceptor (#1622)
lure Jun 14, 2023
0e2d963
Bump org.jetbrains.kotlin.jvm from 1.7.21 to 1.8.22 (#1755)
dependabot[bot] Jun 14, 2023
bf0e5c3
Create Documetation Website (#1757)
e5l Jun 14, 2023
f9974c5
feat: EXPOSED-60 Support json/json(b) column types (#1762)
bog-walk Jun 19, 2023
74a6467
feat: EXPOSED-66 Extend partial index to SQLServer and SQLite (#1763)
bog-walk Jun 19, 2023
8ddf444
[EXPOSED-46] Add a possibility to set a delay for the repetition atte…
mgrati Jun 20, 2023
a154fcc
chore: Set up Maven publishing (#1761)
joc-a Jun 21, 2023
df2426c
feat: EXPOSED-69 Extend json/json(b) support to H2, Oracle (text), an…
bog-walk Jun 22, 2023
f535ec9
feat: EXPOSED-68 Add more json/json(b) column functions (#1770)
bog-walk Jun 23, 2023
0f55b8b
chore: remove detekt ClassNaming issues (#1769)
joc-a Jun 26, 2023
57c66af
deprecate: EXPOSED-84 Raise deprecation levels of API elements (#1771)
bog-walk Jun 27, 2023
22b4002
chore: Fix more detekt issues (#1772)
joc-a Jun 27, 2023
ebe26e6
docs: add a point in CONTRIBUTING.md regarding API check (#1776)
joc-a Jun 29, 2023
e867fbc
chore: add detekt IntelliJ plugin configuration to detekt.xml (#1775)
joc-a Jul 3, 2023
12f47b6
test: Add json/jsonb array tests (#1778)
bog-walk Jul 3, 2023
54ba792
test: Add jsonb datetime tests (#1780)
bog-walk Jul 3, 2023
a3cf8c3
QueryBuilder.registerArguments - avoid potentially expensive valueToS…
zhurs Jul 6, 2023
365af29
#623 Add support of window functions in Exposed DSL (#1651)
Legohuman Jul 7, 2023
c89ce88
fix: EXPOSED-50 customEnumeration reference column error (#1785)
bog-walk Jul 7, 2023
9022887
feat: EXPOSED-89 Support functions in Create Index (#1788)
bog-walk Jul 12, 2023
ba1e8f3
fix: EXPOSED-91 NPE in existingIndices() with function index (SQLite,…
bog-walk Jul 13, 2023
76e3bbd
chore: Add blobParam function. (#1672)
spand Jul 13, 2023
f3d67a0
build(deps): bump org.jetbrains.kotlin.jvm from 1.8.22 to 1.9.0 (#1784)
dependabot[bot] Jul 14, 2023
3ae4ca7
fix: SQLServerException: The port number -1 is not valid. (#1789)
joc-a Jul 14, 2023
f92184c
build: run apiDump (#1792)
joc-a Jul 14, 2023
8831551
fix: EXPOSED-80 Set repetition policy for suspended transactions (#1774)
bog-walk Jul 14, 2023
7bf0e4c
chore: Remove VariableNaming detekt issues
joc-a Jul 10, 2023
ed4d5d0
chore: Remove Indentation detekt issues
joc-a Jul 10, 2023
b265af3
chore: Modify max_line_length value in .editorconfig to match that of…
joc-a Jul 11, 2023
976bb3a
chore: Remove SpreadOperator detekt issue
joc-a Jul 11, 2023
70f364b
chore: Remove MaximumLineLength detekt issues
joc-a Jul 12, 2023
3aaa2e6
chore: Suppress PackageNaming detekt issues
joc-a Jul 13, 2023
a5b5eb1
fix: Modify detekt IntelliJ plugin configuration in detekt.xml
joc-a Jul 13, 2023
06983eb
chore: Suppress LongParameterList detekt issue
joc-a Jul 13, 2023
b6759bb
build(deps): bump org.jetbrains.kotlin.plugin.serialization from 1.8.…
dependabot[bot] Jul 18, 2023
7b4929e
refactor: EXPOSED-88 Remove kotlinx-serialization dep from exposed-co…
bog-walk Jul 18, 2023
0bb3ca1
chore: Integrate detekt with GitHub Actions (#1765)
joc-a Jul 18, 2023
a059a9e
chore: Remove more detekt issues (part 4) (#1794)
joc-a Jul 19, 2023
2e0fbc9
fix: Exclude deleted and renamed files from detekt GitHub Action
joc-a Jul 18, 2023
e1bbf73
chore: Remove detekt issues in buildSrc module
joc-a Jul 18, 2023
212a616
fix: EXPOSED-97 Unsigned column types truncate MySQL values (#1796)
bog-walk Jul 20, 2023
b42a471
feat: Add spring mutli container support (#1781)
FullOfOrange Jul 20, 2023
44f1a73
fix: Skip detekt check if there are no changed Kotlin files
joc-a Jul 20, 2023
fa38a77
docs: Reorganize structure and rewrite some pages
joc-a Jun 19, 2023
b5e8566
fix: EXPOSED-98: Add instructions to log-in to see and log issues
jasonjmcghee Jul 22, 2023
513c2f0
test: Add test coverage for column transforms (#1687)
oharaandrew314 Jul 24, 2023
8b52c2f
fix: EXPOSED-83 createMissingTablesAndColumns not detecting missing P…
bog-walk Jul 26, 2023
55ed36b
test: Fix exposed-tests failing in SQL Server (#1801)
bog-walk Jul 27, 2023
e55f3ef
fix: EXPOSED-54 CaseWhen.Else returns narrow Expression<R> (#1800)
bog-walk Jul 27, 2023
d5fd913
chore: Release 0.42.0 (#1804)
joc-a Jul 27, 2023
a3830ed
feat: EXPOSED-43 Add support for timestamp with time zone (#1787)
joc-a Jul 27, 2023
b1d526b
fix: EXPOSED-99 addMissingColumnsStatements comparison of datetime de…
bog-walk Jul 28, 2023
799737c
test: Fix failing exposed-tests in Oracle (#1803)
bog-walk Jul 28, 2023
9de706c
fix: EXPOSED-82 Inaccurate UShort column type mapping (#1799)
bog-walk Jul 28, 2023
74fba00
test: Fix failing datetime tests in MariaDB (#1805)
bog-walk Jul 28, 2023
c93a69c
Bump version to 0.42.1-SNAPSHOT (#1810)
e5l Jul 31, 2023
f28126f
docs: Add BREAKING_CHANGES.md (#1786)
bog-walk Jul 31, 2023
defcda0
chore: Update ChangeLog.md for Release 0.42.0 (#1811)
joc-a Jul 31, 2023
64ecf91
fix: EXPOSED-107 Inaccurate UByte column type mapping (#1808)
bog-walk Jul 31, 2023
7a61852
fix: EXPOSED-108 Incorrect mapping for UInt data type (#1809)
bog-walk Jul 31, 2023
86a2405
fix: Inaccurate drop database statement in Oracle (#1807)
bog-walk Jul 31, 2023
75a9aeb
test: Fix failing datetime comparison tests in Oracle (#1813)
bog-walk Aug 1, 2023
189cde0
chore: Bump Exposed version to 0.42.0 in exposed-spring-boot-starter …
joc-a Aug 1, 2023
60b6617
chore: Bump Exposed version to 0.42.0 in exposed-bom
joc-a Aug 1, 2023
be5b048
chore: Bump Exposed version to 0.42.0 in samples/exposed-ktor and fix…
joc-a Aug 1, 2023
88805a2
docs: Update pages with new version documentation (#1814)
bog-walk Aug 2, 2023
e6036a3
fix: exposed-bom module missing when publishing
joc-a Aug 2, 2023
c715fd0
chore: Add Maven coordinates in README.md
joc-a Aug 3, 2023
0daf194
fix: EXPOSED-111 Allow check constraint statements in MySQL8 (#1817)
bog-walk Aug 4, 2023
4b88ab7
fix: EXPOSED-116 UUID conversion error with upsert in H2 (#1823)
bog-walk Aug 4, 2023
f732f99
fix: EXPOSED-112 SchemaUtils fails to compare default CURRENT_TIMESTA…
bog-walk Aug 4, 2023
7211d42
fix: EXPOSED-123 ExposedBlob.getBytes() fails on Oracle with IOExcept…
bog-walk Aug 7, 2023
96c8be7
fix: EXPOSED-128 Update with Join and Where clause fails in Oracle (#…
bog-walk Aug 8, 2023
8fabb12
fix: EXPOSED-135 Oracle does not use setSchema value as currentScheme…
bog-walk Aug 9, 2023
d168bd4
fix: EXPOSED-122 Fix timestampWithTimeZone tests in Oracle (#1829)
bog-walk Aug 10, 2023
1fda79f
fix: EXPOSED-137 SET DEFAULT option should not be supported in Oracle…
bog-walk Aug 10, 2023
5f06400
test: Fix failing Oracle exposed-core tests (#1831)
bog-walk Aug 11, 2023
73a78da
chore: EXPOSED-104 Update gradle test tasks (#1832)
bog-walk Aug 11, 2023
73dd153
feat: EXPOSED-85 Add support for changing default value in SQL Server…
joc-a Aug 11, 2023
1d0623d
chore: Bump Exposed version from 0.42.0 to 0.42.1, and add 0.42.1 cha…
joc-a Aug 14, 2023
f5f2e78
chore: Modify 0.42.1 section in ChangeLog.md
joc-a Aug 14, 2023
94564d0
fix: EXPOSED-127 Default values for JSON columns are not quoted (#1827)
bog-walk Aug 16, 2023
8fe5c1c
fix: EXPOSED-145 Quoted table name breaks create sequence in Oracle (…
bog-walk Aug 17, 2023
fb94e6a
fix: EXPOSED-130 Logger throws ClassCastException with JSON and ListS…
bog-walk Aug 17, 2023
b00f1d8
fix: EXPOSED-133 Suspend transactions blocking Hikari connection pool…
bog-walk Aug 22, 2023
97c333b
fix: EXPOSED-151 Quoted identifiers cause incorrect schema validation…
bog-walk Aug 24, 2023
09a682d
build(deps): bump org.jetbrains.kotlin.jvm from 1.9.0 to 1.9.10 (#1839)
dependabot[bot] Aug 25, 2023
1afd391
build(deps): bump org.jetbrains.kotlin.plugin.serialization (#1838)
dependabot[bot] Aug 25, 2023
a9fa75c
fix: Remove false warning log
joc-a Aug 24, 2023
2c1a437
chore: Enable SpacingAroundUnaryOperator rule in detekt-config.yml
joc-a Aug 25, 2023
af6bdb1
docs: Update BREAKING_CHANGES.md (#1845)
bog-walk Aug 28, 2023
cb721fe
docs: EXPOSED-159 Add KDocs for EntityClass reference functions (#1848)
bog-walk Aug 29, 2023
fe4c41a
fix: EXPOSED-158 avoid SQL syntax error of CASE WHEN using nested CAS…
ymotchi Aug 30, 2023
7c8d8a2
chore: Bump Exposed version from 0.42.1 to 0.43.0, and add 0.43.0 cha…
joc-a Aug 30, 2023
c3b998d
Fix how changes are calculated for non-default schema table (#1678)
AlexeySoshin Sep 4, 2023
f3a295a
fix: Fix tables creation depending on each other via foreignKey const…
naftalmm Sep 4, 2023
a0ab662
fix: Verbose logging in test module (#1852)
Hakky54 Sep 5, 2023
4b5b04a
fix: EXPOSED-161 SQL Server syntax incorrectly allows CASCADE with dr…
bog-walk Sep 6, 2023
28404d7
chore: Reuse Containers in tests; Add Test parameters (#1853)
e5l Sep 12, 2023
5199654
docs: EXPOSED-124 Add Spring Boot samples (#1826)
FullOfOrange Sep 12, 2023
fa73510
feat!: EXPOSED-109 change implement of spring transaction manager (#1…
FullOfOrange Sep 12, 2023
e1f7ed3
fix: EXPOSED-117 Set jvmToolchain to 8 for all modules (#1855)
e5l Sep 15, 2023
12b6a9c
chore: Adjust test md files (#1857)
joc-a Sep 18, 2023
fe85d93
fix: EXPOSED-162 SQLite generatedKeys exception (#1854)
joc-a Sep 18, 2023
5ce2d5a
fix: Unable to download required toolchain on MAC (#1859)
joc-a Sep 18, 2023
deff606
feat: EXPOSED-78 Support database-generated values for columns (#1844)
joc-a Sep 18, 2023
fcf308a
Switch from spring.factories to AutoConfiguration.imports (#1636) (#1…
rbraeunlich Sep 21, 2023
ee207d0
build: Fix compileKotlin task target in spring modules (#1864)
bog-walk Sep 21, 2023
9727fb6
fix: EXPOSED-179 Unsigned column check constraint is not unique to ta…
bog-walk Sep 21, 2023
32c3c5a
fix: EXPOSED-182 Schema name breaks Create Table with default column …
bog-walk Sep 21, 2023
30a9ce0
fix: Exception when using RESTRICT reference option (#1862)
joc-a Sep 22, 2023
17a9dc8
fix!: EXPOSED-150 Auto-quoted column names change case across databas…
bog-walk Sep 22, 2023
58f8c38
docs: EXPOSED-132 Add annotations to spring-boot-starter README sampl…
bog-walk Sep 22, 2023
8550a32
fix: EXPOSED-173 UPDATE_RULE read incorrectly for Oracle (#1865)
joc-a Sep 25, 2023
d3d254b
feat: EXPOSED-188 Support Propagation in SpringTransactionManager (#1…
FullOfOrange Sep 25, 2023
a9e6456
chore: EXPOSED-186 Replace JDK 1.7 support in exposed-jodatime classe…
bog-walk Sep 25, 2023
3b4402a
fix: EXPOSED-178 DELETE_RULE read incorrectly for Oracle (#1868)
joc-a Sep 25, 2023
926c5b1
chore: Bump detekt version from 1.21.0 to 1.23.1 (#1870)
joc-a Sep 26, 2023
934f48b
chore: Bump Exposed version from 0.43.0 to 0.44.0 (#1869)
bog-walk Sep 27, 2023
493c397
[MySQL] Fix bug when inserted ids are not returned if `rewriteBatched…
Tapac Oct 1, 2023
e9c699a
Version Notice for JVM (#1858)
adambrangenberg Oct 2, 2023
b579d93
deprecate: Raise deprecation levels of API elements (#1872)
bog-walk Oct 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ end_of_line = lf
indent_size = tab
indent_style = space
insert_final_newline = true
max_line_length = 150
max_line_length = 166
tab_width = 4
ij_formatter_off_tag = @formatter:off
ij_formatter_off_tag = @formatter:off
ij_formatter_on_tag = @formatter:on
ij_formatter_tags_enabled = true
ij_smart_tabs = true
Expand Down Expand Up @@ -41,6 +41,5 @@ ij_kotlin_spaces_around_equality_operators = true
ij_any_align_group_field_declarations = false
ij_java_align_group_field_declarations = false


[{.github/**/*.yml, .idea/*.xml}]
indent_size = 2
57 changes: 57 additions & 0 deletions .github/workflows/detekt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# This workflow performs a static analysis of your Kotlin source code using detekt.
#
# Scans are triggered on every pull request targeting the main branch.

name: detekt

on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Triggers the workflow on pull request events targeting the main branch
pull_request:
branches:
- main

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "detekt"
detekt:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
# Checks out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: "checkout"
uses: actions/checkout@v2
# Determines changed files
- name: "changed-files"
run: |
git fetch origin main:refs/remotes/origin/main
CHANGED_FILES=$(git --no-pager diff --name-only --diff-filter=dr origin/main HEAD -- . ':!exposed-tests' | grep '\(.*.kt\|.*.kts\)$' | tr '\n' , | rev | cut -c 2- | rev)
echo "Changed files: $CHANGED_FILES"
echo "CHANGED_FILES=$CHANGED_FILES" >> "$GITHUB_ENV"
# Resolves and installs a specific version of detekt on to a GitHub Actions Runner if not already present in the tool cache
- name: "set-up-detekt"
uses: peter-murray/setup-detekt@v2
with:
detekt_version: 1.23.1
# Runs detekt on changed files
- name: "run-detekt"
run: |
if [ -z "$CHANGED_FILES" ]
then
echo "No changed Kotlin files found."
exit 0
fi

echo "Running detekt check..."
DETEKT_ISSUES=$(detekt-cli --build-upon-default-config --config detekt/detekt-config.yml --plugins detekt/detekt-formatting-1.23.1.jar --input $CHANGED_FILES)
if [ -n "$DETEKT_ISSUES" ]; then
echo "***********************************************"
echo "$DETEKT_ISSUES"
echo "***********************************************"
echo " detekt failed "
echo " Please fix the above issues "
echo "***********************************************"
exit 1
fi
25 changes: 18 additions & 7 deletions .idea/detekt.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

188 changes: 175 additions & 13 deletions docs/README.md → README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div align="center">
<img align="center" src="./logo.png" alt="Exposed" width="315" /></div>
<img align="center" src="./docs/logo.png" alt="Exposed" width="315" /></div>
<br><br>

[![JetBrains team project](https://jb.gg/badges/team.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
[![Kotlinlang Slack Channel](https://img.shields.io/badge/slack-@kotlinlang/exposed-yellow.svg?logo=slack?style=flat)](https://kotlinlang.slack.com/archives/C0CG7E0A1)
[![TC Build status](https://teamcity.jetbrains.com/app/rest/builds/buildType:(id:KotlinTools_Exposed_Build)/statusIcon)](https://teamcity.jetbrains.com/viewType.html?buildTypeId=KotlinTools_Exposed_Build&guest=1)
[![TC Build status](https://exposed.teamcity.com/app/rest/builds/buildType:id:Exposed_Build/statusIcon.svg)](https://exposed.teamcity.com/viewType.html?buildTypeId=Exposed_Build&guest=1)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.jetbrains.exposed/exposed-core/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.jetbrains.exposed/exposed-core)
[![GitHub License](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0)

Expand All @@ -13,18 +13,179 @@
Exposed is a lightweight SQL library on top of JDBC driver for Kotlin language.
Exposed has two flavors of database access: typesafe SQL wrapping DSL and lightweight Data Access Objects (DAO).

With Exposed you can have two levels of databases Access. You would like to use exposed because the database access includes wrapping DSL and a lightweight data access object. Also, our official mascot is Cuttlefish, which is well known for its outstanding mimicry ability that enables it to blend seamlessly in any environment.
With Exposed, you have two ways for database access: wrapping DSL and a lightweight DAO. 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 and help you build applications without dependencies on any specific database engine and switch between them with very little or no changes.

## Supported Databases

- ![Postgres](https://img.shields.io/badge/postgres-%23316192.svg?style=for-the-badge&logo=postgresql&logoColor=white) (Also, PostgreSQL using the [pgjdbc-ng](https://github.com/impossibl/pgjdbc-ng) JDBC driver)
- ![MySQL](https://img.shields.io/badge/mysql-%2300f.svg?style=for-the-badge&logo=mysql&logoColor=white)
- ![MariaDB](https://img.shields.io/badge/MariaDB-003545?style=for-the-badge&logo=mariadb&logoColor=white)
- ![SQLite](https://img.shields.io/badge/sqlite-%2307405e.svg?style=for-the-badge&logo=sqlite&logoColor=white)
- H2 (versions 2.x; 1.x version is deprecated and will be removed in future releases)
- [Oracle](ORACLE.md)
- [SQL Server](SQLServer.md)
- H2 (versions 2.x; 1.x version is deprecated and will be removed in future releases)
- ![MariaDB](https://img.shields.io/badge/MariaDB-003545?style=for-the-badge&logo=mariadb&logoColor=white)
- ![MySQL](https://img.shields.io/badge/mysql-%2300f.svg?style=for-the-badge&logo=mysql&logoColor=white)
- [Oracle](docs/ORACLE.md)
- ![Postgres](https://img.shields.io/badge/postgres-%23316192.svg?style=for-the-badge&logo=postgresql&logoColor=white) (Also, PostgreSQL using
the [pgjdbc-ng](https://github.com/impossibl/pgjdbc-ng) JDBC driver)
- [SQL Server](docs/SQLServer.md)
- ![SQLite](https://img.shields.io/badge/sqlite-%2307405e.svg?style=for-the-badge&logo=sqlite&logoColor=white)

## Dependencies

### Maven Central configuration

Releases of Exposed are available in the Maven Central repository. You can declare this repository in your build script as follows:

#### Maven

```xml
<!-- Versions after 0.30.1 -->
<!-- Versions before 0.30.1 is unavailable for now-->
<repositories>
<repository>
<id>mavenCentral</id>
<name>mavenCentral</name>
<url>https://repo1.maven.org/maven2/</url>
</repository>
</repositories>
```

#### Gradle Groovy and Kotlin DSL

**Warning:** You might need to set your Kotlin JVM target to 8 and when using Spring to 17 in order for it to work properly

```kotlin
repositories {
// Versions after 0.30.1
// Versions before 0.30.1 is unavailable for now
mavenCentral()
}
```

### Exposed modules

`Exposed` consists of the following modules:

* exposed-core - base module, which contains both DSL api along with mapping
* exposed-crypt - provides additional column types to store encrypted data in DB and encode/decode it on client-side
* exposed-dao - DAO api
* exposed-java-time - date-time extensions based on Java8 Time API
* exposed-jdbc - transport level implementation based on Java JDBC API
* exposed-jodatime - date-time extensions based on JodaTime library
* exposed-json - JSON and JSONB data type extensions
* exposed-kotlin-datetime - date-time extensions based on kotlinx-datetime
* exposed-money - extensions to support MonetaryAmount from "javax.money:money-api"
* exposed-spring-boot-starter - a starter for [Spring Boot](https://spring.io/projects/spring-boot) to utilize Exposed as the ORM instead
of [Hibernate](https://hibernate.org/)

```xml

<dependencies>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-core</artifactId>
<version>0.44.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-crypt</artifactId>
<version>0.44.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-dao</artifactId>
<version>0.44.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-java-time</artifactId>
<version>0.44.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-jdbc</artifactId>
<version>0.44.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-jodatime</artifactId>
<version>0.44.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-json</artifactId>
<version>0.44.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-kotlin-datetime</artifactId>
<version>0.44.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-money</artifactId>
<version>0.44.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
<artifactId>exposed-spring-boot-starter</artifactId>
<version>0.44.0</version>
</dependency>
</dependencies>

```

#### Gradle Groovy

```groovy
dependencies {
implementation 'org.jetbrains.exposed:exposed-core:0.44.0'
implementation 'org.jetbrains.exposed:exposed-crypt:0.44.0'
implementation 'org.jetbrains.exposed:exposed-dao:0.44.0'
implementation 'org.jetbrains.exposed:exposed-jdbc:0.44.0'

implementation 'org.jetbrains.exposed:exposed-jodatime:0.44.0'
// or
implementation 'org.jetbrains.exposed:exposed-java-time:0.44.0'
// or
implementation 'org.jetbrains.exposed:exposed-kotlin-datetime:0.44.0'

implementation 'org.jetbrains.exposed:exposed-json:0.44.0'
implementation 'org.jetbrains.exposed:exposed-money:0.44.0'
implementation 'org.jetbrains.exposed:exposed-spring-boot-starter:0.44.0'
}
```

#### Gradle Kotlin DSL

In `build.gradle.kts`:

```kotlin
val exposedVersion: String by project
dependencies {
implementation("org.jetbrains.exposed:exposed-core:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-crypt:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-dao:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-jdbc:$exposedVersion")

implementation("org.jetbrains.exposed:exposed-jodatime:$exposedVersion")
// or
implementation("org.jetbrains.exposed:exposed-java-time:$exposedVersion")
// or
implementation("org.jetbrains.exposed:exposed-kotlin-datetime:$exposedVersion")

implementation("org.jetbrains.exposed:exposed-json:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-money:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-spring-boot-starter:$exposedVersion")
}
```

and in `gradle.properties`

```
exposedVersion=0.44.0
```

## Samples

Check out the [samples](samples/README.md) for a quick start.

## Links

Expand All @@ -33,15 +194,16 @@ Currently, Exposed is available for **maven/gradle builds**. Check the [Maven Ce
For more information visit the links below:

- [Wiki](https://github.com/JetBrains/Exposed/wiki) with examples and docs
- [Roadmap](ROADMAP.md) to see what's coming next
- [Change log](ChangeLog.md) of improvements and bug fixes
- [Roadmap](docs/ROADMAP.md) to see what's coming next
- [Change log](docs/ChangeLog.md) of improvements and bug fixes
- [Breaking changes](docs/BREAKING_CHANGES.md) and any migration details
- [Slack Channel](https://kotlinlang.slack.com/archives/C0CG7E0A1)
- [Issue Tracker](https://youtrack.jetbrains.com/issues/EXPOSED)
<br><br>

## Filing issues

Please note that we are moving away from GitHub Issues for reporting of bugs and features. Please log any new requests on [YouTrack](https://youtrack.jetbrains.com/issues/EXPOSED).
Please note that we are moving away from GitHub Issues for reporting of bugs and features. Please log any new requests on [YouTrack](https://youtrack.jetbrains.com/issues/EXPOSED). You must be logged in to view and log issues, otherwise you will be met with a 404.

## Community

Expand Down
File renamed without changes.
Loading
Loading