Menu

Change DataStore

Help
Nirmala
2012-03-15
2013-05-02
  • Nirmala

    Nirmala - 2012-03-15

    I wish to change data store  of javaxbrlapi.What the steps i need to follow to change data store to mysql?.My os ubuntu .Platform java.Please help me to do that

     
  • Geoffrey Shuetrim

    MySQL is not a supported data store option.  To use one of the data stores that are implemented, change the existing data store implementation choice to another one.  You should be able to find data store implementations in the javadoc by finding implementations of the Store interface.

    Regards

    Geoff Shuetrim

     
  • Nirmala

    Nirmala - 2012-03-16

    Thanks. But I could'nt find any java doc .I wish to know the full details of implemented data stores.I mean ,i wish to rewrite the implementation code  to store the xbrl data into mysql db.How can i do that please give me a support to do that.

     
  • Geoffrey Shuetrim

    That is a big task you are setting yourself but I am glad to help.

    You can find the javadoc at the www.xbrlapi.org website but I recommend that you set yourself up with subversion access to the source, create a new module for the new store implementation and work from there.  If you make enough progress I will set you up as a developer so you can submit source changes directly.

    Regards

    Geoff S

     
  • Nirmala

    Nirmala - 2012-03-21

    Hai,
      i tried your example "Example illustrating the basics of loading XBRL data using the API" Load.java program .i wish to konw actually whats it output.I mean what happen after the program runs.How can i fetch xbrl data from berkely db xml.Please help me sir.

     
  • Nirmala

    Nirmala - 2012-03-23

    Exception in thread "main" java.lang.UnsatisfiedLinkError: no db_java-4.8 in java.library.path

    Sir i got this error  while tried your example in Eclipse. My os is ubuntu 11.04.I need to know the steps to solve this error.Please help me sir

     
  • Geoffrey Shuetrim

    The load operation just loads the data.  It is then available to manipulate using the API that is documented via the Javadoc on the main website.  The store interface and the various interfaces that extend the fragment interface and the aspects package will be your main areas of interest.

    When using the Berkeley XML data store, you first need to install that data store and make sure that the java libraries are installed also.

    Regards

    Geoff S  

     
  • Nirmala

    Nirmala - 2012-03-28

    Exception in thread "main" java.lang.UnsatisfiedLinkError: no db_java-4.8 in java.library.path
    Sir i got this error while tried your example in Eclipse. My os is ubuntu 11.04.I need to know the steps to solve this error.Please help me sir
    From command prompt its working .How can fix this problem in eclipse?.My OS ubuntu 11.04 & eclipse indigo.
    I tried by setting environment in Eclipse .But i can't .Please help me

     
  • Geoffrey Shuetrim

    Yes - it can be hard to figure out.  You need to add the -Djava.library.path=/usr/local/BerkeleyDBXML-X.X.X/lib argument to the set of arguments used by the Eclipse JRE that you are using.  That can be done globally in Eclipse or it can be done on a project by project basis or I think it can be done on a job by job basis.

    Geoff S

     
  • Nirmala

    Nirmala - 2012-03-29

    System.out.println(System.getProperty("java.library.path"));
    /home/algotree11/Downloads/dbxml-2.5.16/install/lib
    I set -Djava.library.path .But i can't solve this error.please help me

     
  • Geoffrey Shuetrim

    Sometimes eclipse does not seem to pick up system properties like the one shown.  Try setting the parameter as part of the Eclipse runtime environment configuration instead.

     

Log in to post a comment.