Menu

i can't create databae

Help Java
juanfdo
2011-12-15
2013-05-29
  • juanfdo

    juanfdo - 2011-12-15

    I need create the database under .net , you cant send me example code in c# please?

     
  • Olivier

    Olivier - 2011-12-16

    Hi,
    we could not get NeoDatis for .net out of beta yet. It is not ready for use :-(. Sorry.

    Thanks,
    Olivier

     
  • _ryan

    _ryan - 2012-02-07

    Hello,
       in java, i am having a similar problem merely trying to create a database with version 2.  When i call NeoDatis.open("test.db"), it throws a java.lang.VerifyError with the following stack trace:

    Exception in thread "main" java.lang.VerifyError: (class: org/neodatis/odb/core/layers/layer3/Layer3ReaderImpl, method: internalFromBytes signature: (Lorg/neodatis/odb/core/layers/layer3/OidAndBytes;ZLorg/neodatis/odb/core/layers/layer3/ConversionContext;I)Lorg/neodatis/odb/core/layers/layer2/meta/NonNativeObjectInfo;) Wrong return type in function

    at org.neodatis.odb.core.session.SessionEngineImpl.<init>(SessionEngineImpl.java:116)
    at org.neodatis.odb.core.session.SessionImpl.buildSessionEngine(SessionImpl.java:117)
    at org.neodatis.odb.core.session.SessionImpl.init(SessionImpl.java:104)
    at org.neodatis.odb.core.session.SessionImpl.<init>(SessionImpl.java:78)
    at org.neodatis.odb.core.CoreProviderImpl.getLocalSession(CoreProviderImpl.java:172)
    at org.neodatis.odb.main.LocalODB.<init>(LocalODB.java:48)
    at org.neodatis.odb.main.LocalODB.getInstance(LocalODB.java:37)
    at org.neodatis.odb.NeoDatis.open(NeoDatis.java:93)
    at mil.navy.pimcs.filegen.GenerateNsc3.main(GenerateNsc3.java:44)

    i get this error with 2.1 beta 16 and the 2.2 beta 1.  Do you have an idea of what  is wrong?

    thanks,
    _ryan

     

Log in to post a comment.