db4o Developer Community

db4o open source object database, native to Java and .NET
Welcome to db4o Developer Community Sign in | Join
in Search
More Search Options

Browse by Tags

All Tags » Enum   (RSS)
Showing page 1 of 2 (11 total posts)
  • [Solved] Re: [Db4o 5.5 Java] Enum "name" is null.

    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 ...
    Posted to db4o User Forum (Forum) by douglascrp on September 4, 2008
  • Problems with storing enums in a network database.

    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 ...
    Posted to db4o User Forum (Forum) by martin.bos on July 14, 2008
  • enum and identity, I want to be able to use ==

    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 ...
    Posted to db4o User Forum (Forum) by huli on July 5, 2008
  • Using ObjectManager in a Db that uses a translator + a few other questions

    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 ...
    Posted to db4o User Forum (Forum) by polvo on April 26, 2008
  • Typesafe enumeration (Java) not restoring properly

    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 ...
    Posted to db4o User Forum (Forum) by LanceB on September 17, 2007
  • Newbie: problems with JDK5 Enums and DB40 6.0

    Also I have the same problem as everyone with persisting Enums in the DB. Have anyone found a worksround to this problem? Thanks   
    Posted to db4o User Forum (Forum) by Esteban J. on May 28, 2007
  • Re: peekPersisted enum issue

    Hi Aziz, We have logged it in Jira COR-465 . You can vote for it. As a  workaround how about compareTo().  Regards, Dheer 
    Posted to db4o User Forum (Forum) by gdheer on March 23, 2007
  • Ordinals only for enum NL Query?

    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 ...
    Posted to db4o User Forum (Forum) by pspringer on March 1, 2007
  • Re: Sorted Native Language Queries Optimized?

    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
    Posted to db4o User Forum (Forum) by pspringer on February 22, 2007
  • [Db4o 5.5 Java] Enum "name" is null.

    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 ...
    Posted to db4o User Forum (Forum) by Ursulus on February 17, 2007
1 2 Next >