Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
41 views

Managing relationships between entities by Many-to-Many link

I have 2 entities User and Location with a Many-to-Many link. The creation of a relationship seems to work but not the deletion. The goal is not to delete the entities but only the relationships. ...
giles jeremy's user avatar
2 votes
1 answer
24 views

Objectbox Version 2.3.4 no longer available on maven

In a kotlin android project I was using objectbox 2.3.4 until now. I don't want to upgrade this version because it's enough for me, so I want to have it locally in jar or aar file instead of ...
mmmhh's user avatar
  • 33
0 votes
1 answer
27 views

Am having setter error in Object Box flutter for a nested relationship

The setter 'target' isn't defined for the type 'LocationModel'. Try importing the library that defines 'target', correcting the name to the name of an existing setter, or defining a setter or field ...
Joseph Barasa's user avatar
1 vote
0 answers
26 views

Relations of has many causes panic in armv7 device

The same code can run normally on my computer (x86 windows) and device (armv7 Linux) without using a one to many relationship. Once a one to many relationship is used, it can run normally on my ...
Huihui's user avatar
  • 21
0 votes
1 answer
23 views

ObjectBox schema change

How can we change the DB schema on OBX Sync Server automatically? N partners uses our app with OBX sync Server runs on RPi App updates comes from AppStore / Google Play Store For example: we change ...
Benedek Körtvélyesi's user avatar
1 vote
2 answers
56 views

ObjectBox Sync questions

I am very close to finishing my OBX Sync project, but i need some answers to finish it. How can i restart sync? (for example the server IP address changes in the background, ). Currently i have to ...
Benedek Körtvélyesi's user avatar
0 votes
1 answer
23 views

how to remove for ToMany

