Questions tagged [db4o]
db4o is an open source embeddable object database for Java and .NET.
db4o
379
questions
1
vote
0
answers
464
views
Java is not able to access my enum attribute
I need to store a restaurant in a object oriented database with a name and a list of employees and products so when I create one of the latter I need a name an enum (3 categories) and a price.
...
0
votes
1
answer
45
views
Why does it always outputs empty even when the database is not?
private booolean dataSelected = false;
private void jDeleteActionPerformed(java.awt.event.ActionEvent evt) {
ObjectContainer db = Db4oEmbedded.openFile(&...
0
votes
0
answers
290
views
How to display List<string> property in DataGridView in Windows Form
so I am having a problem and I can't find the right answer.
So I have the Department class:
public class Department
{
// attributes
public int DNumber { get; set; }
public string DName { ...
0
votes
1
answer
84
views
How to link two classes and then output class using DB4O as Database and C# as language?
I am doing my homework about using DB4O as NoSQL, it pretty new to me, then I reached to link two classes. There is a Course class with these properties:
public class Course
{
public ...
-1
votes
1
answer
93
views
Why i get DatabaseClosedException(DB4o) trying to insert/delete/show 2 times in one run? [closed]
Im getting this exception when i try to manipulate more than one objects in the DB in one run. No matter what choice i choose the same problem happens again and again. It seems that is related that ...
0
votes
1
answer
114
views
Adding .jar to Eclipse 2018-09 project
I'd like to know how to add JAR file to Eclipse 2018-09 project. I've already copied it to lib project's folder. I've tried right clicking on jar file and build path but no actions are displayed.
...
1
vote
1
answer
169
views
db4o native query in C#: how to find by first number?
I want to change last number of my every "No" for all students (who is born between 1996 and 1998) to 0, for example. (from 160456 to 1604560)
I want to delete data for students whos "No" first 2 ...
0
votes
1
answer
715
views
Java db4o Storing and Retrieving
I'm trying to work with db4o just getting familiar with storing and receiving values. My file path pointing to the file is correct and there are no syntax errors. I'm just wondering why this is the ...
2
votes
1
answer
169
views
Implement a relation using db4o
For testing purposes i want to implement a relationship between two java classes for instance student and exam. How can i make relationships using db4o. I don't have much experience with this DB - ...
0
votes
1
answer
234
views
use lib db4o on android studio
Before I used to use db4o-8.1.317.16154-core-java5 on Eclipse, by addthe jar in the lib folder. Now I want to use Android Studio, but the problem I can't find the compile dependence to put in Gradle ...
1
vote
1
answer
116
views
DB4O: limit a query by range
Is it possible to get a query result by a interval?
I was think something like that:
List<Object> getRangeQuery(Object example, int beginIndex, int endIndex){
ObjectSet<Object> set = ...
2
votes
2
answers
112
views
How can I control cache of the DB4O
I have some difficulties to find documents about DB4O. How can I control cache of the DB4O? I think than its connection is expending all memory of our server. I want set the minimal cache ...
0
votes
1
answer
158
views
db4o prototype for querybyexample query
I am using db4o in a Java project. I want to create a prototype to get all the persons that are not married using querybyexample. The Person class has three attributes: name(String), age(int) and ...
1
vote
0
answers
55
views
Add db4o database to monodevelop in linux
I would like to include db4o jar files into monodevelop ide on Linux, I have researched a lot and I am not able to find anything that could help, could anyone help me with this issue or suggest me an ...
0
votes
1
answer
643
views
Setting up db4o in android
I was creating an android project to test db4o and ran into some trouble, I compiled the db4o-8.0.184.15484-all-java5.jar jar file in build.gradle under the libs folder. Within my db4oHelper class I ...