ObjectBox Java (Kotlin, Android)
SQLDelight
Our great sponsors
ObjectBox Java (Kotlin, Android) | SQLDelight | |
---|---|---|
14 | 32 | |
4,303 | 5,908 | |
0.4% | 1.6% | |
8.3 | 9.6 | |
2 months ago | 2 days ago | |
Java | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ObjectBox Java (Kotlin, Android)
-
Publishing to F-Droid
When I first attempted to publish to F-Droid, I experienced several pipeline issues. After reading through the pipeline logs in GitLab, I realized that my application's database (ObjectBox) was not entirely FOSS compliant and was causing build failures. The following day was spent migrating my app to Room.
-
Looking for android java developer mentor
I would focus on Kotlin instead of Java, there's really no point in sticking to Java at this point. And when it comes to databases, some local ones that are pretty easy to get into are Realm and ObjectBox, SQLite can definitely be a bit overwhelming at the beginning.
-
Will ObjectBox ever support AARM64 architecture for Linux machines?
Not sure what exactly the issue is in your case, but linux-aarch64 is already a supported platform for ObjectBox (with some dependencies on libc versions etc). Maybe raise an issue for https://github.com/objectbox/objectbox-java with your specific error output and some details on your setup?
-
Want to build a simple database app....Where do I start
Just to add to this, there's also Realm and ObjectBox as alternatives.
-
EdgeDB 2.0
Adding ObjectBox [0] to the list.
-
Best libraries for Android Developers
Obectbox
-
Embedded databases - What is an embedded database? and how to choose one
While - strictly speaking - "database" refers to a systematic collection of data, "Database Management System'', or DBMS, refers to the piece of software that provides an efficient and versatile method of working with data(eg: ObjectBox). However, often the term "database" is also used loosely to refer to a DBMS, and you will find most DBMS only use the term database in their name and communication.
-
Best way to store nosql data locally on Android device?
Maybe this? I've been looking at it recently.
-
Best way to pass data to a fragment and prevent Transaction Too Large exceptions?
https://github.com/objectbox/objectbox-java is an alternative to Room.
-
ObjectBox 3.0: an embedded lightweight database for (Java) objects without ORM/SQL layer
Here's the issue
SQLDelight
-
querky – autogenerate Python functions and types for your SQL queries
This seems to be similar to https://github.com/cashapp/sqldelight, and I've always wanted a python equivalent!
In typescript, there are query builders (not talking about ORMs) that can basically do this within the type system, but that would be infeasible in python's type system. This approach (type/code generation is a good alternative, though I like using sqlalchemy / alembic to manage schemas/migrations.
One thing I'm curious about is how it knows the types of columns? I looked quickly at the Readme but didn't see it (probably a parameter somewhere I missed).
- I'm creating a REST API using KTOR. What's the best ORM to go with KTOR ?
-
KMM alternatives to Android Datastore & Room DB?
That functionality has existed for almost exactly a year
-
What were your negative experiences when adopting KMM?
- SQLDelight - great experience overall, the only issue that I found, was when that I made a database migration that worked on Android, but not on iOS (https://github.com/cashapp/sqldelight/issues/3812)
-
Adopting Kotlin Multiplatform Mobile(KMM) on 9GAG App
Database - SQLDelight
-
Android Starter Template (hilt, ktor, coroutines, flow, modules, gradle.kts, version catalog, compose, MVVM, tests, GitHub CI)
room is a great example but like I said our data is kotlin-only so we tend to use libraries like sqlDelight.
-
Announcing new crate - "hugsqlx": turning SQLx queries into Rust functions
This seems similar to https://cashapp.github.io/sqldelight/ for kotlin, I think this approach is pretty neat, good luck with it!
-
ADVICE WANTED - Typescript PostgreSQL without ORM
Sounds like you want what SQLDelite offers, but for TypeScript. SQLDelite is only for Kotlin and SQLite though.
-
Why We're Moving on from Firebase
SQLDelight had neat built in support for this
-
Flyweight: An ORM for SQLite
You would really like sqldelight[1] then. It takes the concept of an ORM and flips it on its head. Instead of mapping function calls to SQL statements, it lets you write SQL statements and then generates classes for you that have methods for those statements.
For instance, you could have a SQL statement like getCardsForFight: select * from fights where cardId = ? and titleFight = ?, and it would generate a class that has a method getCardsForFight(cardId: number, titleFight: number).
What are some alternatives?
Apache Hive - Apache Hive
Exposed - Kotlin SQL Framework
supabase - The open source Firebase alternative.
Realm Asset Helper - A small library to help with Realm.IO integration in Android apps
Nitrite Database - NoSQL embedded document store for Java
jOOQ - jOOQ is the best way to write SQL in Java
RxDB - A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/
Ktorm - A lightweight ORM framework for Kotlin with strong-typed SQL DSL and sequence APIs.
RoomAsset - A helper library to help using Room with existing pre-populated database [DEPRECATED].
Paper - Paper is a fast NoSQL-like storage for Java/Kotlin objects on Android with automatic schema migration support.
Realm - Realm is a mobile database: a replacement for Core Data & SQLite