|
|
Browse by Tags
All Tags » Enum (RSS)
Showing page 1 of 2 (11 total posts)
-
this is my solution...
import java.lang.reflect.Field;import java.util.List;import br.com.entrepostosilk.Empresa;import br.com.entrepostosilk.db4objects.Db4oUtil;import com.db4o.query.Predicate;public class CorretorBanco { public static void main(String[] args) { CorretorBanco ...
-
Hi Db4o,
I have problems with enums in a network database, c# environment, version Continues Build july 9th, 2008.
public enum GroupEnum { First, Second, Third } public class Student2 { public GroupEnum ...
-
good morning,
I have an interface IMorning :
public interface IMorning {
enum Mood {GOOD,BAD};
Mood getMood();
}
And I have the class Morning
public class Morning implements IMorning, Serializable {
private static final long serialVersionUID = 5386061933351709956L;
private Mood mood;
Mood ...
-
Is is possible to use ObjectManager to view a db4o container when that container uses a translator? I'm using ObjectManager 6.4.14.8131. I can view the container when I don't use a translator. But when I create the container using a translator, ObjectManager is unable to open it. It just hangs.
Also, Is there a way to configure a db4o ...
-
Hi
I'm facing an issue where a typesafe enumeration is not working as expected (see also See COR-831). As example (see also my attachment):
public final class TestKeys implements Serializable { public static final TestKeys ONE = new TestKeys(''ONE''); public static final TestKeys TWO = new ...
-
Also I have the same problem as everyone with persisting Enums in the DB.
Have anyone found a worksround to this problem?
Thanks
-
Hi Aziz,
We have logged it in Jira COR-465 . You can vote for it. As a workaround how about compareTo().
Regards,
Dheer
-
I am using a NL query in Java to do a search with an enum field as a criterion. The field is indexed. It seems that it only works if I compare the ordinal values of the enum. When I say it ''works'' I mean that I get the correct number of objects back. Without the ordinal methods the enum field seems to be treated as unconstrained. Is this ...
-
Thank you Tetyana. This makes sense.
Can you tell me if there are any known problems with using Java enum types in NL queries? Is there a place I should look for these kinds of issues so I don't have to bother the forum?
Thanks,
Paul
-
Hello,
I'm trying to retrieve a previously stored list of Java enums from my database, but I find the name to be null.The enums are stored in a list which is a fields of another object - the entire structure looks roughly like:
public class container{ private final InnerContainer inner;}
public class ...
1
|
|
|