Refreshing Drive List

Hi. I have several external drives. I frequently unmount them in order to allow them to spin down and rest. What is the best way to refresh the drive list in Finder so that they appear again?

I simply want to see the drives that are physically connected to my computer. I unmoount them to let them spin down, but then when I want to use them, I'd like to be able to find them. I can of course unplug the Firewire chord and re-plug it, but I'm guessing there is a more elegant way that that...

Similar Messages

  • A connection to the SharePoint site cannot be established. To synchronize or refresh your list, you must be able to connect to the SharePoint site

    Hi,
    I have a SharePoint 2010 farm with two Web Applications.
    For example:
    https://contoso.domain.com
    https://finance.domain.com
    Both Webapp use https --> 443. Same valid certificate for both (*.domain.com)
    I tested exporting an Excel library in https://contoso.domain.com.
    It export and sync up sucessful the Excel library and it updates it OK.
    However, once exported the Excel library in https://finance.domain.com, when
    I try to syncronize or update the library I receive an error back, which indicates: "A connection to the SharePoint site cannot be established. To synchronize or
    refresh your list, you must be able to connect to the SharePoint site". I had tested the WebDav (Map Network Drive) and the connection results OK.
    Do you have any idea about this issue?? Why https://finance.domain.com do not
    synchronize or refresh in excel o SharePoint site???
    I had tested the security with IIS, SSL, WebDav.
    Thank you,
    Gaby

    Hi!!!
    I solved this problem.
    I created a new Application Web in the farm (https://project.domain.com), dismount content database the old application web ( https://finance.domain.com)
    and the new application web (https://project.domain.com).
    #New AppWeb project.domain.com
    Get-SPContentDatabase -WebApplication https://project.domain.com | Dismount-SPContentDatabase -WhatIf
    #Old AppWeb
    Get-SPContentDatabase -WebApplication https://finance.domain.com | Dismount-SPContentDatabase -WhatIf
    Mount the old content database to the new application web (https://project.domain.com).
    Mount-SPContentDatabase "WSS_Content_Finance" -DatabaseServer "MyServer" -WebApplication https://project.domain.com
    If you want to keep the same url, change the alternate access mappings.
    Remember to change the bindings in IIS.
    Hope you help the solution...
    Gaby

  • IP Printing: HP OfficeJet Pro K850 not in driver list

    Hi
    After hours of work, I reckon I cannot solve the following problem on a iMac running Tiger 10.4.11 by myself. I installed a HP OfficeJet Pro K850 on my Mac directly trough USB, and everything worked fine. Then I decided to upgrade the whole system by connecting the printer trough a D-Link DP-G321 Print Server, in order to share the printer for the entire network. Despite everything works fine with Windows PCs, I can't get it to work with the Mac. By adding the K850 to the printer list, after typing the IP Address of the print server and the queue name, I have to choose the printer manufacturer and the model. Sadly, there is no entry in the HP list saying OfficeJet Pro K850, nor any similar printer models. I then simply tried to add the printer as a Generic PostScript Printer and print a document. I am sure there is a connection between my Mac and the printer, for the printer began to print strange texts until I pressed the cancel button on the printer. So it seems to be a driver problem, in fact the printer does not appear in the driver list, although the driver is (or should be) installed on my Mac (from the HP OfficeJet Pro K850 driver CD). How can I get the driver in that list? Appearantly, there is no "standalone" driver provided by HP, since the driver should be integrated in Mac OS X Tiger (at least that's what HP told me).
    Any help would be very appreciated!

    You can find this issue addressed here many times - but I guess you would need to know some background first...
    There are two kinds of drivers on OS X - Carbon and CUPS. Not like on Windows, where a driver is a driver. Manufacturers of non-postscript printers mostly provide Carbon drivers, where they can specify which comm protocol it uses. Your HP driver is written for USB only. You need a CUPS driver to use the network protocols, which are all part of CUPS.
    Install the 3-part hpijs driver:
    http://www.linux-foundation.org/en/OpenPrinting/MacOSX/hpijs

  • How do I add a Printer Driver to the Driver List??

    Im trying to add my printer to a WGPS606 Netgear Print server. So Im adding a Printer to print via LPD IP printing, but My Canon iP4200 is not listed as one of the canon printers in the "Print Using" driver list.
    I have been to the Canon site and can only seem to download a Pkg driver file (which I have run).
    If I use the "other" setting in the "print using" driver list surely I can add the iP4200 if I had the right driver file.....? How do I get hold of the right file to add it to the list or am I missing the point of adding a print driver to the pre-installed list????

    I have read my list through and through but no sign
    of Designjet 900. (now slightly cross-eyed). If you
    get a chance to look through the list on your mac
    when you're reunited, I would be grateful!
    The latest version of the Gutenprint/Gimp-Print drivers does not have a generic DeskJet Series 900 PPD. It lists individual printers in the 900 range. The Gimp-Print v4.2.7 driver package did have a generic DeskJet Series 900 PPD. Somewhere in between, there was a change over to model specific PPDs.
    Crispian, your original request for a driver for an HP printer was for the HP Deskjet 9800. Gutenprint/Gimp-Print does not support that printer. The hpijs drivers do support that printer. If that is not the printer you have, please specify again which printer you have. There has been mention of the DeskJet 9800, DeskJet 900, and DesignJet 900 in this thread.
    Matt
    Mac Mini G4; B&W G3/300    

  • How to refresh the list of select one choice which is inside a table?

    Hello I am using Jdeveloper Version 11.1.2.1.0.
    The table is a normal table that is made to look like a treeTable.
    For some rows are or can be parents with Parent_vo_group_id = null and other are children with parent_vo_group_id = vo_group_id of the parent...
    If a children changes its parent_vo_group_id to null it can become a parent as well.
    I am having a select one choice inside a table column. The list comes from the same table with column Name:
    <af:table value="#{bindings.VoGroupAdminView2.collectionModel}" var="row"
                                                      rows="#{bindings.VoGroupAdminView2.rangeSize}"
                                                      contentDelivery="immediate"
                                                      visible="#{bindings.VoGroupAdminView2Iterator.currentRow != null}"
                                                      fetchSize="#{bindings.VoGroupAdminView2.rangeSize}"
                                                      partialTriggers="::soc1" styleClass="AFStretchWidth"
                                                      rowBandingInterval="0" editingMode="clickToEdit"
                                                      binding="#{adminGroupManagementBean.groupTable}"
                                                      selectionListener="#{adminGroupManagementBean.groupSelectionListener}"
                                                      rowSelection="single" id="t5">
                                                <af:column sortProperty="#{bindings.VoGroupAdminView2.hints.Name.name}"
                                                           sortable="false" styleClass="columnData"
                                                           headerClass="tableHeader"
                                                           headerText="#{bindings.VoGroupAdminView2.hints.Name.label}"
                                                           id="c1">
                                                    <af:inputText value="#{row.bindings.Name.inputValue}"
                                                                  requiredMessageDetail="Please enter a group name"
                                                                  label="#{bindings.VoGroupAdminView2.hints.Name.label}"
                                                                  required="true" id="it7" immediate="true" autoSubmit="true"
                                                                  columns="#{bindings.VoGroupAdminView2.hints.Name.displayWidth}"
                                                                  maximumLength="#{bindings.VoGroupAdminView2.hints.Name.precision}"
                                                                  shortDesc="#{bindings.VoGroupAdminView2.hints.Name.tooltip}"
                                                                  contentStyle="#{row.ParentVoGroupId eq null? 'font-weight:bold' : 'padding-left:20px'}"
                                                                  valueChangeListener="#{adminGroupManagementBean.groupNameChangeListener}"
                                                                  partialTriggers="soc2">
                                                        <f:validator binding="#{row.bindings.Name.validator}"/>
                                                    </af:inputText>
                                                </af:column>                                   
                                                <af:column sortProperty="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.name}"
                                                           sortable="false" styleClass="columnData"
                                                           headerClass="tableHeader"
                                                           headerText="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.label}"
                                                           id="c4">
                                                    <af:selectOneChoice value="#{row.bindings.ParentVoGroupId.inputValue}"
                                                                        label="#{row.bindings.ParentVoGroupId.label}"
                                                                        simple="true" immediate="true"
                                                                        required="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.mandatory}"
                                                                        shortDesc="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.tooltip}"
                                                                        id="soc2" autoSubmit="true"
                                                                        unselectedLabel="&lt;null&gt;"
                                                                        valueChangeListener="#{adminGroupManagementBean.parentIdValueChangeListener}"
                                                                        visible="#{row.bindings.ChildrenCount.inputValue eq 0 ? true : false}">
                                                        <f:selectItems binding="#{adminGroupManagementBean.selectOneChoiceList}"
                                                                        value="#{row.bindings.ParentVoGroupId.items}"
                                                                       id="si2"/>
                                                    </af:selectOneChoice>
                                                </af:column>
                                            </af:table> My select one choice uses the same iterator as the table.
    <iterator Binds="VoGroupAdminView2" RangeSize="-1" DataControl="AppModuleDataControl"    id="VoGroupAdminView2Iterator"/>The table uses this view called VoGroupAdminView:
    Select t1.vo_Group_id,     
           t1.name,
           t1.Vehicle_Owner_Id,
           t1.Graphical_Symbol,
           t1.Lm_Comment,
           t1.Parent_Vo_Group_Id ,
           decode (t2.children_count, null, 0, t2.children_count) as children_count
           from
    (SELECT VoGroup.vo_Group_id,     
           VoGroup.name,
           VoGroup.Vehicle_Owner_Id,
           VoGroup.Graphical_Symbol,
           VoGroup.Lm_Comment,
           VoGroup.Parent_Vo_Group_Id
      FROM VO_GROUP VoGroup
    START WITH VoGroup.Parent_Vo_Group_Id IS NULL
    CONNECT BY VoGroup.Parent_Vo_Group_Id = PRIOR VoGroup.Vo_Group_Id
    order SIBLINGS by VoGroup.name) t1,
    (select parent_vo_group_id, count (parent_vo_group_id) as children_count from vo_group
    group by parent_vo_group_id) t2
    where t1.vo_group_id = t2.parent_vo_group_id (+)the ParentVoGroupId attribute has list of values from this view object called VoGroupAdminLov:
    SELECT
        VO_GROUP.NAME,
        VO_GROUP.VEHICLE_OWNER_ID,
        VO_GROUP.PARENT_VO_GROUP_ID,
        VO_GROUP.VO_GROUP_ID
    FROM
        VO_GROUP
    WHERE  VO_GROUP.PARENT_VO_GROUP_ID is null
    and VO_GROUP.VO_GROUP_ID <> ?
    order by  VO_GROUP.NAMEI want to refresh the list of values in the select one choice everytime when i add a new row in the table, delete row in the table or change the value of select one choice component.
    What I have tried:
        public void parentIdValueChangeListener(ValueChangeEvent valueChangeEvent) {
            this.setValueToEL("#{row.bindings.ParentVoGroupId.inputValue}", valueChangeEvent.getNewValue());
            BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
            DCIteratorBinding voGroupAdminIterator = (DCIteratorBinding)bc.get("VoGroupAdminView2Iterator");
            Key selectedGroupKey = voGroupAdminIterator.getCurrentRow().getKey();
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
            am.getTransaction().postChanges();
            am.getVoGroupAdminView2().executeQuery(); //refresh the table view object;
            am.getVoGroupAdminLov1().executeQuery(); //refresh the list of values view object
            voGroupAdminIterator.invalidateCache();  //remove the cache of the iterator
            voGroupAdminIterator.setCurrentRowWithKey(selectedGroupKey.toStringFormat(true)); // set the selected row again.
            RichSelectOneChoice soc =
                (RichSelectOneChoice)FacesContext.getCurrentInstance().getViewRoot().findComponent(":pt1:t5:soc2");
            AdfFacesContext.getCurrentInstance().addPartialTarget(soc);
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.groupTable);    
        }When i am adding a new row to the table its select one choice list is refreshed but only for the new row. The rest rows have not updated list of values for their select one choice components.
        public String addGroupButtonAction() {
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
            ViewObjectImpl voGroupAdminView = am.getVoGroupAdminView2();
            Row newRow = voGroupAdminView.createRow();
             newRow.setNewRowState(Row.STATUS_INITIALIZED);
            voGroupAdminView.insertRowAtRangeIndex(0, newRow);
            am.getTransaction().postChanges();
            return "null";
        }Edited by: 897833 on Mar 19, 2012 9:07 AM

    I made a button to refresh the value of select one choice and it doesn't work yet.
    So I just move one of the
        public String refreshParentIdSOCButtonAction() {
            BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
            DCIteratorBinding voGroupAdminIterator = (DCIteratorBinding)bc.get("VoGroupAdminView2Iterator");
            Key selectedGroupKey = voGroupAdminIterator.getCurrentRow().getKey();
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
            am.getTransaction().postChanges();
            am.getVoGroupAdminView2().executeQuery();
            am.getVoGroupAdminLov1().executeQuery();
            voGroupAdminIterator.invalidateCache();
            voGroupAdminIterator.setCurrentRowWithKey(selectedGroupKey.toStringFormat(true));
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.parentIdSelectOneChoice);  //refresh the binded SOC as you said
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.parentIdSelectOneChoiceList); //refresh the binded list even
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.groupTable); //refresh the table it is in;
            return null;
        }Edited by: 897833 on Mar 23, 2012 2:58 AM

  • Is there a way of excluding Time Machine from drives list?

    Every time I save a file or an application scans the drives on my iMac, the Time Machine drive is included.
    But because the HDs in the external drive (Iomega) go to sleep between Time Machine back ups, they have to spin up (2 HDs in a RAID setup, so both have to spin up) before the application can go on. That takes something between 5 and 10s every time.
    Is there a way of excluding the TM drive from the normal drives list? So that it's invisible to applications?
    Cheers,
    Marco

    if it is spotlight that i s scanning your drives, add the time machine drive to the privacy area in system prefs:spotlight:privacy. either drag the drive to the window or click the + buttonon bottom right.

  • Lenovo G50-45 why is no USB 3.0 driver listed for this model

    I started a clean boot of Windows 7 x64 from USB as I'm not a fan of Windows 8 but since installing I've been unable to get the USB 3.0 port to recognize anything I plug in (was working fine before).
    I can't see a USB 3.0 driver listed on the support page for this model:
    https://support.lenovo.com/us/en/products/laptops-and-netbooks/lenovo-g-series-laptops/g50-45-notebo...
    I've also read similar problems have occured on other manufacturers laptops and this was fixed by installing the chipset drivers etc in the correct order.
    Is there a correct order I should adhere to?
    Any help much appreciated

    I am having the exact same issue on my 2013 MBPr.
    I have two Seagate GoFlex USB 3.0s, one plugged into the regular 3.0 port (450MB/s) on the left and the other plugged into the high-speed (5GB/s) 3.0 port on the right. When doing a simple copy/paste from the one drive to the other, I observe the following speeds:
    Peak Read (USB 3.0): 36.2Mb/s (288Mbit/s)
    Peak Write (USB-HS 3.0): 48.7Mb/s (384Mbit/s)
    This is far below the 620MB/s for 3.0 and is more around the 35MB/s USB 2.0 standard.
    So, I'm likely to agree with the original compaintant that the 3.0 standards aren't being employed by the MacOSX USB drivers and I'd hope to see a fix soon for these issues lest people start moving off of the Mac platforms to other vendors who adhere to industry guidelines.

  • Refresh activities listed in workspace inbox automatically

    Hi, I have a split-n implemented inside a process. The activity is asigned to a group of persons with a specific role. The first person who executes the activity completes the activity and the process continues, but this activity is still shown in other persons whom the activity was assigned previously.
    I want to reload other users' inbox so they can't see this activity anymore.
    I found this code inside workspace.properties, which is located in OraBPMStudioHome\webapps\workspace\WEB-INF.
    # Not used in this version.
    fuego.workspace.refreshTimeMin=1
    I've also found this code for FuegoBPM System Administrator 5
    fuego.portal.autoRefreshMenuOptions=true
    fuego.portal.refreshTimeMin=0.1
    I've tried coping this code inside in workspace.properties but it didn't work.
    Does anybody know the equivalent to refresh activities listed in workspace inbox automatically code used in Oracle BPM Studio 10.3.1.0?

    Hi Joe,
    normally the inbox is refreshed automatically when you enter.
    We found the program that is called when you enter the inbox.
    Here you can add additional code.
    Function module: SINWP
    subroutine: append_folrg_to_tree
    Best regards,
    Werner.

  • Drive Mapping not showing up in Explorer Drive Listing

    Hi, I am having a strange problem.
    I have a unc path that I want to map to and everything works fine.
    Apart from one user.
    When I try to map the drive under the probmatic account, I cant see anything in my drive list.
    I can go to Computer and map the location by using the Map Network Drive button. (This works fine and the mapping appears.)
    But the mapping doesn't appear if I use Net Use. (It says the command completed successfully but it doesn't show in my drive listing)
    I have added the account to the local administrators group and turned off UAC.
    It's really strange.
    I need it to be able to map using Net Use because I have a batch file with a command in.
    Have you come across anything like this?

    Hi,
    No multiple connection to the share using the same credentials. It's basically saying that I can't connect to the share as more than one instance of the same user.
    But it's showing that no sessions exist. It's like it's not cleaning up the connections properly when you close them.
    I have found some other articles.
    This post sounds similar to what I am describing. It's from the following thread
    http://social.technet.microsoft.com/Forums/en-US/4b736ba5-268a-4dcb-a3ee-cc2abff0bb01/issue-with-group-policy-drive-mapping?forum=W8ITProPreRel
    Run command "net use" in command line with administrator privilege and see if the drive is mapped.
    If you can see the mapped drive in the result of net use but cannot see it in Windows Explorer, the issue may be caused by UAC. Are you the domain adminsitrator?
    Similar issues occurred since Windows Vista. See:
    http://technet.microsoft.com/en-us/library/cc766208(WS.10).aspx
    It said:
    UAC may prevent Group Policy logon scripts from appearing to work properly. For example, a domain environment contains a GPO that includes a logon script to map network drives. A nonadministrative user logs on to the domain from a Windows Vista computer.
    After Windows Vista loads the desktop, the nonadministrative user starts Windows Explorer. The user sees their mapped drives. Under the same environment, an administrative user logs on to the domain from a Windows Vista computer. After Windows Vista loads
    the desktop, the administrative user starts Windows Explorer. The user does not see their mapped drives.
    When the administrative user logs on, Windows processes the logon scripts using the elevated token. The script actually works and maps the drive. However, Windows blocks the view of the mapped network drives because the desktop uses the limited token while
    the drives were mapped using the elevated token.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    <input id="1f32e2ec-e0e3-481d-90b8-7fcc52f488fa_attachments" type="hidden" value="" />                
    Marked as answer by                            
    Arthur Xie<abbr class="affil">Microsoft contingent staff, Moderator</abbr>                        
    Friday, June 29, 2012 9:15 AM                    
    Unmarked as answer by                            
    GraffitiK<abbr class="affil"></abbr>                        
    Wednesday, December 19, 2012 3:58 PM                    
    Thursday, June 07, 2012 6:48 AM
    Arthur Xie
    Arthur Xie
    MSFT CSG
    32,950 Points               
    12               
    4               
    2                       
    Recent Achievements           
    New Gallery Rater                                           
    Thread Mover II                                           
    Proposed Answerer I                                                           
    Arthur Xie's threads                               
    View Profile           
                                        (MSFT CSG)                               
    32,950 Points               

  • Refresh a list when a mxml is opened

    Hi all,
    I have two mxml. In the first, i've a datagrid that is correctly populated and it has some headercolumns (for example: name).
    In the second mxml, I want to show the user all the names  in the datagrid.
    To show the names I use a list. That list is populated when the mxml creation is completed (event 'creationCompleted'). The problem is when the datagrid change so the new names are not shown to user.
    Is there any way, event or similar wich I can refresh the list when the second mxml is opened?
    Thanks in advance!

    Hi, thanks for your answers!
    DataBinding is very "hard" for my app because I really haved lot of mxml.
    I tried to use dataChange property but nothing happens.
    This is my actual code:
          Datagrid in main.mxml
    <comp:ColoredDataGrid id="dg_events" width="100%" height="100%"
                             dataProvider="{eventList.eventCollection}"
                             rowColorFunction="getRowColor"
                             dataChange="dataChangeDg()">
                             <comp:columns>
                                  <mx:DataGridColumn headerText="Nombre de evento" width="150"
                                       dataField="name"/>
                                  <mx:DataGridColumn headerText="ID" width="40"
                                       dataField="eventId"/>
                                  <mx:DataGridColumn headerText="Propietario" width="120"
                                       dataField="owner"/>
                                  <mx:DataGridColumn headerText="Fecha" width="70"
                                       dataField="date"/>
                                  <mx:DataGridColumn headerText="Hora" width="55"
                                       dataField="time"/>
                                  <!-- <mx:DataGridColumn headerText="N. Parámetros" width="100"
                                       dataField="numParams"/> -->
                                  <mx:DataGridColumn headerText="Parámetros"
                                       labelFunction="eventList.getParams"/>
                                  <!--<mx:DataGridColumn headerText="Archivo" width="40"
                                       dataField="numFile"/>-->
                             </comp:columns>
                        </comp:ColoredDataGrid>
    And now filterParam.mxml (this is where I want to refresh the list). I paste a bit of code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:comp="comp.*"
               creationComplete="load()"
               dataChange="load()">
              //Activamos panel de filtrado por parámetros y cargamos valores                    
              public function load():void{
                   panel.percentHeight = 100;                              //Ajustamos tamaño
                   eventsArr = new Array();
                   eventsArr = eventList.categories_events();          //Obtenemos listado de eventos
                   eventsArr.push('---Todos---');                         //Añadimos etiqueta todos para el filtrador
                   eventsArr.sort(1);                                        //Organizamos alfabéticamente
                   owners = eventList.categories_owners();               //Obtenemos objetos propietarios
                   owners.push('---Todos---');
                   owners.sort(1);
                   categories = eventList.categories_params();          //Obtenemos todos los parametros
                   categories.sort(1);
                   matchFilter = new MatchFilter(dg);                    //Herramientas de filtrado
    <mx:VBox>                    
                                  <mx:List id="nameList" dataProvider="{eventsArr}" width="200" height="200"
                                        doubleClick="nameEv = nameList.selectedItem.toString();"/>
                                  <mx:HBox width="100%">
                                       <mx:Spacer width="100%"/>
                                       <mx:Image source="@Embed('/assets/images/system/add.png')" click="addEvent()"
                                                     toolTip="Bla bla bla bla"/>     
                                  </mx:HBox>                              
                             </mx:VBox>
    Thanks for your answers!

  • What are the three drives listed on my iMac?

    Just out of curiosity, what are the three drives listed on my new iMac when one performs the diskutil list command in Terminal?
    More specifically, what is /dev/disk0 ?
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *121.3 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:          Apple_CoreStorage                         121.0 GB   disk0s2
       3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3
    /dev/disk1 says Apple_Boot Recovery HD which makes sense with the new recovery partition.
    /dev/disk2 says Apple_HFS MyDIskName and Logical Volume on disk0s2, disk1s2, followed by a bunch of numbers and characters, then Unlocked Encrypted Fusion Drive. I am assuming tis refers to the actual fusion drive that is mounted on the desktop.
    Thank you very much!

    Amazon has sync software that uses a Cloud Drive as stated at http://appadvice.com/appnn/2013/04/amazon-cloud-drive-sync-arrives-for-mac
    Allan

  • JPA -- Best way to refresh a List association?

    Hi,
    I need to refresh a OneToMany association.
    For example, I have two entities: Header & Detail.
    @Entity
    @Table(name="HEADERS")
    public class Header implements Serializable {
        @OneToMany(mappedBy="header")
        private List<Detail> details;
    @Entity
    @Table(name="DETAILS")
    public class Detail implements Serializable {
        @ManyToOne(fetch=FetchType.LAZY)
        @JoinColumn(name="HDR_ID", referencedColumnName="HDR_ID")
        private Header header;
    }So, I fetch the Header along with all its Details.
    At a later point of time, I know that some Detail rows in the database have been changed behind my back. I need to re-fetch the list of Details. What should I do?
    1. I could add a cascade parameter to the @OneToMany association. I could specify:
    @OneToMany(mappedBy="header", cascade={CascadeType.REFRESH})Then I could run:
    entityManager.refresh(header);The trouble is that, since all the Details are already in the cache, the cached entities will be returned, not the ones fetched from the database. So, I won't refresh a thing. A query will be sent to the database indeed, but I will get the cached (i.e. stale) entities. I don't know of a way to specify something like
    setHint(TopLinkQueryHints.REFRESH, HintValues.TRUE)dynamically for associations, so that the values in the cache would be replaced with the ones fetched from the database.
    2. I could try to turn off the caching for the while Entity class. The trouble is that for some reason this doesn't work (see my other question here JPA -- How can I turn off the caching for an entity? Besides, even if it worked, I don't want to turn off the caching in general. I simply want to refresh the list sometimes.
    Could anyone tell me what's the best way to refresh the association?
    Best regards,
    Bisser

    Hi Chris,
    First, let me thank you that you take the time to answer my questions. I really appreciate that. I wish to apologize for my late reply but I wasn't around the PC for a while.
    TopLink doesn't refresh an entity based on a view. I will try to explain in more detail. I hope you'll have patience with me because this might be a bit longer even than my previous post. I will oversimplify my actual business case.
    Let's assume we have two tables and a view:
    create table MASTERS
      (id number(18) not null primary key,
       master_name varchar2(50));
    create table DETAILS
      (id number(18) not null primary key,
       master_id number(18) not null,   -- FK to MASTER.ID
       price number(7,2));
    create view DETAILS_VW as
      select id, master_id, price
      from details;Of course, in real life the view is useful and actually peforms complex aggregate calculations on the details. But at the moment I wish to keep things as simple as possible.
    So, I create Entities for the tables and the view. Here are the entities for MASTERS and DETAILS_VW, only the essential stuff (w/o getters, setters, sequence info, etc.):
    @Entity
    @Table(name="MASTERS")
    public class Master {
         @Id
         @Column(name="ID", nullable=false)
         private Long id;
         @Column(name="MASTER_NAME")
         private String masterName;
         @OneToMany(mappedBy="master", fetch=FetchType.LAZY, cascade=CascadeType.REFRESH)
         private List<DetailVw> detailsVw;
    @Entity
    @Table(name="DETAILS_VW")
    public class DetailVw {
         @Id
         @Column(name="ID")
         private Long id;
         @ManyToOne(fetch=FetchType.LAZY)
         @JoinColumn(name="MASTER_ID", referencedColumnName="ID")
         private Master master;
         @Column(name="PRICE")
         private Double price;
    }So, now we have the tables and the entities. Let's assume one master row and two detail rows exist:
    MASTER:  ID=1, MASTER_NAME='Master #1'
    DETAIL:  ID=1, MASTER_ID=1, PRICE=3
    DETAIL:  ID=2, MASTER_ID=1, PRICE=8And now let's run the following code:
    // List the initial state
    Master master = em.find(Master.class, 1L);
    List<DetailVw> detailsVw = master.getDetailsVw();
    for (DetailVw dv : detailsVw) {
         System.out.println(dv);
    // Modify a detail
    EntityTransaction tx = em.getTransaction();
    tx.begin();
    Detail d = em.find(Detail.class, 2L);
    d.setPrice(1);
    tx.commit();
    // Refresh
    System.out.println("----------------------------------------");
    em.refresh(master);
    // List the state AFTER the update
    detailsVw = master.getDetailsVw();
    for (DetailVw dv : detailsVw) {
         System.out.println(dv);
    }And here are some excerpts from the console (only the essentials):
    DetailVw: id=1, price=3
    DetailVw: id=2, price=8
    UPDATE DETAILS SET PRICE = ? WHERE (ID = ?)
         bind => [1, 2]
    SELECT ID, MASTER_NAME FROM MASTERS WHERE (ID = ?)
         bind => [1]
    SELECT ID, PRICE, MASTER_ID FROM DETAILS_VW WHERE (MASTER_ID = ?)
         bind => [1]
    DetailVw: id=1, price=3
    DetailVw: id=2, price=8You see, the UPDATE statement changes the DETAILS row. The price was 8, but was changed to 1. I checked the database. It was indeed changed to 1.
    Furthermore, due to the refresh operation, a query was run on the view. But as you can see from the console output, the results of the query were completely ignored. The price was 8, and continued to be 8 even after the refresh. I assume it was because of the cache. If I run an explicit query on DETAILS_VW with the hint:
    q.setHint(TopLinkQueryHints.REFRESH, HintValues.TRUE);then I see the real updated values. But if I only refresh with em.refresh(master), then the DetailVw entities do not get refreshed, even though a query against the database is run. I have tested this both in JavaSE and in OC4J. The results are the same.
    An explicit refresh on a particular DetailVw entity works, though:
    DetailVw dvw = em.find(DetailVw.class, 2L);
    em.refresh(dvw);
    System.out.println(dvw);Then the console says:
    DetailVw: id=2, price=1So, the price is indeed 1, not 8.
    If you can explain that to me, I will be really thankful!
    Best regards,
    Bisser

  • JCS-122017 Error When refreshing Application List

    JCS-122017 Error When refreshing Application List
    This issue started occurring when we migrated CPS from M28 to M33
    We currently have M33.45 in Dev and are still experiencing the same error when refreshing the application list.
    To replicate the issue, I can login, click applications, click the redwood folder, then click the refresh button within CPS and receive the below error.
    [Errors found]      11:35:27 AM: JCS-122017: Trying to use non-attached object Application:2,472
    Has anyone else had this issue, this appears to happen to all of the application lists when refreshing
    JCS-122017: Trying to use non-attached object Application:2,472
         at com.redwood.scheduler.model.BaseSchedulerEntityImpl.checkHasSession(BaseSchedulerEntityImpl.java:853)
         at com.redwood.scheduler.model.BaseSchedulerEntityImpl.checkCanRead(BaseSchedulerEntityImpl.java:859)
         at com.redwood.scheduler.model.NamedRootObjectImpl.getName(NamedRootObjectImpl.java:143)
         at com.redwood.scheduler.ui.meta.page.MetaOverviewPage.getTabName(MetaOverviewPage.java:227)
         at com.redwood.scheduler.ui.meta.page.MetaTabPage.setTabPageNameType(MetaTabPage.java:94)
         at com.redwood.scheduler.ui.meta.MetaTabPageSetNameAction.performModelAction(MetaTabPageSetNameAction.java:49)
         at com.redwood.scheduler.ui.meta.MetaModelAction$ModelActionImpl.performModelAction(MetaModelAction.java:62)
         at com.redwood.scheduler.ui.model.impl.FormImpl.modelActions(FormImpl.java:730)
         at com.redwood.scheduler.ui.model.impl.LifeCycle.run(LifeCycle.java:226)
         at com.redwood.scheduler.ui.servlet.Servlet.handleRequest(Servlet.java:98)
         at com.redwood.scheduler.ui.servlet.Servlet.doPost(Servlet.java:54)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
         at com.redwood.scheduler.module.impl.ModuleFilter.doFilter(ModuleFilter.java:157)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
         at com.redwood.scheduler.security.filter.SecurityFilter.doFilter(SecurityFilter.java:613)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
         at com.redwood.scheduler.servlet.RequestCharsetFilter.doFilter(RequestCharsetFilter.java:197)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    The error is in the admin guide
    No timezone could be found to calculate this TimeWindowElement. This means
    that the object that includes the TimeWindow should set the TimeZone to use
    for the calculation of the TimeWindow, or a TimeZone must be set on the
    TimeWindow or TimeWindowElement.
    I do not see how this would occur within the application list.
    Thanks,
    Edited by: Nick Katsoulis on Jan 17, 2012 6:39 PM

    Hi Nick,
    I think you have already received this info via OSS - In case anyone else encounters this same problem - This issue will be fixed in a future version of CPS, planned for the M33-April release.
    David

  • Refreshing iTunes List

    hi
    i have a big problem ! i have 105 app in itunes but i can see only 20 of them , how can i refresh applications list in itunes on iphone?

    Do you have enough space on your HD to download? If so, then see if repairing permissions & restarting helps.
    Suggest that you also cross-post over in the iTunes for Mac Forums

  • Refreshing Applications List

    hi
    i have a big problem ! i have 105 app in itunes but i can see only 20 of them [ i can only see 20 of them in applications list in iphone ], how can i refresh applications list in itunes on iphone?

    Hello,
    Just so you are aware...when you signed up to this site, you were presented with certain sets of documentation concerning the purpose and acceptable use of this site. To reiterate (paraphrase) that for you now...this site is a user-to-user community. It is not a user-to/from-RIM channel for any formal communications whatsoever. Hence, the answer to your question would be no...no one from RIM can formally answer your question here. All escalations are contractually bound to follow your formal support channel...the place where you currently have an open ticket can escalate into RIM if required, but you have no free path by which to bypass them. You must first escalate through them, to higher and higher levels of their management if necessary, until such point as they agree to escalate into RIM. Such is the nature of the contractually required support channel...and all parties (the carriers, service centers, RIM, and indeed the end users) are bound by that contract to which they agreed upon purchase/subscription for services.
    I wish there were a better answer for you, but sadly at this time there is not.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for

  • How to connect Apple TV to DVD blu-ray home theatre

    Hi guys, I am planning to buy Apple TV2 and I was wondering is there setup guide for connecting to HDTV and home theatre system. I currently have LG HDTV and LG DVD Blu-ray Home Theatre. They are connected with HDMI 1.3 cable and I had to get optical

  • Mac osx 10.6 froze at login to another user account now boots to blue

    I am at my wits end and i'm hoping someone can help!!! this is about the 5th time my mac has just frozen, eventually causing me to reformat, reload and start again, and that's in the past 3 months, i only bought the thing in january and this has been

  • Airport used to work fine, but won't connect to internet now

    Hello. I bought my Macbook pro about two weeks ago and never had problems with my internet connection. I moved last week to another city, and had my wi-fi installed today. My brother has a Powerbook G4 and it worked fine with the new connection, but

  • IPod Classic 160 takes 50+ Hours to sync 32700 Songs

    I have one of the original 160GB iPod classics and I am attempting to sync it with a large iTunes library (32700 songs) and it is taking 50+ hours to do so...I assume it has something to do with the fact that I have lots of smart playlists...I have s

  • Which HD codec to use?

    Hello! Its been a long, long time since my last confession, but since I'm here... I'm building an animated storyboard in FCP from very large scans. Delivering to HD Quicktime and SD DVD. Want to work in 1080p or 720p - what kind of timeline do you re