|
|
Browse by Tags
All Tags » SODA (RSS)
Showing page 1 of 4 (36 total posts)
-
Thanks, but this seems to be a workaround. What would be the solution ?
-
hi,
Let say i have myObject with field birthdate like 2008-10-20 9:00:00 ( yyyy-MM-dd HH:mm:ss).
My Soda query goes like
query.descend(''birthdate'').constrain(simpledateFormat.parse(''2008-10-20'')).equals(). // simple date format = yyyy-MM-dd
This query does not return myObject, unless I include the exact time in the constraint. ...
-
Hi
I have found a posible error in the soda query engine.
When performing a query including an ''or'' opperation the field index will not be used and thereby the query is not optimized. If the or is replaced by an ''and'' opperation the filed index is used and the query is optimized.
Query q = container.query();
...
-
Hi!
Schreibe gerade meine Diplomarbeit und db4o ist ein Teil davon. Da man in der Diplomarbeit jede Abkürzung ausschreiben muss, suche ich nun nach der Bedeutung von SODA, finde aber nix. Wofür steht SODA? Oder ist es vielleicht garkeine Abkürzung?
Vielen Dank,
Dominik
-
I don't understand why the execution of a query through a collection, like the following one, must activate all the elements of the collection, if I'm using the identity constrain. Firstly 'pilot' has been retreived from the database. query.Descend(''_pilots'').Constrain(pilot).Identity()Besides, if I try to use Native Query, ...
-
what types (or clas) i can use in soda query to aply greater, equal and less constrain?
is possible to use constrain to custom types?
-
Hallo,
Ich nutze db4o im Client/Server Modus. Beim Lesen erhalte ich zwischendurch folgende Fehlermeldung.
[CODE]
Exception in thread ''db4o server message dispatcher db4o'' java.lang.NullPointerException at com.db4o.internal.UUIDFieldMetadata.addFieldIndex(Unknown ...
-
Hallo,hier mein Post bezüglich SODA-Abfragen noch auf Deutsch. Ist es möglich ein SODA-Abfragen auf ein byte-Array zu machen ohne Evaluations zu benützen?Test-Klassepublic class TestObject { private byte[] field;}Abfrage:Query aQuery = ...
-
Hi,is there a way to compare a byte array with soda without using evaluations? Got a class:public class TestObject { private byte[] field;}And the query:Query aQuery = anObjectContainer.query(); aQuery.constrain(TestObject.class); aQuery.descend(''field'').constrain(aByteArray).equal();Which causes:Exception in thread ''main'' ...
-
Here a part of the class hierarchy that I'm persisting:
abstract class AbstractViewNode implements ViewNode { private String _path; public final String getPath() { if (_path == null) { _path = ... ...
1
|
|
|