func initObjectBox() *objectbox.ObjectBox { objectBox, err := objectbox.NewBuilder().Model(model.ObjectBoxModel()).Directory("./opt").Build() if err != nil { fmt.Println(err) ...
Huihui's user avatar
  • 21
0 votes
1 answer
55 views

Objectbox flutter: watch limit

My question will seem quite simple but i have hard time to find anything about limit watch in objectbox. box.query().watch(triggerImmediately: true).map((e) => e.find()); I was able to do it like ...
Printer's user avatar
  • 465
0 votes
0 answers
43 views

Android objectbox - insert / put data increases native-part of memory, without freeing it

Referring to: https://stackoverflow.com/questions/78760216/... I got the problem that put large data into the ob-database increases the native-part of memory in the Android Studio Profiler, which ...
Alex Mutschl's user avatar
0 votes
2 answers
69 views

Flutter app executable is not working on linux

I am working on a mail client in flutter. I am using objectbox in my flutter app to store mails in cache, but when I built the app using command flutter build linux --release And created an executable,...
Burhanuddin Merchant's user avatar
0 votes
1 answer
35 views

ObjectBox: Storage error "Unknown error" (code 1455) in Flutter windows application

Facing Storage error "Unknown error" (code 1455) on app opening in windows 11. failed to create store: Could not open database environment; please check options and file system (1455: ...
Varma460's user avatar
  • 507
0 votes
1 answer
39 views

ObjectBox 1 to MANY: deleting the MANY of 1

I am struggling removing all related entries to a parent in a 1:n relationship. In the client order example this would be removing all orders of a customer. If I understand correctly, I cannot ...
w461's user avatar
  • 2,644
1 vote
1 answer
38 views

ObjectBox 4 C++ Initialise in memory database

I have created an ObjectBox database and written some records to tables which are in base/data.mdb A different program needs to read this database into an in memory instance of ObjectBox. Creating the ...
Otto Lewis's user avatar
1 vote
0 answers
44 views

Deleting model struct objectbox-go

When removing a model struct, I would expect the model to be removed from objectbox-model.json. Unfortunately, it is still listed there. Resulting in errors in objectbox-model.go. I have a simple ...
Jelle's user avatar
  • 11
0 votes
1 answer
46 views

Flutter ObjectBox Save nested ToOne ToMany Entities

I have the following entities: @Entity() class CategoryData { CategoryData({ this.id = 0, required this.catName, }); @Id() int id; String catName; @Backlink() final subCats ...
Preem Palver2's user avatar
1 vote
2 answers
192 views

While using ObjectBox as a Vectorstore I got this error: "CoreException: 10001 (ILLEGAL_STATE) - Cannot open store" What should I do?

I was trying to make a simple Q/A app with RAG with ObjectBox as the vector store. I have This is the code I was using: import streamlit as st import os from langchain_groq import ChatGroq from ...
Rishav Bhattacharjee's user avatar
0 votes
1 answer
76 views

New Object Box Plugin is not generating the code when building the project

Hello I recently decided to add ObjectBox plugin to my existing project since I've been using it in other projects and I like it very much. I am adding and applying the plugin as always and as its ...
DMarMon's user avatar
0 votes
1 answer
192 views

ObjectBoxException on Windows with Flutter: "failed to create store: Incoming entity ID does not match existing UID"

I am developing a Flutter application using ObjectBox as the database. The application works fine on an Android device connected via USB, but when I try to run it on the Windows desktop environment ...
Thiago Christian's user avatar
0 votes
0 answers
22 views

Objectbox triggers/webhooks

Has objectbox server an option to send trigger/webhook to an api? we are using c# backend, so there is no client and we would need to process data to i.e. send email. App has local objectbox db. ...
Ne Xen's user avatar
  • 1
0 votes
0 answers
32 views

Not able to assign value into objectbox model with relation in flutter

I have model class which is created using Json to dart conversion. When I use this class as objectbox model, I can't set the relation. If I set the relation then jsonTo, jsonFrom methods not working ...
ABD's user avatar
  • 21
0 votes
1 answer
129 views

Objectbox Relations: Updating/deleting toMany automatically when updating/deleting Object

I have 3 questions about using the toMany Relations with the objectbox database. Assumed that I have a tvchannels entity: @Entity data class TvChannel( @Id var id: Long = 0, var name: ...
Alex Mutschl's user avatar
0 votes
0 answers
69 views

ObjectBox does not generate after flutter upgrade

i have upgraded flutter version to 3.19.2 & no when i run flutter pub run build_runner build i get this error: [SEVERE] objectbox_generator:generator on lib/$lib$: Unknown relation backlink source ...
jose cardozo's user avatar
0 votes
0 answers
18 views

Copying ObjectBox databases from old to new, doesn't seem to keep ToMany relationships

I am trying to reduce the file size of my data.mdb file, as it's getting out of hand, and so I'm deleting/archiving a lot of data. However, as I'm lead to believe, this doesn't actually reduce the ...
Russ Wheeler's user avatar
  • 2,620
0 votes
0 answers
20 views

How can I get the source code of some native methods in ObjectBox

I was reading the source code of objectbox-java. But I failed to get the implementation and details of the native methods. Are they open source? I am reading the source code of objectbox-java and ...
Ryanhya's user avatar
0 votes
0 answers
37 views

Coroutine tests break automatically assigned id for ObjectBox Entity in Kotlin Jetpack Compose

I'm running a set of tests on the database using .directory(TEST_DIRECTORY) as instructed in the docs. There's a setUp() and a tearDown() for @Before and @After, respectively. I test the following ...
Alexandru Gheorghe's user avatar
0 votes
1 answer
69 views

How do I group entries by date?

The problem is that the date appears between everysingle entry, all of the entries are saved in an object box data base and have DateTime saved under date. Im pretty new to flutter and im still ...
Sebastian's user avatar
0 votes
1 answer
174 views

Switching or migrating from local-only ObjectBox to ObjectBox Sync

Neither Firebase Realtime db or Atlas Realm support this, but it's not clear from the docs whether ObjectBox supports this. What I want to do: I don't want to require users to create an account to ...
Phil's user avatar
  • 1
1 vote
1 answer
159 views

Objectbox ID initial value

The initial value of id normally starts from 1 and progresses sequentially. I don't want it to start from 1, instead I want it to progress from a number I specify. Is this possible? This should not be ...
ripboyz's user avatar
  • 11
0 votes
1 answer
68 views

ObjectBox Not downloading with Pod install and also on their Github Page

An attempt to download the Zip "ObjectBox-xcframework-1.9.1.zip" from their Github page does not download And also doing "pod install --verbose" didn't download it. Turning on and ...
Victory Okoi's user avatar
0 votes
0 answers
77 views

Objectbox Sync for Flutter

I'm new to using Objectbox. I've already used the local version of the database ant it works perfectly. Now I want to understand how Objectbox Sync work if I still haven't obtained the Sync Server ...
Hani Labib's user avatar
1 vote
1 answer
257 views

flutter ObjectBox no longer updating upon flutter pub run build_runner build

My ObjectBox.g.dart is no longer updated when running flutter pub run build_runner build. If I remove the file (so that it re-creates the file instead of updating), I receive the following error [...
w461's user avatar
  • 2,644
1 vote
1 answer
69 views

Does ObjectBox guarantee the order of an items in a ToMany collection?

The main question is: to create some explicit property in the Bar class like "externalOrder" or not. I have some external data that must be imported into my test project. Does ObjectBox ...
DrKovalex's user avatar
0 votes
1 answer
100 views

how to sort stream from ObjectBox and difference .watch() vs .stream()

I am wondering hot to get a stream sorted. This is my unsorted stream: Stream<List<User> userStream = userBox.query() .watch(triggerImmediately: true).map((query) => query.find(); ...
w461's user avatar
  • 2,644
0 votes
0 answers
72 views

Swift Combine sink returns demand .none

I have the following code to listen to an ObjectBox query: query.publisher .mapError(DatabaseError.other(nested:)) .eraseToAnyPublisher() .map(mapEntities(_:)) .catch(handleError) /...
Krisztian's user avatar
  • 437
0 votes
0 answers
76 views

Object Box is unable to import dependencies properly in the latest version of Android projects

Object Box is unable to import dependencies in the new version of Android Gradle. There is no explanation for this version in the official documentation. I must use the old format in order to import ...
xsir2333's user avatar
0 votes
0 answers
33 views

java.lang.IllegalStateException - Updated schema has 2 entity types, but incoming schema has 2

I am using object box in my project. I am getting this crash in firebase console. This is full error: at io.objectbox.BoxStore.nativeCreateWithFlatOptions(BoxStore.java) at io.objectbox....
404NotFound's user avatar
0 votes
0 answers
68 views

Prove to compiler that object conforms to protocols after verifying conformance

I'm working on an abstraction to hide the specifics of ObjectBox database from my app. class ObjectBoxDatabase: Database { func all<T>(of type: T.Type) throws -> [T] where T : ...
Krisztian's user avatar
  • 437
0 votes
0 answers
85 views

Sourcery.app artifact instead of Runner.app created during iOS build

I am using ObjectBox for Dart/Flutter. As per documentation, iOS requires objectbox_flutter_libs package. However, Adding objectbox_flutter_libs (or objectbox_sync_flutter_libs) to pubspec.yaml causes ...
Alex Yaroshuk's user avatar
0 votes
0 answers
46 views

How to Join in ObjectBox C++

How do I make a relational query in ObjectBox C++ schema.fbs table Slot { /// objectbox:id id : ulong; defaultlinkoffset : int32; /// objectbox:...
Otto Lewis's user avatar
0 votes
0 answers
270 views

Flutter building Windows app warning when objectbox added in pubspec.yaml

When I start debug or run Flutter app (VS Code) have warning : CMake Warning (dev) at C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/...
Vadym Pokhyliuk's user avatar
0 votes
2 answers
489 views

ObjectBox Database & Internal Storage in Flutter Stops Working When You Update The App

I have a flutter application using ObjectBox as the database that's being stored in internal storage, and I ran into the problem of when I update the application version (for example version 1.0.0) to ...
Wiza Munthali's user avatar
0 votes
0 answers
88 views

Build Objectbox lib (libobjectbox.so) by myself

for some reasons I need to build objectbox library by myself. But I cant find any information about this, only precompiled binaries. Is it possible? I've downloaded src from https://github.com/...
Anton Nosov's user avatar
0 votes
4 answers
663 views

UnsupportedError (Unsupported operation: Loaded ObjectBox core dynamic library has unsupported version 0.18.1, expected ^0.19.0)

I get this exception at the startup of the app. UnsupportedError (Unsupported operation: Loaded ObjectBox core dynamic library has unsupported version 0.18.1, expected ^0.19.0) Flutter 3.15.0-15.2.pre ...
linememory's user avatar
1 vote
0 answers
51 views

Object Box and Graph Queries

With ObjectBox supporting documents / objects and relations, does it support graph queries? It seems other non-graph databases like MongoDB also have some graph database like support, but hadn't quite ...
David Mays's user avatar
0 votes
1 answer
242 views

Getting Error: Bad state: failed to create store: Cannot open store: another store is still open using the same path: "/data/..." error 10001

I'm trying to store data locally with ObjectBox in Flutter, and I started getting this error. Everything looks good according to the documentation, I'm unsure why I'm getting errors from the objectbox....
Ashton Valeroso's user avatar
0 votes
1 answer
249 views

Riverpod StateNotifierProvider not refreshing the UI

So I was tired to do the state management with callbacks and I start using Riverpod and it looks awesome. However I have some little troubles to make it work perfectly. I am making a UI with favorite ...
Antonin GAVREL's user avatar
1 vote
3 answers
60 views

Is there an API or method for querying the first and last data in this project?

Is there an API or method for querying the first and last data in objectbox-go. Similar to the First() and Last() methods in Gorm. I need to use this method to query one by one and then send the data ...
Huihui's user avatar
  • 21
0 votes
1 answer
189 views

How to use putMany() in Flutter Objectbox?

I want to put a bunch of objects in Flutter Objectbox using the putMany() method instead of using a loop. I tried to generate the objects in a list and put the list, but it throws errors. My model is ...
Hani Labib's user avatar
1 vote
1 answer
57 views

Deploy/Redistribute binaries compiled with ObjectBox Go

I'm using ObjectBox Go to replace SQLite for my app, which is supposed to run on standard PC (Linux/Windows/macOS), mobile phone (Android and iOS devices) and Web Browser (via wasm). We need to ...
Albert Zhong's user avatar
-2 votes
1 answer
58 views

May someone please assist me with this error?

I am trying to create a basic todo app in flutter using Objectbox as a database. This is the error: [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: ObjectBoxException: failed ...
Tariro's user avatar
  • 1

1
2 3 4 5
8