Save file in a blob

Hi,
I am using JDev 11 with Toplink.
How can I save a file in a blob?
When I inser the table by using "Java Objects from Tables" everything works fine. I have the three variables id(BigDecimal), name(String) and fileContent(byte[]). After that I create a SessionBean and call the function "Create Data Control". Now I am checking in Data Controls -> Constructors -> txtFiles -> Attributes and I am missing the fileContent attribute. I can only see the id and the name attribute.
Why can't I see the fileContent attribute?
How is it possible to transfer the fileContent from my backing bean to the sessionBean, if the fileContent attribute is not part of the attributes?
Please don't post any links on how to use the af:inputFile component. I did understand that part.
Thank you
Bodhy

Hi,
thanks for your fast reply. The application isn't really helping me, cause I am using Toplink. This problem seems to be Toplink specific. I was posting my problem in the Toplink forum two days ago, but I didn't get any answer.
Greetings
Bodhy

Similar Messages

  • How to save file content in BLOB using ODI?

    We have unix server where the files are stored in a particular directory.
    I have to create one table in Oracle db which will have 2columns.
    One column will have filename & in another column i need to store file content(whatever that file has) which should be a BLOB type.
    There is no restriction on file type,it could be .txt,.xls,.jpg.
    Need help
    Edited by: user11090018 on Jun 9, 2010 4:24 AM
    Edited by: user11090018 on Jun 10, 2010 10:22 PM

    If you can give a detail explanation about your requirement then we may try to come up with a solution .....

  • How to open a file form a blob column?

    I'm storing some files in oracle 9.2 in a blob column, although i can't open them using php 4, I'm using this script :
    <?php
         $SQL="SELECT ID_ARCHIVO,CONTENT";
              $SQL=$SQL." FROM ARCHIVOS_PRUEBAS ";
              $SQL=$SQL." WHERE ID_ARCHIVO =".$v_ID_ARCHIVO ;
              $c=OCILogon("$v_USER" , "$v_PASS" ,"$v_CONEXION" );
              $s = OCIParse($c,$SQL );
              if (!OCIExecute($s)) { print "execution failed"; exit(); }
         OCIFetchInto($s,&$arr,OCI_RETURN_LOBS);
         echo $arr["CONTENT"]->load();
              ?>
    it shows this error
    Fatal error: Call to a member function on a non-object in ov_archivo_detail_test.php on [echo $arr["CONTENT"]->load(); ].
    I know the data is stored correctly since i used toad to save and open the blob file and it was ok, but i still can't find a right way to show the file from the web.
    Message was edited by:
    user560595

    Hi,
    <br>
    <br>
    Did you already try take a look on
    Oracle+PHP Cookbook: Working with LOBs in Oracle and PHP ?
    <br>
    <br>
    Cheers

  • Save file to database using WEBUTIL

    Hi,
    I have used webutil_file_transfer.Client_To_AS_with_progress to upload files from client to Application Server using Forms 10g
    However, now i want to save file in database and not upload to database.
    Apart from the problem, I was wondering if there is documentation available on WEBUTIL
    Please help

    I want to store the file in the database as a BLOB.
    Earlier I was uploading to Application Server.
    I had used webutil_file_transfer.Client_To_AS_with_progress to upload to Server,
    I hope there is a procedure / function similar to Client_To_AS_with_progress in the webutil_file_transfer package

  • How to upload a file to a BLOB column in the DB using PL/SQL???

    Hi
    I am trying to upload a file to a BLOB column in my database. I wana do this using some pl/sql procedure.I don't wana use webutil. is it possible??? and if so can anybody help me with this???
    Regards
    Shiraz

    Hello,
    This is a stored procedure sample that show how insert into CLOB, BLOB and BFILE columns
    CREATE OR REPLACE PROCEDURE Insert_document
         PC$Type IN DOCUMENT.TYP%TYPE
        ,PC$Nom IN DOCUMENT.NOM_DOC%TYPE
        ,PC$Texte IN VARCHAR2
        ,PC$Image IN VARCHAR2 
        ,PC$Fichier IN VARCHAR2
       ) IS
      L$Blob BLOB;
      L$Clob CLOB;
      L$Bfile BFILE;
      LN$Len NUMBER := dbms_lob.lobmaxsize;
      LN$Num NUMBER ;
      LN$src_off PLS_INTEGER := 1 ;
      LN$dst_off PLS_INTEGER := 1 ;
      LN$Langctx NUMBER := dbms_lob.default_lang_ctx ;
      LN$Warn NUMBER;
      BEGIN
        -- Création of new raw --
        If PC$Fichier is not null Then
           L$Bfile := BFILENAME( 'FICHIERS_IN', PC$Fichier );
        End if ;
        -- Creation of temporary objetcs --
        dbms_lob.createtemporary( L$Clob, TRUE ) ;
        dbms_lob.createtemporary( L$Blob, TRUE ) ; 
        -- Loading text in CLOB column --
        If PC$Texte is not null Then
           L$Bfile := BFILENAME( 'FICHIERS_IN', PC$Texte );
           dbms_lob.fileopen(L$Bfile, dbms_lob.file_readonly);
           If dbms_lob.fileexists( L$Bfile ) = 1 Then
             dbms_output.put_line(PC$Texte || ' open' ) ;
             dbms_lob.loadclobfromfile(
                                       L$Clob,                -- Destination CLOB
                                       L$Bfile,               -- Source file pointer
                                       LN$Len,                -- # bytes to read
                                       LN$src_off,            -- Source start position
                                       LN$dst_off,            -- Target start position
                                       dbms_lob.default_csid, -- CSID
                                       LN$Langctx,            -- Language Context
                                       LN$Warn);              -- Warning message
             dbms_lob.fileclose(L$Bfile);
          Else
             raise_application_error( -20100, 'Erreur ouverture ' || PC$Texte ) ;
          End if ;
        End if ;
        -- Loading image in BLOB column --
        If PC$Image is not null Then
           L$Bfile := BFILENAME( 'FICHIERS_IN', PC$Image );
           dbms_lob.fileopen(L$Bfile, dbms_lob.file_readonly);
           dbms_lob.loadblobfromfile(
                                     L$Blob,       -- BLOB de destination
                                     L$Bfile,      -- Pointeur de fichier en entrée
                                     LN$Len,       -- Nombre d'octets à lire
                                     LN$src_off,   -- Position source de départ
                                     LN$dst_off);  -- Position destination de départ
           dbms_lob.fileclose(L$Bfile);
        End if ; 
        -- Save --
        Insert into DOCUMENT (ID, NOM_DOC, TYP, UTILISE, LOB_TEXTE, LOB_DATA, LOB_FICHIER)
               Values( SEQ_DOCUMENT.NEXTVAL, PC$Nom, PC$Type, NULL, L$Clob, L$Blob, L$Bfile ) ; 
        -- Free the temporary objects --
        dbms_lob.freetemporary( L$Clob ) ;
        dbms_lob.freetemporary( L$Blob ) ; 
      END;
    /The table structure for this sample is the following:
    CREATE TABLE DOCUMENT (
      ID           NUMBER (5) PRIMARY KEY,
      TYP          VARCHAR2 (20),
      UTILISE      VARCHAR2 (30),
      LOB_TEXTE    CLOB,
      LOB_DATA     BLOB,
      LOB_FICHIER  BFILE,
      NOM_DOC      VARCHAR2 (100))
    /Francois

  • Saving a file to a BLOB and back...

    Hello everyone.
    I'm trying to save a file to a blob, and recover the blob value later to save to a file, but i'm having problems.
    I'm recording and retrieving the data sucessfuly, but the file written is like corrupted. But it is with the same filesize as the original one.
    This is how i'm doing:
    Recording the file to the database (BLOB):
    <?
    $conn = oci_connect('USER_NAME', 'PASSWORD', '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=MYSERVER)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=MYSERVICENAME)))');
    $filePath = '/var/www/html/Something.png';
    $fileOut = '/var/www/html/fileback.png';
    $codigo = 5;
    $blob = oci_new_descriptor($conn, OCI_D_LOB);
    $sql =
    "begin
       insert into MYTABLE (COD, FILE) values (:COD, :FILE);
    exception
      when dup_val_on_index then
         update MYTABLE set FILE = :FILE where COD = :COD;
    end;";
    // Parse the query
    $stid = oci_parse($conn, $sql);
    // Bind values
    oci_bind_by_name($stid, ":COD",  $codigo);
    oci_bind_by_name($stid, ":FILE", $blob, -1, OCI_B_BLOB);
    // Get the file
    $file = fopen($filePath, 'rb');
    // Read file content
    $fileContent = fread($file, filesize($filePath));
    // Write file content to the BLOB
    $blob->writeTemporary($fileContent);
    // Execute the statement
    $r = oci_execute($stid, OCI_DEFAULT);
    // Commit
    oci_commit($conn);
    // Close BLOB descriptor
    $blob->close();
    // Release the statement and close the connection
    oci_free_statement($stid);
    oci_close($conn);
    Retrieving the BLOB value:
    $conn = oci_connect('USER_NAME', 'PASSWORD', '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=MYSERVER)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=MYSERVICENAME)))');
    $filePath = '/var/www/html/Something.png';
    $fileOut = '/var/www/html/fileback.png';
    $codigo = 5;
    $sql = 'select * from MYTABLE where COD = :COD';
    $stmt = oci_parse($conn, $sql);
    oci_bind_by_name($stmt, ":COD", $codigo);
    $result = oci_execute($stmt);
    $a = oci_fetch_array($stmt, OCI_RETURN_NULLS);
    $a['FILE']->export($fileOut);   // Don't work
    //file_put_contents($fileOut, $a['FILE']->read($a['FILE']->size()), FILE_BINARY);   // Don't work
    //file_put_contents($fileOut, $a['FILE']->load(), FILE_BINARY);   // Don't work
    fwrite(fopen($fileOut, 'rwb'), $a['FILE']->load());
    oci_close($conn);If someone can help me with anything i appreciate, thanks.
    Edited by: user1977051 on 12/06/2009 10:33

    I solved it.
    The problem is because the execute after the blob write:
    // Write file content to the BLOB
    $blob->writeTemporary($fileContent);
    // Execute the statement
    $r = oci_execute($stid, OCI_DEFAULT);and should be:
    // Execute the statement
    $r = oci_execute($stid, OCI_DEFAULT);
    // Write file content to the BLOB
    $blob->writeTemporary($fileContent);
    // i'm using this instead
    $blob->saveFile($filePath);Thanks.

  • Can't save files to Last Folder Used

    I'm scanning items with a Kodak iQsmart3, running under Kodak's oXYgen 2.6.1 scan application. Late last week, the application suddenly stopped saving files to the last folder used. Now I have to re-select the destination folder for each scan.
    I have rebooted the computer several times, and have also re-installed the scan application, but nothing helps the problem. It seems now that the problem may be with OS 10.4.11. I've searched and searched for a solution within the OS, but can't find anything that helps.
    Does anyone have a suggestion on how to proceed? Is there a place where you can check to see if the saving options can be changed?

    Thanks for your suggestion. However, I did as you advised and still cannot save files to the last folder used, as I used to be able to do.
    This is the first time in the 2 1/2 years I've been using this system that I've had any trouble with it. When I opened Disk Utility, it showed me the size and type of three different drives, all identical in manufacture. The first holds the Operating system, and the other two are set up in a Raid Striped set. I selected Macintosh HD under the name of the first drive, since that's the name of the disk on my desktop, and ran the Repair Permissions function, moving the recentitems.plist file to the desktop and rebooting, as per your instructions. Was that the proper area to use or should I have selected the disk description above that?
    (Below is the disk information from the Disk Utility application)
    Disk Description : Hitachi HDS725050KLA360 Media Total Capacity : 465.8 GB (500,107,862,016 Bytes)
    Connection Bus : Serial ATA 2 Write Status : Read/Write
    Connection Type : Internal S.M.A.R.T. Status : Verified
    Connection ID : "Bay 1" Partition Scheme : GUID Partition Table
    (Below is the information on the Macintosh HD folder of that drive.)
    Mount Point : / Capacity : 465.4 GB (499,763,888,128 Bytes)
    Format : Mac OS Extended (Journaled) Available : 226.2 GB (242,855,989,248 Bytes)
    Owners Enabled : Yes Used : 239.3 GB (256,907,898,880 Bytes)
    Number of Folders : 133,296 Number of Files : 684,567

  • I can't save files to my desktop, but I can save anywhere else. How do I fix this?

    I can't save files to my desktop.  I have no problem saving the same file anywhere else.  WHen I try through excel, for example, it tells me the file is read only. When I try to save it as a different file name, a pop up tells me I do not have permission to save to the desktop.  The same issue occurs when I attempt to take a screen shot (default save to desktop)

    Click on it, choose Get Info from the File menu, give yourself Read & Write access under Sharing and Permissions or Ownership and Permissions, and ensure it's not locked.
    (64371)

  • I can't save files to desktop in OS 10.8.2

    is there some reason I can't seem to use the finder to select the desktop to save files to? 

    So, after a couple of hours on the phone with tech support, turns out somehow the desktop folder was being treated as a document type and terminal was the default program to open it.  Never figured out why that could have happened, but had to create a new desktop folder and move all the items from the old desktop into it.  So for the time being the problem is gone.

  • "Always ask me where to save files" does not work.

    Summary: The "Always ask me where to save files" feature does not work. No dialog box comes up, apparently because the browser is stuck on a bad old read-only lastDir location, in a prefs.js file that I can't edit.
    Details:
    I am using Firefox 30.0 on Mac OS 10.6.8. My Mac has a both a read/write Mac partition that I use most of the time, and a bootcamp Windows partition drive ("C"), which I can read but not write to.
    At some point I accidentally tried to download a file from a site, using Firefox, to the read-only Windows C drive. Ever since that time, I have not been able to download any files from Firefox, except to the firefox/downloads folder. This is inconvenient. If, in preferences, I try to set downloads to ""Always ask me where to save files", the dialog box does not come up when I actually try to save files. This problem does not apply to saving photos by right-clicking them.
    If I open, in text-edit, mozilla/firefox/profiles/t4vockvue.default/prefs.js, which was saved yesterday, I can see a problematic line. It reads:
    user_pref("browser.download.lastDir", "C:\\Documents and Settings\\[etcetc]");
    C:\\Documents and Settings\\[etcetc] being the read-only windows directory.
    This prefs.js is apparently not an editable file.
    I tried to fix this by opening a browser tab in Firefox and opening about:config. The editable browser.download.lastDir does NOT show the same "lastDir"....it shows some directory that I successfully downloaded photos to, by right-clicking on a photo.
    How can I fix this problem?
    Thanks.

    To confirm which profile folder is active when you are running Firefox, it is easiest to open it from inside Firefox as follows:
    Sometimes the file that stores the customizations becomes corrupted and fails to update properly at the end of your session. You can rename the file and customize from scratch.
    * "3-bar" menu button > "?" button > Troubleshooting Information
    * (menu bar) Help > Troubleshooting Information
    In the first table on the page, click the "Show in Finder" button (Windows: "Show Folder" button).
    Hopefully you are using a separate profile folder on each OS.

  • Re Time Machine "You do not have appropriate access privileges to save file ".002332b7be8a" warning preventing backups--this may help temporarily

    My TM is often giving me the "You do not have appropriate access privileges to save file “.002332b7be8a” in folder “Time Machine Backups”" message when I go to select my backup drive. I've reviewed past archived discussions on this and, like many other people, gotten completely flummoxed trying to find a permanent solution.  Tried the suggested fixes via Terminal and it didn't help because I couldn't get through the entire process without Terminal telling me it couldn't find a file or drive.  When I can find the time, I'm going to try Tinker Tool to reveal where that numbered file actually is and give it another go.
    In the meantime, for those who are desperate to get their TM working again to get at least one backup done, I can offer people a temporary solution that's worked for me.
    I've found that restarting my iMac somehow resets TM and usually allows it to do at least one of its automatic backups, sometimes several, before it reverts back to failing and producing that same darn warning message.  I only want a backup done once a day, so it's not that inconvenient to go this route.
    There's another even quicker  method (perhaps a little more risky but hasn't been a problem for me yet) that I've been using more recently, and that is to simply unplug the external while the iMac is on (I close system preferences first though, and make sure TM isn't actually doing anything at the time) then plugging it back in and choosing the backup drive again in the TM system preferences window once that drive has shown up again in the Mac's list of devices.  I don't get that warning message when I do this.  It works every time for me and so far it hasn't lost or corrupted any data on the external, despite the warning message you get on Macs when you unplug a USB device without ejecting it first.  However, do this at your own risk--don't flame me if it backfires on you.  If you're of the opinion that it's not wise to unplug the device this way, then fine, go ahead and state such in this thread, but be polite about it.
    Hope this helps anyone who's frantic to make a backup without having to start from square one with a whole new complete initial backup (can take many hours to make one) on a fresh external drive.
    By the way, I've read somewhere that this problem was fixed with Snow Leopard.  Whether that's true is another matter.  I'm not quite ready to update to 10.6 for other reasons, even though I bought it, and I figure some other people are also still using 10.5.8 out of fear and loathing around the unknowns of installing a new OS too, so that's why I thought I'd post this message (couldn't find a discussion around this that was still active and not archived).

    noodlenose wrote:
    My TM is often giving me the "You do not have appropriate access privileges to save file “.002332b7be8a” in folder “Time Machine Backups”" message when I go to select my backup drive.
    Wow, I haven't seen that in a looooong time!
    Tried the suggested fixes via Terminal and it didn't help because I couldn't get through the entire process without Terminal telling me it couldn't find a file or drive.
    Do you mean in #C5 of Time Machine - Troubleshooting?
    When I can find the time, I'm going to try Tinker Tool to reveal where that numbered file actually is and give it another go.
    It should be at the top level of the drive.
    By the way, I've read somewhere that this problem was fixed with Snow Leopard.
    Yes.  I'm not sure if it was 10.6.0 or one of the early updates, but I haven't seen any reports of this in quite a while.

  • I cannot print from Websites or my college online course. Tries to save files to desktop as an .xps document but nothing happens and I get an error message that print command did not work. Have reinstalled firefox and adobe, no help. Any suggestions?

    Cannot print anything from internet using Firefox as browser. Please advise. I have to use Firefox for internet college courses, cannot print my assignments. I do not have this problem on Mac or using Internet Explorer. Only happens when using Firefox. When I select print a message comes up to save information to desktop as .xps file. Select save, sometimes it is on the desktop but I cannot open the file or it simply does not save file and get an error message that print command failed. What is happening?

    {Ctrl + P} and select your printer in the Printer - Name box near the top of that window.
    http://kb.mozillazine.org/Problems_printing_web_pages

  • Microsoft Office 2004 (Word) unable to save files  I have been running Office 2004 on my Intel iMac with Snow Leopard for some time and all of a sudden I cannot save a document. Word just stopped responding and I have to force quit. I can open Word and cr

    Microsoft Office 2004 (Word) unable to save files
    I have been running Office 2004 on my Intel iMac with Snow Leopard for some time and all of a sudden I cannot save a document. Word just stopped responding and I have to force quit. I can open Word and create a new document but I cannot save it. I reinstalled Word but that didn’t help. Then went to the Internet and found at least one other Mac user having the same problem which it suggests is caused by a recent Mac Security Update:
    http://answers.microsoft.com/en-us/mac/forum/macoffice2004-macword/word-2004-wil l-not-open-or-save-documents/b04eb870-9b0d-4f3b-bb47-b122301e36f6
    So I check for a new Mac Security Update and sure enough there was one. I downloaded it and now Word seems to be working, as it should. I can both open and save files. The only problem remaining is that when I open Word I get the following error message “An unexpected error occurred while trying to load the Microsoft Framework library”. I contacted Apple but they were unable to help.
    How can I get rid of this error message?

    Look, I realize you might have to get your machine working, so this is how you revert back.
    Restore proceedure to pre-Security Update 2012-001 v 1.0 & v 1.1
    #1 Backup your personal data off the machine.
    Backup files off the computer (not to TimeMachine). If you don't have a external drive, get one and connect to the USB/Firewire port and simply drag and drop copy your User folder to the external drive, it will copy all your files. It's best to have two backups of your data off the machine when trying to restore.
    Disconnect all drives now to prevent any mistakes from occuring.
    #2 Reinstall OS X 10.6 from disk
    Get out your 10.6 install disk and make sure it's clean and polished (very soft cloth and a bit of rubbing alcohol, no scratches) If your disk is borked, you'll have to order a new one from Apple with your serial number.
    Hold c boot off the 10.6 disk (wired keyboard, internal optical drive), use Disk Utility First Aid to >Repair Disk  of your internal drive  (do not format or erase!!), Quit DU and simply re-install 10.6.
    Note: Simply reinstalling 10.6 version from disk (without erasing the drive) only replaces 10.6.8 with 10.6.x and bundled Apple programs, won't touch your files (backup anyway)  or most programs, unless they installed a kext file into OS X itself. (only a few on average do this)
    #3 Update to 10.6.8 without Security Update 2012-001 v1.0 or v1.1
    Reboot and log in, update to 10.6.8 via Software Update, but EXCLUDE THE Security Update 2012-001 by checkinig the details and unchecking the blue check box.
    #4 Reinstall any non-working third party programs
    When you reboot, make sure to reinstall any programs that require kext files installed into OS X, you'll know, they won't work when you launch them or hang for some reason as they are missing the part they installed into OS X.
    If for some freakish reason you get gray screen at any time when booting (possible it might occur when you reinstall older programs), hold the shift key down while booting (Safe Mode, disables kext files) and update your installed third party software so it's compatible with 10.6.8.
    https://support.apple.com/kb/TS2570
    That's it really.

  • I deleted my download folder and now I can't download anything. I can't select the folder to "save file to" and when I select "ask me where to save files" I still can't download. it says your file will start downloading, but then it doesn't. Help!!

    I deleted the folder that saves everything that is downloaded from Firefox. After that I can't download anymore. I've tried clearing my download history, reset the download folder, reset the download action by renaming the mimetype.rdfs file and it's still not working. I've tried to choose a different download folder but it doesn't let me select any folder at all. If I select "ask me where to save files" and then try and download something, the download doesn't start after I select save to. The only time it does actually download is when I select "open with...windows mediaplayer" when downloading then the download will start. Please help. Thank you.

    You broke your phone by getting it wet.  Nothing more to say.  Bring it in to Apple for an out of warranty exchange or buy a new phone.  There's really nothing else we users here can help you with.

  • How to open and save file like the Notepad Demo do?

    I am a newer to Java Web Start. I found that in the Notepad Demo, when user try to open or save file, a message box appear and give the user some security suggestions.
    In my application, I used a JFileChooser and set the <security> element to <j2ee-application-client-permissions/> in the jnlp file. But the application will thow an exception:
    access denied (java.io.FilePermission C:\Documents and Settings\Administrator\desktop\Java Web Start.lnk read)
    Can someone tell me how to solve this problem. By the way, where can I find the source of the Notepad Demo. I want my application to open and save file just like the Notepad Demo do.

    The Notpad demo uses the JNLP api to read and write files. The api doc can be found at:
    http://java.sun.com/products/javawebstart/docs/javadoc/index.html
    Although the Notpad demo source is not available, there is other sample code available at:
    http://developer.java.sun.com/developer/releases/javawebstart/
    Included here is the webpad demo, which uses the FileOpenService and
    FileSaveService API's.

