Strange Selection in TreeView

Hello,
I am having some issues with TreeView. If attached code is run and the following tried
1. expand "RootNode"
2. expand "package B"
3. select either "B1" or "B2"
4. expand "package A"
Then there will be 2 tree items selected, either "B2" and "A3" or "B1" and "A2". The treeview has the selection mode set to single. Does anyone know what is causing this?
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.StackPane;
import javafx.scene.control.TreeView;
import javafx.scene.control.TreeItem;
import javafx.scene.control.SelectionMode;
public class Main extends Application {
     public static void main(String[] args) {
        launch(args);
    @Override
    public void start(Stage primaryStage) throws Exception{
          primaryStage.setTitle("TreeView Test");
          primaryStage.setScene(createScene());
          primaryStage.show();
     private Scene createScene(){
          StackPane stackPane = new StackPane();
          TreeView treeView = new TreeView<String>();
          treeView.setRoot(createModel());
          treeView.getSelectionModel().setSelectionMode(SelectionMode.SINGLE);
          stackPane.getChildren().add(treeView);
          return new Scene(stackPane);
     private TreeItem<String> createModel(){
          TreeItem<String> root = new TreeItem<String>("RootNode");
          TreeItem<String> packageA = new TreeItem<String>("package A");
          packageA.getChildren().addAll(new TreeItem<String>("A1"),new TreeItem<String>("A2"),new TreeItem<String>("A3"));
          TreeItem<String> packageB = new TreeItem<String>("package B");
          packageB.getChildren().addAll(new TreeItem<String>("B1"),new TreeItem<String>("B2"),new TreeItem<String>("B3"));
          root.getChildren().addAll(packageA,packageB);
          return root;
}

Hi. There is a similar bug on jira: http://javafx-jira.kenai.com/browse/RT-25514 (Two focused tree cells while there must be only one).
You may want to comment on it including your case.

Similar Messages

  • Strange select statement behavior in start routine during extraction

    Hi, All..
    I'm receiving some odd behavior from a select statment being processed in batch mode (specifically, when run in a normal BW extractor - start routine), the select yields no results .. sy-subrc = 4 and target itab is empty.  however, when i run this same select statement in debug, i get sy-subrc = 0 and records are returned!!  I tried putting the select statement in a standard abap program & it came back successfully in both foreground & background.  something is strange when run in the BW extractor process?? anyone familiar with this?? any help is appreciated!!  Thanks!!

    Thanks everyone for the comments!
    The code is in the start routine from 0BBP_CONF_TD_1 into 0BBP_CON. 
    -The select returns records when in debug
    -I've tried running it open without the "for all entries" & it still fails in batch
    -The select works during the delta but always fails on the initial load
    The select is a join:
    DATA: BEGIN of t_JOIN1 OCCURS 0,
            CONNUM    LIKE /BI0/ABBP_CON00-BBP_CON_ID,
            CONITEM   LIKE /BI0/ABBP_CON00-BBP_COITEM,
            PONUM     LIKE /BI0/ABBP_PO00-BBP_PO_ID,
            POITEM    LIKE /BI0/ABBP_PO00-BBP_POITEM,
            ACGUID    LIKE /BI0/ABBP_PO00-BBP_ACGUID,
            SCNUM     LIKE /BI0/ABBP_SC00-BBP_SC_ID,
            SCITEM    LIKE /BI0/ABBP_SC00-BBP_SCITEM,
            REQSTR    LIKE /BI0/ABBP_SC00-BBP_REQSTR.
    DATA: END of t_JOIN1.
             SELECT a~BBP_CON_ID
                    a~BBP_COITEM
                    a~BBP_PO_ID
                    a~BBP_POITEM
                    b~BBP_ACGUID
                    c~BBP_SC_ID
                    c~BBP_SCITEM
                    c~BBP_REQSTR
               INTO TABLE t_JOIN1
               FROM /BI0/ABBP_CON00 as a
         INNER JOIN /BI0/ABBP_PO00  as b
                 ON aBBP_PO_ID  =  bBBP_PO_ID AND
                    aBBP_POITEM =  bBBP_POITEM
         INNER JOIN /BI0/ABBP_SC00  as c
                 ON bBBP_SC_ID  =  cBBP_SC_ID
                AND bBBP_SCITEM =  cBBP_SCITEM
                FOR ALL ENTRIES IN  DATA_PACKAGE
              WHERE a~BBP_CON_ID =  DATA_PACKAGE-BBP_CON_ID AND
                    a~BBP_COITEM =  DATA_PACKAGE-BBP_COITEM AND
                    a~BBP_COITEM <> 0 AND
                    b~BBP_ACGUID <> '0000' AND
                    c~BBP_SCITEM <> 0.

  • Strange selection problem

    Hi,
    You know when you have a group but one of the paths is hidden you don't get a full sized square when you click on the group in the layers panel?
    I'm getting that with a compound path...
    I can't seem to select the whole path. There's also some strangeness going on when I try to move the path.
    Any ideas?

    No guides. It was an odd one, if I tried to move the path it disappeared, it was still there in the layers panel but it was empty the second I touched it and tried to move it.
    I cut and pasted the path and everything was ok after that.
    A glitch in the matrix
    Thanks for the reply.

  • Strange select behavior in batch (bw extractor)

    Hi, All..
    I'm receiving some odd behavior from a select statment being processed in batch mode (specifically, when run in a normal BW extractor - start routine), the select yields no results .. sy-subrc = 4 and target itab is empty.  however, when i run this same select statement in debug, i get sy-subrc = 0 and records are returned!!  I tried putting the select statement in a standard abap program & it came back successfully in both foreground & background.  something is strange when run in the BW extractor process?? anyone familiar with this?? any help is appreciated!!  Thanks!!

    Thanks everyone for the comments!
    The code is in the start routine from 0BBP_CONF_TD_1 into 0BBP_CON. 
    -The select returns records when in debug
    -I've tried running it open without the "for all entries" & it still fails in batch
    -The select works during the delta but always fails on the initial load
    The select is a join:
    DATA: BEGIN of t_JOIN1 OCCURS 0,
            CONNUM    LIKE /BI0/ABBP_CON00-BBP_CON_ID,
            CONITEM   LIKE /BI0/ABBP_CON00-BBP_COITEM,
            PONUM     LIKE /BI0/ABBP_PO00-BBP_PO_ID,
            POITEM    LIKE /BI0/ABBP_PO00-BBP_POITEM,
            ACGUID    LIKE /BI0/ABBP_PO00-BBP_ACGUID,
            SCNUM     LIKE /BI0/ABBP_SC00-BBP_SC_ID,
            SCITEM    LIKE /BI0/ABBP_SC00-BBP_SCITEM,
            REQSTR    LIKE /BI0/ABBP_SC00-BBP_REQSTR.
    DATA: END of t_JOIN1.
             SELECT a~BBP_CON_ID
                    a~BBP_COITEM
                    a~BBP_PO_ID
                    a~BBP_POITEM
                    b~BBP_ACGUID
                    c~BBP_SC_ID
                    c~BBP_SCITEM
                    c~BBP_REQSTR
               INTO TABLE t_JOIN1
               FROM /BI0/ABBP_CON00 as a
         INNER JOIN /BI0/ABBP_PO00  as b
                 ON aBBP_PO_ID  =  bBBP_PO_ID AND
                    aBBP_POITEM =  bBBP_POITEM
         INNER JOIN /BI0/ABBP_SC00  as c
                 ON bBBP_SC_ID  =  cBBP_SC_ID
                AND bBBP_SCITEM =  cBBP_SCITEM
                FOR ALL ENTRIES IN  DATA_PACKAGE
              WHERE a~BBP_CON_ID =  DATA_PACKAGE-BBP_CON_ID AND
                    a~BBP_COITEM =  DATA_PACKAGE-BBP_COITEM AND
                    a~BBP_COITEM <> 0 AND
                    b~BBP_ACGUID <> '0000' AND
                    c~BBP_SCITEM <> 0.

  • SQ01 query execution - strange selection screen

    Hi,
    I have created a query using the SQ01 transaction. When I execute the query there is a screen with input selection parameters ("Program selections" box). Fine with that - but above that box there's an additional list of selection parameters. I have no idea where do they come from! Apparently they function with "my" parameters using the AND logic. I would like those parameter input fields to disappear from the screen - how can it be accomplished?

    Lakshmipathi wrote:>
    > Dear Marko
    >
    > Why dont you try with SE16 if you have to fetch the data from one table.  If the data has to be fetched from multiple tables, you can try with SQVI.
    >
    > thanks
    > G. Lakshmipathi
    I use multiple tables and find it difficult to work with SQVI because once I add a table to a join I can't delete it anymore, but have to create another query instead. Moreover, I want the queries to be available to other users as well.

  • Strange "select level from dual connect by level :N" behavior

    Oracle SQL Deveoper version:1.1.0.23
    Oracle database server version:
    select * from v$version;
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
    PL/SQL Release 9.2.0.7.0 - Production
    "CORE     9.2.0.7.0     Production"
    TNS for 32-bit Windows: Version 9.2.0.7.0 - Production
    NLSRTL Version 9.2.0.7.0 - Production
    Run the following queries in sequence as a script and look at number of rows returned:
    select 1, level l from dual connect by level < 1;
    select 2, level l from dual connect by level < 2;
    select 3, level l from dual connect by level < 3;
    select 4, level l from dual connect by level < 4;
    select 5, level l from dual connect by level < 5;
    select 6, level l from dual connect by level < 6;
    select 7, level l from dual connect by level < 7;
    select 8, level l from dual connect by level < 8;
    select 9, level l from dual connect by level < 9;
    select 10, level l from dual connect by level < 10;
    select 11, level l from dual connect by level < 11;
    select 12, level l from dual connect by level < 12;
    1 L
    1 1
    1 rows selected
    2 L
    2 1
    1 rows selected
    3 L
    3 1
    3 2
    2 rows selected
    4 L
    4 1
    4 2
    4 3
    3 rows selected
    5 L
    5 1
    5 2
    5 3
    5 4
    4 rows selected
    6 L
    6 1
    6 2
    6 3
    6 4
    6 5
    5 rows selected
    7 L
    7 1
    7 2
    7 3
    7 4
    7 5
    7 6
    6 rows selected
    8 L
    8 1
    8 2
    8 3
    8 4
    8 5
    8 6
    8 7
    7 rows selected
    9 L
    9 1
    9 2
    9 3
    9 4
    9 5
    9 6
    9 7
    9 8
    8 rows selected
    10 L
    10 1
    10 2
    10 3
    10 4
    10 5
    10 6
    10 7
    10 8
    10 9
    9 rows selected
    11 L
    11 1
    11 2
    11 3
    11 4
    11 5
    11 6
    11 7
    11 8
    11 9
    11 10
    10 rows selected
    12 L
    12 1
    12 2
    12 3
    12 4
    12 5
    12 6
    12 7
    12 8
    12 9
    12 10
    10 rows selected
    1000 L
    1000 1
    1000 2
    1000 3
    1000 4
    1000 5
    1000 6
    1000 7
    1000 8
    1000 9
    1000 10
    10 rows selected
    -- wrong result. return 1 row, should return 0 row
    -- May have some automagical code saw dual and return 1 row.
    select 1, level l from dual connect by level < 1;
    -- wrong result. Should return 11 rows, but it stopped at 10 rows.
    select 12, level l from dual connect by level < 12;
    select 1000, level from dual connect by level < 1000;

    ""By default, when Oracle JDBC executes a query, it receives the result set 10 rows at a time from the database cursor.""
    Sql dev overrides the default and fetches 50 (1.0) or 100 (1.1) rows at a time. In 1.1 this is configurable.
    "I don't HATE any SQL, as long as it's valid."
    That statement is absurd. So, if someone tells you a way to write your query that it allows it to run faster, you wouldn't care? You should hate some SQL, some of it is pure crap and needs to be rewritten. This is what we call 'junk code'. As a developer, your goal should be to write maintainable code. In short, if you have the choice between something that looks fancy and something that is legible and maintainable, choose the maintainability. Sorry, but if I ever saw that statement in a code review I would have made you rewrite it. Also, anything that runs differently on different databases should be avoided, its that simple.

  • SELECT INTO clause strange problem

    Hi all,
    I need some help with a very strange select into statement.Select into throws NO DATA exception even if table has data.
    I am trying to invoke procedure from BPEL.Inside the procedure,I am trying to get "name' from definitions table.But it always throws Data NOT Found exception.But table has relevant data and i am able to see the data by executing the same query outside the BPEL environment/flow(SQL PLUS).
    Also,I kept dummy test table for Debugging purpose and it inserted with temp value '103'.
    My procedure looks like below
    temp:='103';
    INSERT INTO test
    VALUES ('Test-1' ||dummy,sysdate);
    commit;
    SELECT name
    INTO p_name
    FROM definitions
    WHERE id =temp;
    Please help me in this regards
    Thanks in advance.

    Hi Frank,
    Thanks for quick response.
    My actual query is
    dummy:=assume getting_valid_value from BPEL(also same dummy inserting into temp value);
    SELECT organization_code
    INTO p_warehousename
    FROM org_organization_definitions
    WHERE .organization_code = dummy;
    What are the schemas involved? APPS
    (Who owns the table?
    Who own the procedure? APPS
    Is it defined with "AUTHID CURRENT_USER"? NO IDEA
    Who runs it when you get the error? Thru BPEL actually
    What runs the same query in SQL*Plus and sees a row?). v*alid value(ALF)*
    I checked with low level security query as it returns nothing.
    thanks

  • Using TreeViewer and creating a pop-up menu?

    I am using Eclipse Ganymede(3.1?) to write my program. This project has multiple parts(most issues/progress can be tracked back in java-forums.org) and I am trying to get the last bit of my GUI finished. I have a TreeViewer that displays on top of a composite display(not a component) which is why I haven't been able to find a solution that works for me. My tree is interactive(double click nodes to expand, deepest nodes open up an editor view, auto refresh new nodes/deletes etc) and I'm trying to make a pop-up menu appear on right click that would give all the options the File menu gives. I haven't been able to find a work around on how to attach the menu since my TreeViewer is based on a composite instead of a component there is no where to attach the menu. I have been working on this one issue for a week with no progress and am at the point where I'm tempted to rewrite my entire project using JPanel and JPanes and Tree but I REALLY don't want to have to do this. This is my createPartControl method with the relevent sections.
    public void createPartControl(final Composite parent) {
    //          final Tree tree = new Tree(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
              treeViewer = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
    //          treeViewer = new TreeViewer(tree);
              treeViewer.setContentProvider(new ViewContentProvider());
              treeViewer.setLabelProvider(new ViewLabelProvider());
              treeViewer.setInput(createDummyModel());
    //Double click listener
              treeViewer.addOpenListener(new IOpenListener() {
                   public void open(final OpenEvent event) {
                        //double click expands/shrinks nodes, opens up target editors
    //Selection listener
              treeViewer.addSelectionChangedListener(new ISelectionChangedListener() {
                      public void selectionChanged(SelectionChangedEvent event) {
                           final IActionBars bars = getViewSite().getActionBars();
                           selObj = ((IStructuredSelection) event.getSelection()).getFirstElement();                      
                                      //...outputs selection to status bar
    //Mouse listener
              treeViewer.getTree().addMouseListener(new MouseAdapter(){
                 public void mouseUp(MouseEvent event){
                      if(event.button==3){         //right click
                           System.out.println(event.getSource());        //Tree{ }
                           System.out.println(event.display);             //org.eclipse.swt.widgets.Display@1e328e0
                           if(selObj instanceof Server){
                                System.out.println(treeViewer.getControl().toString());          //Same as event.getSource()
                                               /*code to have menu appear goes here*/
                                System.out.println("Server Menu");
                                //Delete Server
                                //Edit Server
                                //View Properties
         }Does anybody know a way I can attach a popup menu to the node I click on or if it's possible(and if so how would I go about) attaching it to the display beneath the TreeViewer and somehow setting the focus or making the popup a heavy component so it would appear on top?
    P.S there's alot more superfluous code in the listeners but they don't pertain to this so I removed them.

    Can anyone confirm that what I'm trying to do is not possible? I found this link which states an SWT bug of the header not being a control so it become unattachable. http://dev.eclipse.org/newslists/news.eclipse.platform.swt/msg38040.html
    Any truth in this and if so where can I track progress of the bug?

  • Trouble Unselecting Inadvertently Selected Text

    I have been inadvertently selecting a group of text while text messaging amd am having the darndest time trying to unselect.  I went to the right side menu and there is no unselect icon.  Pinching doesn't work, selecting elsewhere doesn't work and moving those teardrop selection sliders doesn't work either.  Heeeeeeelp.

    Strange selecting outside the text should have worked what version of the OS are you running?
    If you've been helped click on , if you've been saved buy the app.
    Developer of stokLocker, Sympatico and Super Sentences.

  • How to focus two text boxes at a time?

    Hi,
    I am developing a packet analyzer software. In that, I need to focus two text boxes as I select a treeview item.
    I am using a following code:
    delegate void voiDelegate();
    private void click(object sender, RoutedPropertyChangedEventArgs<object> e)
    TreeViewItem t;
    t =(TreeViewItem) tvMain.SelectedItem;
    StackPanel s = (StackPanel)t.Header;
    List<TextBlock> l = new List<TextBlock>(3);
    foreach (TextBlock children in s.Children)
    l.Add(children);
    string ch = l[3].Text;
    string[] sp = ch.Split('-');
    int te = Convert.ToByte(sp[1]) - Convert.ToByte(sp[0]) + 1;
    PacketDisplay1.SelectionStart = PacketDisplay2.SelectionStart = Convert.ToByte(sp[0]);
    PacketDisplay1.SelectionLength= PacketDisplay2.SelectionLength = te;
    voiDelegate giveFocusDelegate = new voiDelegate(giveFocus);
    Dispatcher.BeginInvoke(giveFocusDelegate, new object[] { });
    private void giveFocus()
    PacketDisplay1.Focus();
    PacketDisplay2.Focus();
    but here I am able to focus only on second Textbox. I need to focus on both textboxes. How can I achieve this?
    My requirement is like this
    thank you.

    The documentation is pretty clear on this: There can be only one
    element on the whole desktop that has keyboard focus:
    https://msdn.microsoft.com/en-us/library/aa969768%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396.
    There is logical focus and there is keyboard focus. There can be multiple elements that have logical focus in an application but only a single element can have keyboard focus. Please refer to the link above for details.
    If you want to highlight text in two different TextBoxes at the same time, you could replace the TextBox elements with RichTextBox elements, and set the background of a text range. Please refer to the following thread for more information about how you could
    do this:
    http://stackoverflow.com/questions/18015380/how-can-i-change-the-selected-text-background-color-in-rich-text-box-wpf-c-sharp
    Here is an example for you:
    public partial class Window6 : Window
    private static TextPointer GetTextPointAt(TextPointer from, int pos)
    TextPointer ret = from;
    int i = 0;
    while ((i < pos) && (ret != null))
    if ((ret.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.Text) || (ret.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.None))
    i++;
    if (ret.GetPositionAtOffset(1, LogicalDirection.Forward) == null)
    return ret;
    ret = ret.GetPositionAtOffset(1, LogicalDirection.Forward);
    return ret;
    internal string Select(RichTextBox rtb, int offset, int length, Color color)
    // Get text selection:
    TextSelection textRange = rtb.Selection;
    // Get text starting point:
    TextPointer start = rtb.Document.ContentStart;
    // Get begin and end requested:
    TextPointer startPos = GetTextPointAt(start, offset);
    TextPointer endPos = GetTextPointAt(start, offset + length);
    // New selection of text:
    textRange.Select(startPos, endPos);
    // Apply property to the selection:
    textRange.ApplyPropertyValue(TextElement.BackgroundProperty, new SolidColorBrush(color));
    // Return selection text:
    return rtb.Selection.Text;
    public Window6()
    InitializeComponent();
    //set text
    PacketDisplay1.Document.Blocks.Clear();
    PacketDisplay1.Document.Blocks.Add(new Paragraph(new Run("some text....")));
    PacketDisplay2.Document.Blocks.Clear();
    PacketDisplay2.Document.Blocks.Add(new Paragraph(new Run("some other text....")));
    //set background
    this.Select(this.PacketDisplay1, 0, 4, SystemColors.HighlightBrush.Color); //select "some"
    this.Select(this.PacketDisplay2, 0, 4, SystemColors.HighlightBrush.Color); //select "some"
    There is no way to achieve this by simply selecting text in two different TextBoxes and there is no way to set the background of a text range in a ordinary TextBox so you must use a RichTextBox here.
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't ask several questions in the same thread.

  • How to handle multiple spatial operators and\or-ed in 10g express(locator)?

    I've noticed that I cannot run certain queries in 10g express, which run perfectly in 10g enterprise.
    The following query is an example:
    SELECT S_ID, SDO_NN_DISTANCE(1) from MAP.BYGG_POLY
    where
    SDO_WITHIN_DISTANCE(GEOM, mdsys.sdo_geometry(2001, NULL, sdo_point_type(441702.780259307,6445401.66207384,NULL), NULL, NULL), 'distance=17.4620649504359') = 'TRUE'
    AND
    SDO_NN(GEOM, mdsys.sdo_geometry(2001, NULL, sdo_point_type(441702.780259307,6445401.66207384,NULL), NULL, NULL), 'sdo_num_res=10', 1) = 'TRUE';
    In the express edition the query results in an error message:
    ORA-13249: SDO_NN cannot be evaluated without using index
    But if I split the select into two seperate selects, I get no error:
    SELECT S_ID from MAP.BYGG_POLY
    where
    SDO_WITHIN_DISTANCE(GEOM, mdsys.sdo_geometry(2001, NULL, sdo_point_type(441702.780259307,6445401.66207384,NULL), NULL, NULL), 'distance=17.4620649504359') = 'TRUE';
    SELECT S_ID, SDO_NN_DISTANCE(1)  from MAP.BYGG_POLY
    where
    SDO_NN(GEOM, mdsys.sdo_geometry(2001, NULL, sdo_point_type(441702.780259307,6445401.66207384,NULL), NULL, NULL), 'sdo_num_res=10', 1) = 'TRUE';
    Moreover I've found that inner select also seems to work as a workaround.
    So the following query is valid in the express edition:
    SELECT S_ID, SDO_NN_DISTANCE(1)  from MAP.BYGG_POLY
    where
    SDO_NN(GEOM, mdsys.sdo_geometry(2001, NULL, sdo_point_type(441702.780259307,6445401.66207384,NULL), NULL, NULL), 'sdo_num_res=10', 1) = 'TRUE'
    AND
    S_ID in (
    SELECT S_ID from MAP.BYGG_POLY
    where
    SDO_WITHIN_DISTANCE(GEOM, mdsys.sdo_geometry(2001, NULL, sdo_point_type(441702.780259307,6445401.66207384,NULL), NULL, NULL), 'distance=17.4620649504359') = 'TRUE');
    Could someone please explain to me why the first query is invalid in the express edition?
    ...or am I doing something wrong?

    SDO_RELATE returns some strange results though.
    If I use mask=inside for a given query I get 69 rows, and for mask=overlapbdyintersect I get 15 rows.
    But if I use mask=inside+overlapbdyintersect, I only get 50 rows.
    Then again if i use UNION ALL, for speed as the manual hints about, I get 84 rows as result if I combine the two.
    Isn't this a bit odd?
    Any explanation for this kind of behavior?
    examples:
    INSIDE(69) + OVERLAPBDYINTERSECT(15) = 50 (Strange)
    SELECT count(S_ID) from MAP.BYGG_POLY
    where
    SDO_RELATE(GEOM, SDO_UTIL.FROM_WKTGEOMETRY
    *('Polygon((441029.298070891 6445795.42259877, 441320.756519155 6445767.05053744, 441318.177240852 6445527.17765524, 441029.298070891 6445795.42259877))'),*
    *'mask=INSIDE+OVERLAPBDYINTERSECT') = 'TRUE'*
    INSIDE(69) + OVERLAPBDYINTERSECT(15) = 84 (Correct)
    SELECT S_ID from MAP.BYGG_POLY
    where
    SDO_RELATE(GEOM, SDO_UTIL.FROM_WKTGEOMETRY
    *('Polygon((441029.298070891 6445795.42259877, 441320.756519155 6445767.05053744, 441318.177240852 6445527.17765524, 441029.298070891 6445795.42259877))'),*
    *'mask=INSIDE') = 'TRUE'*
    UNION ALL
    SELECT S_ID from MAP.BYGG_POLY
    where
    SDO_RELATE(GEOM, SDO_UTIL.FROM_WKTGEOMETRY
    *('Polygon((441029.298070891 6445795.42259877, 441320.756519155 6445767.05053744, 441318.177240852 6445527.17765524, 441029.298070891 6445795.42259877))'),*
    *'mask=OVERLAPBDYINTERSECT') = 'TRUE'*
    Edited by: Oraly on Sep 2, 2009 5:32 AM
    Edited by: Oraly on Sep 2, 2009 5:34 AM

  • Soa suite 11.1.1.4 & Grid 12C

    Periodically in Grid 12C and Grid 11 we have got database soainfra workload and we have find it that this is becouse of very strange select SELECT COUNT(*) FROM CUBE_INSTANCE ci WHERE ci.COMPONENTTYPE = :1 AND ci.STATE IN (6, 10) and we receive about 20 selects like this in 1 minute. Had anyone this situation?

    Hello Anuj,
    Thanks for replay.
    This is request from soainfra (JDBC Thin Client).
    I have AWR report:
    WORKLOAD REPOSITORY report for
    DB Name DB Id Instance Inst Num Startup Time Release RAC
    SOADB 1514424829 soadb2 2 11-Jan-12 16:15 11.2.0.1.0 YES
    Host Name Platform CPUs Cores Sockets Memory(GB)
    soa11db02.teleco Linux x86 64-bit 32 32 32 30.97
    Snap Id Snap Time Sessions Curs/Sess
    Begin Snap: 35572 11-Jan-12 23:45:05 193 6.9
    End Snap: 35573 12-Jan-12 00:00:40 156 5.2
    Elapsed: 15.58 (mins)
    DB Time: 327.87 (mins)
    Cache Sizes Begin End
    ~~~~~~~~~~~ ---------- ----------
    Buffer Cache: 432M 432M Std Block Size: 8K
    Shared Pool Size: 1,168M 1,168M Log Buffer: 16,548K
    Load Profile Per Second Per Transaction Per Exec Per Call
    ~~~~~~~~~~~~ --------------- --------------- ---------- ----------
    DB Time(s): 21.0 6.2 0.70 0.05
    DB CPU(s): 0.4 0.1 0.01 0.00
    Redo size: 19,706.4 5,774.0
    Logical reads: 23,499.3 6,885.4
    Block changes: 76.3 22.4
    Physical reads: 21,018.6 6,158.5
    Physical writes: 40.3 11.8
    User calls: 395.7 115.9
    Parses: 21.2 6.2
    Hard parses: 0.3 0.1
    W/A MB processed: 2.0 0.6
    Logons: 2.3 0.7
    Executes: 30.0 8.8
    Rollbacks: 1.2 0.4
    Transactions: 3.4
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Buffer Nowait %: 99.91 Redo NoWait %: 99.95
    Buffer Hit %: 98.75 In-memory Sort %: 100.00
    Library Hit %: 98.78 Soft Parse %: 98.50
    Execute to Parse %: 29.36 Latch Hit %: 99.97
    Parse CPU to Parse Elapsd %: 3.02 % Non-Parse CPU: 98.96
    Shared Pool Statistics Begin End
    Memory Usage %: 70.70 70.99
    % SQL with executions>1: 82.86 83.78
    % Memory for SQL w/exec>1: 85.60 90.25
    Top 5 Timed Foreground Events
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Avg
    wait % DB
    Event Waits Time(s) (ms) time Wait Class
    direct path read 834,521 12,929 15 65.7 User I/O
    db file sequential read 8,189 3,759 459 19.1 User I/O
    db file scattered read 1,999 2,286 1143 11.6 User I/O
    DB CPU 364 1.8
    read by other session 398 347 873 1.8 User I/O
    Host CPU (CPUs: 32 Cores: 32 Sockets: 32)
    ~~~~~~~~ Load Average
    Begin End %User %System %WIO %Idle
    11.21 6.69 1.6 0.8 23.5 97.5
    Instance CPU
    ~~~~~~~~~~~~
    % of total CPU for Instance: 1.4
    % of busy CPU for Instance: 55.0
    %DB time waiting for CPU - Resource Mgr: 0.0
    Memory Statistics
    ~~~~~~~~~~~~~~~~~ Begin End
    Host Mem (MB): 31,710.0 31,710.0
    SGA use (MB): 1,808.0 1,808.0
    PGA use (MB): 802.8 704.7
    % Host Mem used for SGA+PGA: 8.23 7.92
    RAC Statistics DB/Inst: SOADB/soadb2 Snaps: 35572-35573
    Begin End
    Number of Instances: 2 2
    Global Cache Load Profile
    ~~~~~~~~~~~~~~~~~~~~~~~~~ Per Second Per Transaction
    Global Cache blocks received: 7.43 2.18
    Global Cache blocks served: 7.97 2.34
    GCS/GES messages received: 67.34 19.73
    GCS/GES messages sent: 80.02 23.45
    DBWR Fusion writes: 1.91 0.56
    Estd Interconnect traffic (KB) 151.96
    Global Cache Efficiency Percentages (Target local+remote 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Buffer access - local cache %: 98.46
    Buffer access - remote cache %: 0.29
    Buffer access - disk %: 1.25
    Global Cache and Enqueue Services - Workload Characteristics
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Avg global enqueue get time (ms): 2.2
    Avg global cache cr block receive time (ms): 9.4
    Avg global cache current block receive time (ms): 25.9
    Avg global cache cr block build time (ms): 0.0
    Avg global cache cr block send time (ms): 0.1
    Global cache log flushes for cr blocks served %: 1.5
    Avg global cache cr block flush time (ms): 386.8
    Avg global cache current block pin time (ms): 31526.5
    Avg global cache current block send time (ms): 0.1
    Global cache log flushes for current blocks served %: 7.5
    Avg global cache current block flush time (ms): 269.2
    Global Cache and Enqueue Services - Messaging Statistics
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Avg message sent queue time (ms): 0.0
    Avg message sent queue time on ksxp (ms): 12.6
    Avg message received queue time (ms): 0.0
    Avg GCS message process time (ms): 0.0
    Avg GES message process time (ms): 0.0
    % of direct sent messages: 40.72
    % of indirect sent messages: 54.27
    % of flow controlled messages: 5.00
    Cluster Interconnect
    ~~~~~~~~~~~~~~~~~~~~
    Begin End
    Interface IP Address Pub Source IP Pub Src
    eth1 192.168.1.4 N Oracle Cluster Repository
    Time Model Statistics DB/Inst: SOADB/soadb2 Snaps: 35572-35573
    -> Total time in database user-calls (DB Time): 19672.4s
    -> Statistics including the word "background" measure background process
    time, and so do not contribute to the DB time statistic
    -> Ordered by % or DB time desc, Statistic name
    Statistic Name Time (s) % of DB Time
    sql execute elapsed time 19,517.5 99.2
    DB CPU 363.5 1.8
    parse time elapsed 176.5 .9
    hard parse elapsed time 162.0 .8
    hard parse (sharing criteria) elapsed time 10.7 .1
    connection management call elapsed time 9.4 .0
    PL/SQL execution elapsed time 3.8 .0
    failed parse elapsed time 2.1 .0
    PL/SQL compilation elapsed time 0.0 .0
    repeated bind elapsed time 0.0 .0
    DB time 19,672.4
    background elapsed time 1,438.0
    background cpu time 13.5
    Operating System Statistics DB/Inst: SOADB/soadb2 Snaps: 35572-35573
    -> *TIME statistic values are diffed.
    All others display actual values. End Value is displayed if different
    -> ordered by statistic type (CPU Use, Virtual Memory, Hardware Config), Name
    Statistic Value End Value
    BUSY_TIME 68,611
    IDLE_TIME 2,705,656
    IOWAIT_TIME 651,332
    NICE_TIME 0
    SYS_TIME 22,920
    USER_TIME 45,204
    LOAD 11 7
    PHYSICAL_MEMORY_BYTES 33,250,344,960
    NUM_CPUS 32
    NUM_CPU_CORES 32
    NUM_CPU_SOCKETS 32
    GLOBAL_RECEIVE_SIZE_MAX 4,194,304
    GLOBAL_SEND_SIZE_MAX 1,048,586
    TCP_RECEIVE_SIZE_DEFAULT 87,380
    TCP_RECEIVE_SIZE_MAX 4,194,304
    TCP_RECEIVE_SIZE_MIN 4,096
    TCP_SEND_SIZE_DEFAULT 16,384
    TCP_SEND_SIZE_MAX 4,194,304
    TCP_SEND_SIZE_MIN 4,096
    Operating System Statistics - Detail DB/Inst: SOADB/soadb2 Snaps: 35572-35573
    Snap Time Load %busy %user %sys %idle %iowait
    11-Jan 23:45:05 11.2 N/A N/A N/A N/A N/A
    12-Jan 00:00:40 6.7 2.5 1.6 0.8 97.5 23.5
    soadb.telecom
    846481 16696 828 143 0 0 1088866 10
    SYS$USERS
    5926 3004 162 0 1 0 1514 0
    SYS$BACKGROUND
    1644 1039 153 2 0 0 0 0
    SQL ordered by Elapsed Time DB/Inst: SOADB/soadb2 Snaps: 35572-35573
    -> Resources reported for PL/SQL code includes the resources used by all SQL
    statements called by the code.
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
    into the Total Database Time multiplied by 100
    -> %Total - Elapsed Time as a percentage of Total DB time
    -> %CPU - CPU Time as a percentage of Elapsed Time
    -> %IO - User I/O Time as a percentage of Elapsed Time
    -> Captured SQL account for 63.5% of Total DB Time (s): 19,672
    -> Captured PL/SQL account for 6.1% of Total DB Time (s): 19,672
    Elapsed Elapsed Time
    Time (s) Executions per Exec (s) %Total %CPU %IO SQL Id
    5,073.8 110 46.13 25.8 1.3 97.0 gcgrp99sfm5t9
    Module: JDBC Thin Client
    SELECT count(*) FROM CUBE_INSTANCE ci WHERE ci.COMPONENTTYPE = :1 AND ci.STATE
    IN (6, 10)
    4,688.1 110 42.62 23.8 .8 98.2 80ccpb53caau6
    Module: JDBC Thin Client
    SELECT count(*) FROM CUBE_INSTANCE ci WHERE ci.COMPONENTTYPE = :1 AND ci.STATE
    IN (1)
    633.2 2 316.59 3.2 .0 98.2 8pa3fnfk6ynuy
    Module: JDBC Thin Client
    SELECT CIKEY, NODE_ID, SCOPE_ID, COUNT_ID, DOMAIN_NAME, COMPONENT_NAME, COMPOSIT
    E_NAME, COMPOSITE_LABEL, COMPOSITE_REVISION, COMPONENTTYPE, PRIORITY, EXP_DATE F
    ROM WI_EXPIRABLE WHERE EXP_DATE < :1 AND COMPONENTTYPE = :2
    536.9 0 N/A 2.7 .9

  • GetString returning 0.0

    How do I solve the problem with ResultString.getString returning 0.0
    instead of 0.
    I retrieve data from a column of type
    number(10).
    Rickard Eneroth
    WM-data
    [email protected]
    null

    @Op. Strange select you got there.
    select * from some_table where modification_date < ?
    Then use a prepared statement and set the date that you want.

  • Jazzy lines appearing just prior to login on Mac Mini

    I just restarted my Mac mini (for no reason other than to give it a reboot) and I noticed a strange selection of varying jazzy lines, which flashed just prior to the login screen, the screen then cleared & my login screen was displayed. I could log in OK and everything was fine after login... so far anyways. I have posted a screen shot which I managed to capture using my Iphone.
    Has anyone had this problem, should I be worried and if yes, how can I/do I need to fix it before it gets worse?
    Cheers
    Sue

    The image is not displayed for me. This forum has problems displaying images sometimes.
    I have occasionally seen strange lines/graphics on my Mac before the login screen. I would not be concerned unless you have other problems.

  • Stacks that randomly rearrange themselves!?

    I've been getting jiggy with smart folders, creating all kinds of wonderous filtrations, however, I'm beginning to notice some of my stacks of images randomly reversing, or 'auto-rearranging' themselves. It becomes apparent when you go to back to admire/congratulate yourself upon a new smart folder, then realise that the image count isn't the same as it was a minute ago before you went tweaking other folders/metadata, whatever. Only by toggling the Ignore Stack option does it reveal the culprit stacks.
    My only fix for this at the moment, is to revisit the appropriate project, open all stacks, the painfully trawl through each to see which one has been swapped, then re-promoting the pick (apple-\). This is driving me nuts!
    This doesn't happen to all stacks, and appears to completely turn their original ordering on its head. My stacks invariably contain mixtures of master CR2s (mainly referenced), auto-exported/reimported .PSDs, plus any version spin-offs that occurred. Only the pick is generally star-rated. (which is the main method I'm using to filter the importance of the picks in my new smart folders).
    Am I going loopy, or has anyone else noticed this? I perhaps am not using stacks as purely as I ought, but I've been using Aperture long enough to know what I'm doing. Could be gigo, but I can't see it.
    ...or maybe it's just been a long day :-|
    Anyone?
    - Kevin

    No, I'm not using a pen tool, just the mouse. I too notice that Aperture cannot handle fast selections, but I expect this is more a problem with my underpowered/outdated (Ap 1.5 +G5 dual 1.8ghz, 3gb, XT800XT GA ...not!) system spec. It's not as if I have a whole load of memory-intensive apps. running in the background either.
    Perhaps as you say, my problem occurs when I am being too fast for my machine to keep up (there's a first!), although there is consistency in as much as each of my erroneous stacks end up with my pick being placed at the bottom i.e. last.
    I've been noticing some other strange selection behaviors of late too, such as unreliable multi-selects in Light Tables. I select, say 2 or 3 images that I wish to move as a group, only to find that when I begin to drag then, a whole load more (though not all) move with them, thus completely wrecking my layout (designing slideshow running orders). I'd throw my machine out of the window at this point if only I could afford to buy a new one I often find I need to be really slow and deliberate when selecting/opening and closing stacks etc. in order to be happy that the Aperture has understood my intention.
    Is this lack of sys. memory, too slow a processor? Anyone??
    Anyway, back to the main subject. I wish I knew what goes on inside my computer when I present it with too much to think about, how can it decide to reverse hierarchies in its panic? This one defies my logic, but I'm still hoping someone out there has suggestions?
    Please will some one reassure me that if I upgrade to V2, that these problems won't be exacerbated!!?
    Kevin

Maybe you are looking for