Switch for String

Hi,
I need to do a switch for a String and not an int.
ex:
switch(String temp=e.getTagName().trim())
case HEADER:
Any idea?
Thanks
Cecile

You cannot. Java only lets you use switch on int or char.
Sorry, but only the if else will do here

Similar Messages

  • Use Enum to Switch on Strings where one string is a java reserved word.

    Hi,
    I'm having problems switching on a string using enums, when one of the strings is a java reserved word. Any suggestions would be appreciated. Or maybe even a suggestion that I should just be stringing together if-else if and doing string compares rather than a switch.
    I've been using the following method to switch on strings.
    public enum MyEnum
    foo, bar, novalue;
    public static MyEnum stringValue(String string)
    try { return valueOf(string); }
    catch (Exception e) { return novalue; }
    Then I can switch like
    switch(MyEnum.stringValue( someString )
    case foo:
    break;
    case bar:
    break;
    default:
    break;
    Now I have run into the problem where one of the strings I need to use is "int", which is a reserved word in java, so I have to modify.
    What is the best way to handle this?
    I could just not add it to the Enum and handle it at the switch like this...
    switch(MyEnum.stringValue( someString )
    case foo:
    break;
    case bar:
    break;
    default:
    if(someString.equals("int") {  ... }
    break;
    OR...
    I could change the Enum, and return intx, by checking if the string is "int". I could check before the valueOf, or during the exception, but I know it's not good practice to use Exceptions in the normal execution of your code... as it's not really an exception.
    public enum MyEnum
    foo, bar, intx, novalue;
    public static MyEnum stringValue(String string)
    if(string.equals("int") { return intx; }
    try { return valueOf(string); }
    catch (Exception e) { return novalue; }
    OR...
    public enum MyEnum
    foo, bar, intx, novalue;
    public static MyEnum stringValue(String string)
    try { return valueOf(string); }
    catch (Exception e) {
    if(string.equals("int") { return intx; }
    else return novalue;
    }

    My advice is still to not name the enum the same as the value of the string you want to test for. That page I linked to shows how to have enums with parameters. Then you could have an enum whose name is (say) JavaInt and whose string value is "int".
    But frankly if I wanted to map Strings to actions I would just use a Map<String, Action> instead of trying to force my code into an antique construction like switch.

  • Switch with string

    hi, i've been reading a few of the previous discussions on usability of switch with string. why can't switch be made to work with all datatypes? is it really such a big deal? if there is a serious reason for not letting switch work with all datatypes pls bring it to the open. i'm an avid java guy and hope that there's the least amount of ambiguity with this beautiful language.
    sunny

    switch only works for primitive numersic types.
    I am not positive about the reason for this.
    One guess is that for switch to work with Objects it would have to automatically evaluate using the equals() method. In general the Java language doesn't allow constructs that aren't explicit. This is the kind of thing the throw into C#.
    It would be nice if you could do a switch of the references. That way you could use switch with typesafe enumerations.

  • Remote deployment switches for Jabber 9.2.2

    Are there any installation switches for remote install via the MSI/DMG?
    I will be pushing this backage via Dell KACE K1000 appliance and would like to configure default options for the users during the install/upgrade such as Disabling (or 'unchecked' following initial sign-on) the Docked Window, configuring Phone Accounts, WebEx Meeting and application Integration settings.

    application integrations setting mostly get pushed out through  the profiles on CUPS that get pushed out as soon as the user logs in.
    I can't help you out with all the switches you asked for but, you can starting using:
    msiexec.exe /i "\\lsrftufs1\ict\Networks\Voice\Jabber\Jabber 9.2.2\CiscoJabberSetup.msi" TYPE=CUP DOMAIN=somedomain.com.au LANGUAGE=1033
    This will at least use auto discovery of the presence server if you use an SRV record  _cup._login.somedomain.com.au
    so at least your useers wont have to type in a presence server name or IP.
    =============================
    Please remember to rate useful posts, by clicking on the stars below. 
    =============================

  • Time Capsule - Can it run as DHCP router, create a wireless network and plug into switch for wired network all at the same time?

    I have a closet with Wired connections from all over the house terminating in it. I also have the internet modem and a switch in this closet. My old setup was a netgear in the closet creating a wireless network and also feeding the Ethernet ports all over the house. In my room, I had an Airport express (a month old) bridging the wifi to make the wifi network larger. The Express was hard wired from the wall and my mac mini was using it's wifi (printer was plugged into other ethernet port). Everything was working great.
    Fast forward to last week. My Netgear died. So, I bought a time capsule. My plan was to move the Express to the closet and have it create the wifi network and also then run cat 5 cord from express to the switch to feed all the wired wall plugs. Reset it and set it up to create the wifi network as well as DCHP NAT. Wireless was running great on it. Then I plugged in the Cat 5 in the second Ethernet Port to the switch. Wifi stopped working and none of the computers would connect using wired connections either. They would see a 'network' but nothing would work. I would unplug the Cat 5 feeding the swtich and the wireless would start working again. Plug the Cat 5 back in and wireless would stop.
    So I thought I would try the Time Capsule in the closet and see if I could get it to work. Pretty much the same thing, except at this point I figured out if I went in and told it NOT to create a wifi network the wired portion worked fine and all the wired computers in the house worked fine. Of course, then I didn't have Wifi.
    I'm not clueless when it comes to networking, but I can NOT figure this out! Can either the Time Capsule or Express Create the wifi network AND also feed the data to the switch for all the wired computers?
    To simplify this is what I want my end result to be. I prefer the Time Capsule to be the wireless connection extender, but if I have to have the Express do it, I'm fine with that.
    1. Express in the closet creating the wifi network as well as feeding the data to the wired connections via my switch.
    2. have the Time capsule in my room at the opposite end of the house plugged into the hard wired connection to extend the wrieless network as well as have wired connections such as my printer and my Mac Mini.
    If I can get #1 to work, I don't think I'll have any problems with #2. Help!

    I have an equally complex setup with a managed switch actually but I have never seen the TC have this kind of issue.
    What I do notice is you have changed the TC from defaults.. you are using a non-default IP range.
    I have run across issues like this where people move things from default.
    I would like you to start over.. factory reset the TC. That will set it back to default router mode.
    Do the min setup on the TC..
    1. Change all names from what you were using. That includes the TC name and wireless name/s
    Make them short, no spaces and pure alphanumeric because that is the correct way to network. Apple default names with spaces and apostrophes are fundamentally bad.
    2. With just the TC plugged into the switch.. and a single computer connected by ethernet. Power cycle the whole network.. this allows the switch to clear all the old MAC address.
    3. Test on the computer just ethernet. Turn the wireless off.
    The computer must use dhcp and must get an ip from the TC.
    It has to get the correct Router.. ie Gateway.. I wish apple could stick with proper network terminology.
    And it must get same address or valid DNS server address/es.
    If it fails.. please plug ethernet directly to the TC.. bypassing the switch.
    You should get the standard IP addressing and internet connection.
    If not please post the screenshot from the Mac of the network preferences showing the ethernet setup.
    I need to see what address it does get. I need you to make sure the ethernet is the TOP of the list. So rearrange the order of network connection. With the airport off it should just go to the top of the list.
    If it appears to be working .. but a browser cannot connect, open a terminal and ping an internet address.
    Ping the actual gateway address the ISP gives you and ping the ISP dns address.

  • "buffer too small for string or missing null byte" inserting CR in excel

    I have created a Crystal Report based on below stored procedure.
    DELIMITER $$
    DROP PROCEDURE IF EXISTS `ww_test`.`PRD_Data_sp` $$
    CREATE PROCEDURE `ww_test`.`PRD_Data_sp` (in cyear int, in cmonth int, in groupby varchar(20), in Inv_type varchar(4))
    BEGIN
      select
              CASE WHEN groupby='Date' THEN  (p.FKDAT)
                   WHEN groupby='SalesOrg' THEN  CONCAT(p.VKORG,'_',p.VTWEG)
              END ,
              sum(p.QTYSAM),
              sum(p.CASESSOLD),
              sum(p.SOLDDOL)
              from ww_test.prd_data p
              where (month(p.FKDAT)=cmonth and year(p.FKDAT)=cyear) and
                     ((p.FKART) is null or not(p.FKART in ("FAZ","ZMBB","FAS",Inv_Type))) and
                     ((p.AUART) is null or not(p.AUART in ("ZMBB")))
              Group by
                  CASE WHEN groupby='Date' THEN  (p.FKDAT)
                       WHEN groupby='SalesOrg' THEN  CONCAT(p.VKORG,'_',p.VTWEG)
                  END
              Order by
                  CASE WHEN groupby='Date' THEN  (p.FKDAT)
                       WHEN groupby='SalesOrg' THEN  CONCAT(p.VKORG,'_',p.VTWEG)
                  END;
    END $$
    DELIMITER ;
    I have used Add Command to create report based on this.
    call ww_test.prd_data_sp({?Year},{?Month},{?GroupBy},{?InvType});
    I am able to refresh the report in crystal and as well in Infoview without any problem.
    But when i try to insert this report in Excel using Live Office it gives me error. I able to insert other crystal reports without any problem.
    An error occurred while opening the report. The report does not exist; you have insufficient rights to open the report; or you cannot make a connection to the BusinessObjects Web Service. (LO 02010)
    Failed to open report (LO 26619)
    Cannot open report document 
    Buffer too small for string or missing null byte.
    can anyone suggest where i am going wrong? Any input is appreciated.
    Crystal Reports 2008
    Live Office XI 3.1
    BOEdge XI 3.1
    Xcelsius 2008
    Thanks ,
    Madhavi

    With the CurrentValue method
    Crpt.ParamFields[3].CurrentValue := memo1.Text;
    Is there another solution ?

  • Buffer too small for string - Crystal Report for Vs2010

    Hello,
        I have recently upgrade my VS2010 project to Crystal Report for Visual Studion 2010.
        I have some reports that contains more than 512 characters in the Report Comments section.
        When I try to do a RptDoc.SaveAs(vPath, false) the following error is raised:
    Buffer too small for string or missing null byte.
          at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.SaveAs in :line 0
          at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.SaveAs in :line 0
          at CrystalDecisions.CrystalReports.Engine.ReportDocument.SaveAs in :line 0
        This line SaveAs was working has expected with Crystal Report 2008. Any idea on why it is not working anymore.
    Thank you.
    Charles

    Hello Don,
        I have start a little project to retest the behavior.
       I have create a new report in Crystal Report 2008 just by clicking New, Finish and Save.
       In a new Windows Application in Vs2010 ,I have added the following Crystal Report Reference.
        CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0
       CrystalDecisions.Shared, Version=13.0.2000.0
    I have then try the following code and found out the limit of ReportComment is 511 but in the Crystal Report 2008 designer and runtime the limit did not apply.
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
          Dim objRpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
          Dim i As Integer = 0
          Try
             objRpt.Load("c:\temp\empty.rpt", CrystalDecisions.Shared.OpenReportMethod.OpenReportByTempCopy)
             Do
                i += 1
                objRpt.SummaryInfo.ReportComments = New String("X", i)
             Loop
             objRpt.SaveAs("c:\temp\dfh_save.rpt", False)
          Catch ex As Exception
             MsgBox("i: " & i)
             MsgBox(ex.Message)
          End Try
    End Sub
         I am able to put has many characters if I insert the report in the Vs2010 Solution.
         If you prefer I can send you my little project.
    Thank you.
    Charles
    <code> should be
    Edited by: Don Williams on Feb 4, 2011 12:47 PM

  • Locked button & switch for volume is broke also back is cracked , can i get my phone replaced for free ?

    my lock button and the switch to turn the volume on &amp; off is broke. also the back of my phone is cracked. i know apple doesn't replace cracked phones so would i have to pay for a replacement even though my lock button &amp; the switch for the volume is broke ? if so , how much ? or would if be cheaper to just but a whole new iPhone ?

    If your damage is caused by  accidental damage or intentional user damage, then you would be looking at an out of warranty repair.  I'm not sure what the costs of an out of warranty repair are for an iPhone 4, but they are probably in the $99-149 USD range. 
    The cost for getting a new iPhone would depend upon your current contract status.  If you are out of contract, you can get a new iPhone 4s (the next newer model) for free.

  • Program for string comparision in ABAP

    Hi,
    I require a program in abap for string comparision

    Comparing Strings
    Similarly to the special statements for processing strings, there are special comparisons that you can apply to strings with types C, D, N, and T. You can use the following operators:
    <operator>
    Meaning
    CO
    Contains Only
    CN
    Contains Not only
    CA
    Contains Any
    NA
    contains Not Any
    CS
    Contains String
    NS
    contains No String
    CP
    Contains Pattern
    NP
    contains No Pattern
    There are no conversions with these comparisons. Instead, the system compares the characters of the string. The operators have the following functions:
    CO (Contains Only)
    The logical expression
    <f1> CO <f2>
    is true if <f1> contains only characters from <f2>. The comparison is case-sensitive. Trailing blanks are included. If the comparison is true, the system field SY-FDPOS contains the length of <f1>. If it is false, SY-FDPOS contains the offset of the first character of <f1> that does not occur in <f2> .
    CN (Contains Not only)
    The logical expression
    <f1> CN <f2>
    is true if <f1> does also contains characters other than those in <f2>. The comparison is case-sensitive. Trailing blanks are included. If the comparison is true, the system field SY-FDPOS contains the offset of the first character of <f1> that does not also occur in <f2>. If it is false, SY-FDPOS contains the length of <f1>.
    CA (Contains Any)
    The logical expression
    <f1> CA <f2>
    is true if <f1> contains at least one character from <f2>. The comparison is case-sensitive. If the comparison is true, the system field SY-FDPOS contains the offset of the first character of <f1> that also occurs in <f2> . If it is false, SY-FDPOS contains the length of <f1>.
    NA (contains Not Any)
    The logical expression
    <f1> NA <f2>
    is true if <f1> does not contain any character from <f2>. The comparison is case-sensitive. If the comparison is true, the system field SY-FDPOS contains the length of <f1>. If it is false, SY-FDPOS contains the offset of the first character of <f1> that occurs in <f2> .
    CS (Contains String)
    The logical expression
    <f1> CS <f2>
    is true if <f1> contains the string <f2>. Trailing spaces are ignored and the comparison is not case-sensitive. If the comparison is true, the system field SY-FDPOS contains the offset of <f2> in <f1> . If it is false, SY-FDPOS contains the length of <f1>.
    NS (contains No String)
    The logical expression
    <f1> NS <f2>
    is true if <f1> does not contain the string <f2>. Trailing spaces are ignored and the comparison is not case-sensitive. If the comparison is true, the system field SY-FDPOS contains the length of <f1>. If it is false, SY-FDPOS contains the offset of <f2> in <f1> .
    CP (Contains Pattern)
    The logical expression
    <f1> CP <f2>
    is true if <f1> contains the pattern <f2>. If <f2> is of type C, you can use the following wildcards in <f2>:
    for any character string *
    for any single character +
    Trailing spaces are ignored and the comparison is not case-sensitive. If the comparison is true, the system field SY-FDPOS contains the offset of <f2> in <f1> . If it is false, SY-FDPOS contains the length of <f1>.
    If you want to perform a comparison on a particular character in <f2>, place the escape character # in front of it. You can use the escape character # to specify
    characters in upper and lower case
    the wildcard character "" (enter # )
    the wildcard character "" (enter # )
    the escape symbol itself (enter ## )
    blanks at the end of a string (enter #___ )
    NP (contains No Pattern)
    The logical expression
    <f1> NP <f2>
    is true if <f1> does not contain the pattern <f2>. In <f2>, you can use the same wildcards and escape character as for the operator CP.
    Trailing spaces are ignored and the comparison is not case-sensitive. If the comparison is true, the system field SY-FDPOS contains the length of <f1>. If it is false, SY-FDPOS contains the offset of <f2> in <f1> .
    DATA: F1(5) TYPE C VALUE <f1>,
          F2(5) TYPE C VALUE <f2>.
    IF F1 <operator> F2.
       WRITE: / 'Comparison true, SY-FDPOS=', SY-FDPOS.
    ELSE.
       WRITE: / 'Comparison false, SY-FDPOS=', SY-FDPOS.
    ENDIF.
    The following table shows the results of executing this program, depending on which operators and values of F1 and F2.
    <f1>
    <operator>
    <f2>
    Result
    SY-FDPOS
    'BD '
    CO
    'ABCD '
    true
    5
    'BD '
    CO
    'ABCDE'
    false
    2
    'ABC12'
    CN
    'ABCD '
    true
    3
    'ABABC'
    CN
    'ABCD '
    false
    5
    'ABcde'
    CA
    'Bd '
    true
    1
    'ABcde'
    CA
    'bD '
    false
    5
    'ABAB '
    NA
    'AB '
    false
    0
    'ababa'
    NA
    'AB '
    true
    5
    'ABcde'
    CS
    'bC '
    true
    1
    'ABcde'
    CS
    'ce '
    false
    5
    'ABcde'
    NS
    'bC '
    false
    1
    'ABcde'
    NS
    'ce '
    true
    5
    'ABcde'
    CP
    'b'
    true
    1
    'ABcde'
    CP
    '#b'
    false
    5
    'ABcde'
    NP
    'b'
    false
    1
    'ABcde'
    NP
    '#b'
    true
    5
    goto sap library if intsalled in ur system and check the above one....

  • Wat should be the regular expression for string MT940_UB_*.txt to be used in SFTP sender channel in PI 7.31 ??

    Hi All,
    What should be the regular expression for string MT940_UB_*.txt and MT940_MB_*.txt to be used as filename inSFTP sender channel in PI 7.31 ??
    If any one has any idea on this please let me know.
    Thanks
    Neha

    Hi All,
    None of the file names suggested is working.
    I have tried using - MT940_MB_*\.txt , MT940_MB_*.*txt , MT940*.txt
    None of them is able to pick this filename - MT940_MB_20142204060823_1.txt
    Currently I am using generic regular expression which picks all .txt files. - ([^\s]+(\.(txt))$)
    Let me know ur suggestion on this.
    Thanks
    Neha Verma

  • Dynamic Environment Switching For REPORTS_PATH 11g

    Oracle Fusion Middleware 11.1.1.2.0 with Patch Set 2 (11.1.1.3.0) - Linux
    Dynamic Environment Switching For REPORTS_PATH doesn't work.
    According to documentation B32121-03 (Publishing Reports to the Web with Oracle Reports Services 11g Release 1 (11.1.1) point 8.2.2):
    1. comment REPORTS_PATH in reports.sh
    2. set enviroment settings in rwserver.conf with REPORTS_PATH and NLS_LANG and defaultEnvId (DEV and PRD with defaultEnvId="DEV")
    3. restart reports server
    4. run http://mywls:8888/reports/rwservlet?SERVER=rep_wls_reports_mywls_asinst_1&REPORT=testreport.rdf&USERID=user/user1@mydb&DESFORMAT=html&DESTYPE=cache&ENVID=DEV
    REP-110: File testreport.rdf cannot be opened.
    REP-1070: An error occurred while opening or saving a document.
    REP-0110: File testreport.rdf cannot be opened.
    The same situation for &ENVID=PRD or without ENVID (as I expect it should work as default - DEV enviroment). File testreport.rdf is located in both paths (/u00/DEV/reports and /u00/PRD/reports)
    http://mywls:8888/reports/rwservlet/showenv?server=rep_wls_reports_mywls_asinst_1&authid=oiduser/oiduser1 reads informations from reports.sh file but doesn't read enviroment settings from rwserver.conf (REPORTS_PATH is empty because I comment it in reports.sh).
    Where's my problem? Should I set any other setting(s)?
    Unfortunately note [231051.1] and other referenced doesn't resolve my problem...
    Edited by: user9093781 on 2011-08-23 06:50

    Not sure if this helps at all. I just went through a nightmare trying to get 11g forms/reports to work through the forms builder.
    What I discovered with that is that I indeed had to set the REPORTS_PATH in rwserver.conf... however there were 3 different files that I ended up having to put it in (not sure if had to be in all 3). And perhaps more importantly, there seems to be an order to how you put these xml statements in the rwserver.conf files.
    In my case, it wouldn't work at all until I put it right after the last "<engine id=" statement.
    Mine looks something like this (not that this is a snippet of the file in Windows, for running via Forms/Reports Builder):
    <engine id="rwURLEng" class="oracle.reports.urlengine.URLEngineImpl" maxEngine="1" minEngine="0" engLife="50"/>
    <environment id="default">
         <envVariable value="C:\Oracle\WLS11gR1U4\user_projects\domains\AISworkstation\" name="REPORTS_PATH"/>
         <envVariable value="AMERICAN_AMERICA.WE8ISO8859P1" name="NLS_LANG"/>
         <envVariable value="RRRR-MM-DD" name="NLS_DATE_FORMAT"/>
    </environment>
    <environment id="windev_xxxxxxxx">
    <envVariable name="REPORTS_PATH"
    value="M:\ADS\Dvlprs\xxxxxxx\11g\FormsApps\stage;M:\ADS\Dvlprs\xxxxxxx\11g\FormsApps"/>
    </environment>
    I'm still figuring this all out too (although I did get it working how I need.. just not sure if it is the optimal solution), so I'm not sure how much this will help you. But for sure I can say that there is an order to these XML tags that I'm not so sure was the same (or maybe not enforced) in 10g.
    Good luck

  • Silent Uninstall Switch for FlashUtil32_11_4_402_278_ActiveX.exe

    I know I can run 'FlashUtil32_11_4_402_278_ActiveX.exe' (found in 'C:\Windows\System32\Macromed\Flash') manually, but I'd like to automate the removal process to avoid having the user click on anything.  (I want zero user interaction!)
    Are there any silent/unattended switches for FlashUtil32?

    Hi Pat & thank you kindly for at least responding to the thread.  I greatly appreciate it.
    For what its worth the -uninstall switch works for the following executables in C:\Windows\System32\Macromed\Flash:
    FlashPlayerPlugin_11_XXX.exe
    FlashPlayerUpdateService.exe
    FlashUtil32_11_XXX_Plugin.exe
    It does not seem to work for the FlashUtil32_11_XXX_ActiveX.exe.  However, as you pointed out, it does work with the uninstall_flash_player.exe, and that seems to get rid of the last remaining FlashUtil32_11_XXX_ActiveX.exe file (among other things I'm sure).
    Thanks!

  • ORA-13223: duplicate entry for string in SDO_GEOM_METADATA table and

    I got the above error while trying to insert a record into the table SDO_GEOM_METADATA. However, when querying this table I did find any duplicate table_name, column_name pair that match with the error.
    Here are the steps that I worked on:
    1. Add a geometry column into an existing table.
    ALTER TABLE GEO_MAP ADD (ORG_GEOM mdsys.sdo_geometry);
    2. Register the new column into mdsys
    insert into USER_SDO_GEOM_METADATA
    values ('GEO_MAP','ORG_GEOM',
    mdsys.sdo_dim_array(
    mdsys.sdo_dim_element('LONG',-180,180,0.00005),
    mdsys.sdo_dim_element('LAT',-90,90,0.00005)
    8307)
    I got the error ORA-13223: duplicate entry for string in SDO_GEOM_METADATA table even there was no such record in there.
    3. I inserted values in the column ORG_GEOM fine.
    4. However, when I tried to create the index for this column I got the error:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13203: failed to read USER_SDO_GEOM_METADATA view
    ORA-13203: failed to read
    Please help.
    Thanks.

    SQL> select * from mdsys.sdo_geom_metadata_table;
    SDO_OWNER SDO_TABLE_NAME
    SDO_COLUMN_NAME
    SDO_DIMINFO(SDO_DIMNAME, SDO_LB, SDO_UB, SDO_TOLERANCE)
    SDO_SRID
    QW_USER1 GEO_REF
    LOC_GEOM
    SDO_DIM_ARRAY(SDO_DIM_ELEMENT('LONG', -180, 180, .00005), SDO_DIM_ELEMENT('LAT',
    -90, 90, .00005))
    SDO_OWNER SDO_TABLE_NAME
    SDO_COLUMN_NAME
    SDO_DIMINFO(SDO_DIMNAME, SDO_LB, SDO_UB, SDO_TOLERANCE)
    SDO_SRID
    8307
    MDSYS SDO_CMT_CBK_RTREE_TAB
    GEOM
    SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', -180, 180, .000000005), SDO_DIM_ELEMENT('Y',
    SDO_OWNER SDO_TABLE_NAME
    SDO_COLUMN_NAME
    SDO_DIMINFO(SDO_DIMNAME, SDO_LB, SDO_UB, SDO_TOLERANCE)
    SDO_SRID
    -90, 90, .000000005))
    The situation is we have 2 tables (GEO_MAP, and GEO_REF) that have spatial columns. Everything worked fine until when one of the queries that searched through the table GEO_MAP ran so slow, we decided to rebuild the related spatial index by dropping and recreating it. However, after I dropped it I could not recreated. Keep getting the error:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13203: failed to read USER_SDO_GEOM_METADATA view
    ORA-13203: failed to read
    Any help is very much appreciated.

  • Switch for showing my telephonenumber locked

    The switch for showing my number is locked. My iPhone shows unknown number when I call someone. I think it has something to do with my iCloud account. I tried to put my SIM card into another iPhone and my number showed. So I got a new iPhone and downloaded my iCloud profile to the new iPhone and the same problem was back. I started this iCloud profile with a 3s iPhone with a diffrent telephone company and a diffrent telephone number. Any thoughts?

    The carrier I'm using is connected to my office and several of my colleagues uses iCloud and doesn't have this problem.
    I have my old mobile number divert to this number I'm using now. Can that cause this problem?

  • Switch for Distribution Layer

    I need your expert opinions for selecting a switch for distribution Layer
    My requirement is 24Gig ports @ dist layer which will connect to 3750?s for server farm. I don?t want to negotiate with the bandwidth.
    Which switch will be best for this scenario with max Backplane speed

    Yes L3 routing will there.
    I am considering 3750 for access switch for my server farm, and 4506 for distribution layer with the following port requirement
    Catalyst 4500 Gigabit Ethernet Module, 6-Ports (GBIC)
    Catalyst 4500 GE Module, Server Switching 18-Ports (GBIC)
    Catalyst 4500 Enhanced 48-Port 10/100/1000 Base-T (RJ-45)
    Catalyst 4500 Supervisor IV (2 GE), Console (RJ-45)
    Most of the gigabit port will be occupied since I have a huge server farm to connect. By using almost all the ports on 4506 will I be able to get the maximum through put??
    I have not considered 6500 due to budget. If I consider 6500 will it be a good design to have 6500?s on both core and distribution layer

Maybe you are looking for

  • How to create Gantt Chart by Java? which package n class include it?

    may i know how to craete Gantt Chart or any other chart using Java programming?? which package n class enable me to do so..?? i try 2 find on API but fail lo thanks

  • Signing in and out

    I have just set up Skype with my microsoft hotmail address and password but I want to change the primary email address on my account.  When I do this, it asks me to confirm my password but when I put in my hotmail password, it says it is incorrect. 

  • SLiM: .xinitrc changes and logouts?

    If anyone uses SLiM then maybe you can help me. I have installed the version in AUR and it seems to work well. I only have fluxbox as my session of choice but would like to add others (e.g. icewm). I would like to know what sorts of changes are neces

  • Format a Timestamp from a String

    I get an "incompatible types, found java.util.date, expecting java.sql.date" error when I try to do the following: java.sql.Timestamp myTime = new Timestamp(0); SimpleDateFormat TIME_PARSER = new SimpleDateFormat("h:mm a"); String myTimeString = TIME

  • Grayscale problem

    our company has been having a problem opening certain pdf files in acrobat (8/9 both reader and standard.) we would either get a message that reads 'page out of range' or 'a drawing error occurred.' these files open perfectly fine in foxit pdf reader