You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -165,6 +165,8 @@ You can query and map results just as you would with a Kotlin data class:
165
165
val heroes:List<SuperHeroRecord> = connection.query<SuperHeroRecord>("SELECT * FROM super_heroes")
166
166
```
167
167
168
+
Additional Java examples can be found in the [Kapper-Example](https://github.com/driessamyn/kapper-examples#java-examples)
169
+
168
170
#### Handling Default Values, Nullables, and Extra Fields
169
171
170
172
Kapper's auto-mapping is flexible:
@@ -451,7 +453,8 @@ Kapper is designed to be fast and lightweight, with performance comparable to ra
451
453
This repository contains a [benchmark suite](./benchmark) that compares Kapper's performance against other popular ORMs like Hibernate and Ktorm.
452
454
The benchmark suite is designed to be extensible and can be used to add new benchmarks or modify existing ones.
453
455
Two Kapper benchmarks are included: with auto-mapping and with a custom mapper.
454
-
In Kapper 1.3, the _"cost"_ of auto-mapping is in the small single digit microsecond range.
456
+
In the current version of Kapper the _"cost"_ of auto-mapping in the small single digit _microsecond_ range.
457
+
Manual mapping is always the fastest and recommended for performance-critical applications or queries.
455
458
456
459
More details can be found [here](./benchmark/README.md), and the benchmark results are published in [kapper-benchmark-results](https://github.com/driessamyn/kapper-benchmark-results/).
457
460
@@ -473,15 +476,15 @@ Items will be ticked off as they are implemented.
473
476
-[x] Add co-routine support.
474
477
-[x] Add flow support.
475
478
-[x] Add MS SQL Server, Oracle and SQLite integration tests.
476
-
-[ ] Support auto-mapping for Java records.
479
+
-[x] Support auto-mapping for Java records.
480
+
-[x] Tests & examples in other JVM languages.
477
481
-[ ] Cache query parsing.
478
482
-[ ] Custom SQL type conversion.
479
483
-[ ] Improve support for date/time conversion.
480
484
-[ ] Support DTO argument for `execute`.
481
485
-[ ] Add support for non-blocking JDBC drivers.
482
486
-[ ] Bulk operations support
483
-
-[ ] Improve user documentation.
484
-
-[ ] Tests & examples in other JVM languages.
487
+
-[ ] Improve user documentation / docs website.
485
488
486
489
Anything else you think is missing, or you want to be prioritised, please [open an issue](kapper/issues) or submit a pull request.
0 commit comments