Data storage and retrieval

I am working on a project that requires the storage and retrieval of about 70 unique values per class. There are also about 60 different instances of this class- all with 70 unique values.
For security reasons, I am reluctant to use a separate database to retrieve and store these values and have opted for Collections, using Hashmaps or Treemaps to store and retrieve. Is this the only way forward?
Have been working on Java for only 18 months so still a bit green. Any guidance would be appreciated.
Thanks

I do need persistant variables and a database is certainly the tidiest option however, the data security required is not only to preserve the data integrity but it is also of significant commercial worth, hence the attraction of going down the hashmaps/treemaps route. The aim is to deploy the software without needing to reference an external or local database.
I'll do a bit more research into database security before scrapping the idea altogether.
Thanks
Kola

Similar Messages

  • Data storage and read

    Hello all,
    I got a problem in data storage and read. I used the combination of "Open data storage", "Write data" and "Close data storage" to store some data as an array as shown below.
    And used the inverted combination to read data as shown below:
    As shown the data file is in tdm form. This works fine in my computer, both the VI and the stand alone application. However when I run the stand alone application in a target pc, the storage file can't be generated!
    I don't know if it's the problem of my code or the problem of the target pc, since the target pc has tiny memory card with few drivers installed. I'm wondering if anybody could help me fix this problem. If there's other way I can store and read the file? or if I can make the target pc generate the tdm file.
    Thanks!
    Chao
    Solved!
    Go to Solution.

    What error is being presented when the file isn't being generated?  Is it an error with permissions?  Or an error with a folder not existing?  Can you manually make a file in the location where you expect the file to be generated?
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • OLE object storage and retrieval FORMS 6.0

    Hello All,
    Iam using forms 6.0 and iam using OLE object to store the data object into the database, using the block wizard i created the object and from the
    action->Save iam saving the ole object to the database....
    Now i want to retrive the ole object from the database....
    my sql is
    declare
    ol long raw;
    begin
    select ole_object into ol from drawing_files where draw_no=1;
    drawing_files.ole_object:=ol;
    end;
    Its showing error in "Bad bind variable"
    How to solve the error
    and if possible i need the sql coding for storage and retreival of OLE object data..
    Thanks......

    I have re-applied the patch and the problem has vanished??
    Everything appears to function properly.

  • XML storage and retrieval in/out of 8i

    Please take into consideration my lack of exerience in XML and
    Oracle8i when you read this question....
    Our project is considering using Oracle8i to store, query &
    retrieve XML documents. Having read several Oracle web sites on
    XML, I'm left with the impression that the Oracle iFS is at the
    conerstone of Oracle's XML implementation. The idea of a
    drag-n-drop approach to place XML data files into the database is
    interesting, but I suspect our project needs a more "programatic"
    (i.e. background/automatic) approach to conveniently storing and
    retrieving XML data. I've read only "hints" that O8i will support
    this. My question: where can I find out more about what Oracle8i
    has to offer the developer in this area?
    Thanks
    Syd
    null

    Hi Meghana,
    concerning KM (I am assuming 6.0, SP2)in general, connection of repositories, classification of content, creation of your own properties, etc. I can only point you to the documentation for:
    a) Administrators
    http://help.sap.com/saphelp_ep60sp2/helpdata/en/38/76bd3b6e74d708e10000000a11402f/frameset.htm
    b) End Users
    http://help.sap.com/saphelp_ep60sp2/helpdata/en/4a/725b3bad64474ee10000000a114084/frameset.htm
    Concerning APIs, if the standard configuration options of KM (described in Admin Guide) and of the SAP Enterprise Portal are not enough, please check:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/sap netweaver developers guide.booklet
    Regards,
    Karsten

  • S6 IPSec Service Data Storage and WiFi Calling

    Hi,
    Can any other S6 owners tell me the storage size of the IPSec Service application.
    Then can you tell me if you have wifi calling enabled.
    I am getting the run around between EE and Samsung as I think there is a data leak in the wifi calling.
    My IPSec Service application is taking up 5.16GB and there is no way to clean this other than a phone reset.
    Cheers
    Ian

    I have the same issue. Only 1.6gb though. I heard this is some sort of memory leak and 5.1.1 should fix this issue. But being EE and a Samsung device, who knows when the update will arrive! 

  • Data storage and aggregation levels

    Hi,
    I want to know, in facts and dimensions, where is data stored? Is it on multiple levels of aggregation? Or it does not depend from aggregation and it is stored at the lowest level?
    Thank you.

    hi,
    It is not stored as aggregations,the data is stored as de-normalised format and that data is picked up by BI server and process the data accordingly applying the conditions and coming to aggregations it will push down the functions applied on that to lower level.
    hope it clears your doubt.
    By,
    KK

  • Implement the storage and retrieval of object descriptors

    I need to get the name of a class, methods etc from the console and then some how store them and then retrieve ... them...
    the user can enter
    employee
    int id;
    String name;
    printMe();
    }

    THought this might help you
    http://forum.java.sun.com/thread.jsp?forum=62&thread=444118&tstart=15&trange=15

  • Data storage and Confidentiality

    How long is data stored by FormsCentral?
    Can I request the removal of specific data?
    Will FormsCentral access any of the data I collect?

    The data is removed when you delete your form.
    Randy

  • Use an external HD with Airport Extreme to access it for data storage from computers  connected to the WiFi network?

    Can I connect My Passport HD into my Airport Extreme's USB port to access it from my computers (27" iMac 2012 now using Yosemite) on that Wifi network for data storage and retrieval purposes?

    Yes, if the AirPort base station's hardware supports 802.11n. The drive needs to be formatted as Mac OS Extended (Journaled), FAT16, or FAT32, and may need to be connected through an USB hub with its own power supply.
    (117777)

  • Document Management - store and retrieve

    Currently we are running on SRM 4.0 with SRM 5.0 server and Netweaver 6.4.   Our screens were developed using BSPs and running in SAP Portal 5.0 (soon to be 6.0, hopefully).   What is the recommendation for storing and retrieving documents?  There are SEVERAL postings on different sites, but not getting anywhere.  Some of the postings contain specific function modules (like Bapi_document_create2, CVAPI, O_Document_…) but were not found in our system.  We did find CL_BDS_DOCUMENT, but found the following statement "SAP currently recommends not using BDS or DMF. Even use of the other Knowledge Provider services should be evaluated carefully." within this site's documentation under Knowledge Provider section.  Can anyone refer us to some technical documents and hopefully sample code?

    Your question is not easy to answer. There are different options to store and retrieve documents. First of all it depends on the functionality you need on your documents. Since I have no experience with SAP KM I can only talk about the options within SAP NetWeaver.
    The SAP Knowledge Provider is divided into different part. The most basic part is the CMS API(Content Management Service) (All function modules starting with SCMS_*). This API allows the retrieval and storage of documents in terms of the SAP Knowledge provider document model where a document consists of components and each component corresponds to the content. With the CMS API you can store and retrieve those documents in a Content Server via the HTTP 4.5 interface.
    Such a content server can be an external archive system that is certified for the HTTP 4.5 API (a list is provided by the ICC), the SAP data base or preferably the SAP content server (coming with SAP NetWeaver).
    All document management services in SAP (SAP ArchiveLink, Business Document Service, SAP Records Management, Document Management System) are clients of the SAP Knowledge Provider CMS API.
    Now, in order to model documents, the SAP Knowledge provider comes with the SAP DMS API. This DMS API is used to model complex document models (attributes, relations, ...) based on a so called content model that can be modelled via the document modeling workbench (DMWB). Here, the document management services mentioned above behave different. The SAP Knowledge provider is only infrastructure. This infrastructure has specializations using this infrastructure. Here are the most important ones I know about.
    SAP ArchiveLink: This services offers the storage and retrieval of simple images and the service of linking those images to business objects. Those links are for example contained in the table TOA01.
    So, the main focus here is to be able to navigate from a business object to the related images. It further has a workflow integration. The classical example is the invoice related to an FI document.
    SAP ArchiveLink does not support any kind of document management functionality such as versioning and indexing. But, with the introduction of the SAP Document Finder, this can be done project specifically.
    SAP ArchiveLink comes with a nice document viewer for viewing stored documents.
    SAP Business Document Service: The business object serevice was designed to be a simple API for managing documents including simple versioning and indexing of images and documents.
    SAP Document Management Service: This is the specialization with respect to PLM. So, DMS has the focus on engineering documents but can also be used to store other images and documents. SAP DMS offers document management functionalities such as check-in, check out of documents.
    SAP DMS is using a classification service for classifying documents. It also has a very large BAPI API for the external access on those documents. As far as I know, SAP DMS is not part of SAP NetWeaver (therefore, you did not find CVAPI*).
    SAP Records Management: SAP Records Management can be used for document management but is more than that.
    Within Records Management it is possible to create hierarchical structures and to fill them with all kinds of documents. You can either integrate scanned images (via ArchiveLink) or you can use the SAP Records Management Document service provider offering some basic DMS functionalities such as versioning and indexing. The nice thing is that you can keep a whole structure of documents and even any other SAP objects such as business objects, transactions or URL's.
    A typical application example is a HR personnel file. We've already done a lot of projects on that.
    In the end, the choice of the document management infrastructure depends on the needs you have.
    If you simply want to store and retrieve documents without any document management functionality ArchiveLink or simply the SAP CMS API will do.
    If you need hierarchical structures for your documents and an integration with various business objects SAP Records Management would be a good choice.
    You will find quite a lot of documentation in http://help.sap.com about these services.
    Now, a last remark for web applications. Most of the GUI's of the upper applications are made for SAPGUI. So, here it is necessary to extend the SAP functionality by developing own applications. Since all services are using the CMS HTTP API for storing and retrieving the content you can always generate a URL for displaying the documents. Use SCMS_DOC_URL_CREATE for creating such a URL for example.
    I hope, that helps a bit.
    Torsten

  • Data storage in Swing application

    I'm currently developing a book collection application, which allows a user to search/add/delete entries. I thought about data storage and figured that perhaps just using XML files would be best, since there would only be a few hundred records involved. Would it be easiest to use JAXB for this type of thing? Or perhaps an XML database instead of a few XML files? I'd really appreciate any hints or comments.

    My personal opinion: no, keep it simple.
    A simple XML handling is done by both:
    dom4j www.dom4j.org (better documentation), and
    jdom[7b] www.jdom.org (better performance the last time).
    Use for instance dom4j-full.jar with XPath support for element selection.

  • My iphone 4 has no data storage. I have deleted all apps, music and texts and it still says I only have 1.9 GB available. There is nothing in my storage.

    My iphone 4 has no data storage. I have deleted all apps, music and texts and it still says I only have 1.9 GB available. There is nothing in my storage.

    The problem could be that you don't have enough storage on the device itself, not on iCloud.  Go to Settings>General>Usage to see how much "Storage" you have available on the device.  Farther down the list is the available storage on iCloud.
    Also check:
    Go to Settings>iCloud>Storage & Backups>Manage Storage; there, tap the device you need info on and the resulting screen lists Backup Options with which apps store data on iCloud as well.  Tap Show All Apps to get the complete list of apps and MB used for backup storage.
    A device needs many MB of storage in order to perform a backup to iCloud.
    Also see:  http://support.apple.com/kb/ht4847`

  • Any way to use OBDC in SAP to access MySQL DB and retrieve data

    I'd like to logon to an external MySQL DB (can de done easily enough with PHP)   but I'd like to do it with ABAP if possible.
    Connecting via OBDC I should be able to retreive the data from the DB  and then use it in my SAP application.
    Some databases will allow connection via
    EXEC SQL.
    connect to :dbsid
      ENDEXEC.
    EXEC SQL.
        set connection :dbsid
      ENDEXEC.
    EXEC SQL.
      open xxxxxxx for
      select
    ...... data from external DB
    from tablespace in external db
    ENDEXEC.
    do.
      EXEC SQL.
        fetch next XXXXXX into
               :db_table_field, .... etc
                 ENDEXEC.
      if sy-subrc ne 0.
        exit.
      endif.
      insert table int_sap_table.
    enddo.
    EXEC SQL.
      close XXXXXX
    ENDEXEC.
    If you can make this type of stuff work for a MySQL DB i'd appreciate the answer.
    Using PHP has a drawback as you need to have it installed on the front end PC and run in Foreground.
    The EXEC SQL commands run in batch which is what you need if you are talking about 100,000's of records from an external DB.
    Cheers
    jimbo

    Hi Graham
    Currently it doesn't seem to support MySQL.
    Now that SAP has taken over again the development of MAXDB I can't see it providing  direct MySQL to SAP functionality.
    MAXDB is available but that would mean changing the entire architecture and we don't want to do that.
    I think probably the best route to go would be to create a BAPI which is capable of performing a logon to the remote  MySQL DB server, get the data and either send it back as  IDOCS, an external flat file, or as an internal table depending on the volume of data to be retrieved.
    The good thing about MySQL is that the command line interface makes logging on and retrieving data quite simple.
    This data is actually wanted in a BI  / BW system to provide for a number of business proces analyses.
    I did think abut using "Web Services"  but the data retrieval will essentially be done offline.
    There is no requirement currently for transferring data FROM SAP back to the MySQL database ( although if you've ever dealt with top level management you know how quickly developments can change).
    PHP for all it's drawbacks is the really easy way - but we'll have a problem doing this in background from the SAP servers. For foreground tasks it's a real doddle if you have php on your front end.
    for example
    <?php
    $username = "pee_wee";
    $password = "let_me_in";
    $hostname = "localhost";        */* IP address of remote DB server */*
    $dbh = mysql_connect($hostname, $username, $password)
    or die("Unable to connect to MySQL");
    print "Connected to MySQL<br>";
    // you're going to do lots more here soon
    mysql_close($dbh);
    ?>
    Batch mode also seems OK  also from the documentation
    http://dev.mysql.com/doc/refman/5.1/en/batch-mode.html
    so running an ABAP which can issue system commands (readily available) should work in theory provided the SAP server can connect to the remote MySQL server machine.
    Thanks for your suggestions however
    Cheers
    jimbo

  • Web Analysis Error -- Error while executing query and retrieving data

    Regarding Web Analysis:
    We have a number of reports that we created. yesterday they were all working fine. today we try to open them and most are generating an error.
    The error is:
    Error while executing query and retrieving data.; nested exception is:
    com.hyperion.ap.APException: [1033] Native:
    1013033[Thu Oct 22 09:08:17
    2009]server name/application name/database name/user name/Error91013033)
    ReportWriter exit abnormally
    Does anyone have any insight into what is going on?
    My version information is:
    Hyperion System 9 BI+ Analytic Administration Services 9.3.0.1.1 Build 2
    Web Analysis 9.3.0.0.0.286
    Thanks in advance for your help.
    DaveW

    Hi,
    And also click on check option by opening the query in Query designer,as Mr . Arun suggested.
    And if you get any error in checking, see the long message(detail).
    With rgds,
    Anil Kumar Sharma .P

  • For the last month or so my icloud won't back up, it keeps telling me that there is too much storage and I need to delete some data. But I have deleted between 3-400 photos and it is still saying the same, can anyone please help

    For the last month or so my icloud won't back up, it keeps telling me that there is too much storage and I need to delete some data. But I have deleted between 3-400 photos and it is still saying the same, can anyone please help

    If they were deleted from your camera roll that should have resulted in a corresponding decrease in the estimated size of your next backup.
    If it's still saying that you don't have enough storage to back up, read through this article: http://support.apple.com/kb/ht4847.  It provides some suggestions for reducing your iCloud storage, such as deleting unneeded email. 
    The other area to look at is your text messages.  These are included in the backup.  If you have lots of photos and videos attached to your messages, that can significantly increase the size of your backup.  If that's the case, deleting these may make a big difference.

Maybe you are looking for