jdborm
A lightweight Java library for type-safe SQL queries
JDBORM is a lightweight, zero-dependency Java library inspired by modern design by Drizzle ORM. Write type-safe SQL queries using fluent method chaining instead of raw string concatenation.
Notable features we provide are:
- Write SQL queries like you would do, just by using functions
- Add optional type-safe variables to handle unexpected issues
- Manage tables, indexing and execute queries
Features:
- Type-safe features
- Use with any database (even SQLite)
- Easy to understand and write
- AI friendly with SKILL.md file
- Lightweight and zero-dependency
- High-performance
Example usage:
Code (Java):
List
<User
> users
= db.
select
(
"name"
)
.
from
(
"users"
)
.
where
(eq
(
"active",
true
)
)
.
execute
(User.
class
)
;
Code (Java):
db.
insert
(
"player_stats"
)
.
set
(
"uuid", player.
getUniqueId
(
).
toString
(
)
)
.
set
(
"level",
10
)
.
set
(
"kills",
50
)
.
onConflictDoUpdate
(
"level = EXCLUDED.level",
"kills = EXCLUDED.kills"
)
.
execute
(
)
;
Help us ship new features!
Come support the future of our library by contributing to our repository with new features, bugfixes or issue reporting. We welcome everyone to fork and create pull requests!
Do you need to get help with how our library works? Join our Discord server!
Please, do not use the review section for support. Contact us on our Discord first.
Terms of Service:
This library is shipped with MIT License. You can fork, modify and release your own versions of the library. We are not responsible for any issues you may have when using our library.
© BitAspire.com | ZeroToil LLC
Graphics and design made by Adam “Kléma” Klement