Maybe you are looking for

  • Animated Gif's in Mac Mail

    There have been a couple of threads on this now closed without a solution. I discovered how a somewhat tedious way to get an animated gif into a mac mail msg while seeing the animation in action. I used iWeb to create a blank white pate. I then inser

  • Display problem with itunes 8

    Hi. I'm having a problem with iTunes. It seems to be a display problem. Here's the link: http://i40.tinypic.com/1zlqaoh.jpg Reinstalling iTunes does not help. The same problem occurs. Any help would be appreciated.

  • Why a black screen upon exiting Reader 9?

    I can open PDF files, read them, and prnt them. I am using Firefox as my browser. When I close the PDF screen, I get a black screen. I would think that the PDF reader should close and return me to the screen from whence I opened the PDF. I have to cl

  • Business Objects XI 3.1 SP4 UPgrade

    Hi I have couple of questions regarding the XI 3.1 SP4 Upgrade. We are currently on XI 3.1SP3 and we also have Live Office XI 3.1 SP3. We inten to upgrade to SP4. 1) Is there any Live office xi 3.1 sp4 upgrade available? a) if Yes then where can I fi

  • Non-additive time dimension

    Hi, I have an issue modelling the time dimension for one of our facts (employee counts). The problem is this - when a user says "I want to see the count of employees for a given time period" - what they mean is that they want to see the count of empl