Does jdbc support data type ROWID?

Hi,
I've got a column of type ROWID named id in my_tab, I tried to retrieve the values in Java, as follows but fails:
ResultSet rs = conn.getStatement().executeQuery("select id from my_tab");
while (rs.next()) {
java.sql.RowId id = rs.getRowId("id"); //fails, anything wrong here?
the error msg is:
Exception in thread "main" java.lang.AbstractMethodError: oracle.jdbc.driver.OracleResultSetImpl.getRowId(Ljava/lang/String;)Ljava/sql/RowId;
Thank you!
Message was edited by:
user569548
Message was edited by:
user569548

Hi,
I've got a column of type ROWID named id in my_tab, I
tried to retrieve the values in Java, as follows but
fails:
ResultSet rs =
conn.getStatement().executeQuery("select id from
my_tab");
while (rs.next()) {
java.sql.RowId id = rs.getRowId("id");
//fails, anything wrong here?
the error msg is:
Exception in thread "main"
java.lang.AbstractMethodError:
oracle.jdbc.driver.OracleResultSetImpl.getRowId(Ljava/
lang/String;)Ljava/sql/RowId;
Thank you!
Message was edited by:
user569548
was edited by:
user569548Thanks for those who have bothered to view this thread. I have googled and struggled and found out that Oracle supports ROWID type by:
(1) ResultSet' method getString() rather than getRowId(), which is weird.
(2) and oracle.sql.ROWID, CF java.sql.RowId.

Similar Messages

  • "...does not support this type of alias."

    I just reinstalled the OS 10.4 onto my G5 using the erase and install function. The drive is formatted as a Mac OS Extended (Journaled), which is an HFS+ format. I'm trying to copy some files onto the main hard drive from a DVD. I keep getting an error message that says "[the file name] cannot be copied to the destination, perhaps because the destination does not support this type of alias." I researched the message and the only thing I could find was that the error appears if the destination disk is formatted as a UFS disk. I thought maybe I made a mistake when I reinstalled the OS, so I tried to copy the same files to the secondary internal drive and to an external Firewire drive, and I got the same message both times.
    What should I be looking for so that this will work? I'm going to post in a couple other topics, but any help would be greatly appreciated.
    Thank you in advance,
    Lloyd

    Barry,
    I was trying to make back-up copies of my Adobe CS2 disks by copying the disks to the hard drive then burning them to CDs, but I got the error message when I dragged the contents from the original CD to the HD.
    This worked, but it took a while: I Stuffed each CD to the HD, then unStuffed them and used Toast to burn a new CD. A few steps longer, but at least it worked.
    Now, if I could only figure out why the second internal drive does not have the "Ignore Permissions" check box available, I'd be all set.
    Thanks,
    Lloyd

  • DataSource does not support requested type

    hi,
    i have a question about BI bean.
    i use 9iDS 2 JDeveloper to create a JSP with BI beans.when i run this page,error message show in console window.like this:
    Log : Current DataSource does not support requested type: DataMap.DATA_FORMATTED : oracle.dss.thin.beans.crosstab.CrosstabModelAdapter : setSupportedDataLayerFlags ()
    Log : Current DataSource does not support requested type: DataMap.DATA_RATIO : oracle.dss.thin.beans.crosstab.CrosstabModelAdapter : setSupportedDataLayerFlags ()
    Log : Current DataSource does not support requested type: DataMap.DATA_VIEWFORMAT : oracle.dss.thin.beans.crosstab.CrosstabModelAdapter : setSupportedDataLayerFlags ()
    Log : Current DataSource does not support requested type: DataMap.DATA_VIEWSTYLE : oracle.dss.thin.beans.crosstab.CrosstabModelAdapter : setSupportedDataLayerFlags ()
    what's this? my server is 9.0.1.3,olap patch 9.0.1.2 .
    Thanks

    Hi,
    I have the same error occurring also. It happens when I try to drill down to a lower level within my BI BEANS application. As I am using a JSP to hold my BI BEANS this occurs on either a Bar Graph click or a Crosstab expension. I have both the Crosstab and the Graph linked.
    07/10/02 13:03 ftvApp: PROBLEM: In oracle.dss.thin.beans.crosstab.CrosstabModelAdapter::setSupportedDataLayerFlags () - Current DataSource does not support requested type: MetadataMap.METADATA_VIEWSTYLE
    07/10/02 13:03 ftvApp: PROBLEM: In oracle.dss.thin.beans.crosstab.CrosstabModelAdapter::setSupportedDataLayerFlags () - Current DataSource does not support requested type: DataMap.DATA_FORMATTED
    07/10/02 13:03 ftvApp: PROBLEM: In oracle.dss.thin.beans.crosstab.CrosstabModelAdapter::setSupportedDataLayerFlags () - Current DataSource does not support requested type: DataMap.DATA_RATIO
    07/10/02 13:03 ftvApp: PROBLEM: In oracle.dss.thin.beans.crosstab.CrosstabModelAdapter::setSupportedDataLayerFlags () - Current DataSource does not support requested type: DataMap.DATA_VIEWFORMAT
    07/10/02 13:03 ftvApp: PROBLEM: In oracle.dss.thin.beans.crosstab.CrosstabModelAdapter::setSupportedDataLayerFlags () - Current DataSource does not support requested type: DataMap.DATA_VIEWSTYLE
    07/10/02 13:03 ftvApp: PROBLEM: In oracle.dss.thin.beans.crosstab.CrosstabModelAdapter::setSupportedDataLayerFlags () - Current DataSource does not support requested type: MetadataMap.METADATA_VIEWSTYLE
    Regards,
    Scott.

  • SAML Credential Mapper does not support credential type

    Has anybody any idea on what could be causing the message below, which is being logged several times?
    <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <1309285937475> <BEA-000000> <SAMLCredentialMapperV2: getCredentials(Subject): getCredentialInternal() called>
    <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <1309285937475> <BEA-000000> <SAMLCredentialMapperV2: getCredentialInternal(): **SAML Credential Mapper does not support credential type: weblogic.UserPassword, returns null**>
    Best regards
    Update: Forgot to mention this is SOA Suite 11G environment
    Edited by: user9501748 on Jun 28, 2011 11:53 AM

    I've got the same issue too.
    My setup is to have one domain acting as both Source and Destination.
    For every 10 seconds, I'm seeing 4 of these logs, and the CPU consumption is 100% consistently.
    ####<2-Jun-2009 11:00:27 o'clock AM EDT> <Debug> <SecuritySAMLCredMap> <MYHOST> <AdminServer> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1243954827839> <BEA-000000> <SAMLCredentialMapperV2: getCredentials: Subject initiator>
    ####<2-Jun-2009 11:00:27 o'clock AM EDT> <Debug> <SecuritySAMLCredMap> <MYHOST> <AdminServer> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1243954827839> <BEA-000000> <SAMLCredentialMapperV2: getCredentials(Subject): getCredentialInternal() called>
    ####<2-Jun-2009 11:00:27 o'clock AM EDT> <Debug> <SecuritySAMLCredMap> <MYHOST> <AdminServer> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1243954827839> <BEA-000000> <SAMLCredentialMapperV2: getCredentialInternal(): SAML Credential Mapper does not support credential type: weblogic.UserPassword, returns null>
    Does anyone know what's happening? I've got one of the Security Provider = Active Directory, and thus there's no password returning. Could it be the root cause of the problem?

  • Does JDBC support OS_Authentication (UNIX) to access database?

    Hi,
    I have an Oracle 9i database account with OS_authenticated password. The database server is running on Unix. I have a Unix account. The database access was set to be OS authenticated. As long as I am able to login the Unix system, I don't need to submit a password to the database when accessing the database.
    How does JDBC support this feature? I am using the thin driver DriverManager.getConnection and getConnection needs a database login and password.
    Any input would be appreciated. Thank you!
    Kam

    The OCI driver will certainly should support this. I think you just pass it empty string ("") for username and password. That's pretty much the same as the ODBC drivers handle it. I am not sure that the thin driver will.

  • Does 'GUI_UPLOAD' support 'DAT' filetype..?

    Hi All,
    I am working on an Upload program. In that they have used the file type as 'DAT'.
    My doubt is whether <b>'GUI_UPLOAD'</b> supports <b>'DAT'</b> filetype or not.
    Bacause, while uploading the tool, I am getting '<b>Invalid file type error</b>'.
    can anyone let me know the reason this issue.
    Thanks & Regards,
    Paddu.

    <b>GUI_UPLOAD does support "ASC", "BIN" & "DAT" Filetypes.</b>
    details regd filetypes:
    'BIN'
                A binary representation of the internal table is read from the file.
               No conversion or interpretation is carried out. Usually, this produces
                meaningful results only if the internal table consists of a single
               column of type 'X'.
    'DAT'
               The components of the internal table are filled from the file. If the
                table contains more than one column, the entries in the file must be
               separated by tabs. Conversion exits are not carried out.
               For the different data types, the following applies:
    I or N or P or F
                         The numbers must be formatted according to the decimal representation
                         defined in the user settings.
    D
                         The date must be formatted according to the date format defined in the
                         user settings.
    T
                         The time must have format hh:mm:ss.
    'ASC'.
               The components of the internal table are filled from the file. Only data
               types of fixed length are allowed. The data must be contained on the
               file in its entire length.
    refer from the documentation of gui_upload from tcode se37.
    regards,
    srinivas

  • OVS supported data types

    Hi,
    does anybody know which data types are supported by OVS'? I just noticed that an element of typ Code that I will fill via an OVS on the UI won't work. I'll get an exception. When I change the data type to Text, everything works fine.
    Regards,
    Daniel

    Let me get a bit more precise. I interessted in how the different data types work together. Is there a rule, which data types of an element in the source BO correlate with wich data types in the respective OVS and then with wich data type of an element in the target BO.
    Do all three have to be of the same type or is there some automatic transformation done by the system between certain types?
    - Daniel

  • HT1414 apple 7.0 software does not support data cable

    apple new does not support any data cable.shows accesory does not support or not compatible.

    Hi ..
    Might be a cookies, cache, or extensions issue ..
    From your Safari menu bar click Safari > Preferences then select the Privacy tab.
    Click:   Remove All Website Data
    Then delete the cache.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.
    If that doesn't help, troubleshoot Safari extensions.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.
    Make sure your OS X software is up to date.
    Click the Apple  top left in your screen.
    From the drop down menu click:  Software Update

  • Oracle Forms New Features - Your input.  Supporting data types

    I am interested to know IF we were to support any new database types in Oracle Forms 11g, which types would you like supported and why. I'd also like to know if you are currently working around the absence of a database type.
    Please note, this is not any kind of commitment to support new data types in Oracle Forms applications but we are interested to know if there is demand and if so, for what types.
    Thanks
    Grant Ronald
    Oracle Forms Product Management
    p.s lets keep the thread focused on the topic so please don't post technical questions or comments about different new features - if you want to, start a new thread - thanks

    Hi Grant,
    support for the "new" - well they exists since 9iR1 ... 2001 - data types TIMESTAMP, TIMESTAMP WITH TIME ZONE, TIMESTAMP WITH LOCAL TIME ZONE, INTERVAL YEAR TO MONTH and INTERVAL DAY TO SECOND would be very helpful.
    Currently it's not possible to use the Data Block Wizard to create a data block for table/view that contains one of these columns.
    (In Forms Builder 10.1.2.3 it fails with a strange error message ... iewbdbc_oracle_to_id ... C:\forms\101220\src\ie\iewbdb.c:724 ...)
    So, one has to create the data block and the items manually. The items have to be CHARS.
    Then forms is able to fetch and display these columns. The user can edit them as normal.
    A WHEN-VALIDATE-ITEM trigger can be used to make sure that the implicit conversion from CHAR to the "new" datatype works.
    For example, an INTERVAL YEAR TO MONTH column (b):
    declare
      l_invalid_interval exception;
      pragma exception_init(l_invalid_interval, -1867);
      l_invalid_month exception;
      pragma exception_init(l_invalid_month, -1843);
      l_dummy interval year(9) to month;
    begin
      l_dummy := to_yminterval(:block2.b);
    exception
      when l_invalid_interval
      then
        message('invalid interval');
        raise form_trigger_failure;
      when l_invalid_month
      then
        message('invalid month');
        raise form_trigger_failure;
      when others
      then
        message(error_text);
        raise form_trigger_failure;
    end;This nasty trick works for most of the "new" datatypes except with TIMESTAMP WITH TIME ZONE.
    In Forms 10.1.2.3 the following WHEN-VALIDATE-ITEM trigger can (incorrectly!) fail:
    declare
      l_dummy timestamp with time zone;
    begin
      l_dummy := to_timestamp_tz(:block2.a);     
    end;It fails with "ORA-01804: failure to initialize timezone information", if the time zone is not like "-11:00", but like "EUROPE/PARIS". Don't know why...
    If we recode our trigger to make a round-trip to the database, it works:
    declare
      l_dummy timestamp with time zone;
    begin
      select to_timestamp_tz(:block2.a)
      into   l_dummy
      from dual;     
    end;We could avoid these tricks, if Forms (and Reports) would support these type natively.
    Thanks, Michael
    PS: The TIMESTAMP and INTERVAL data types should of course be supported as items, parameters, globals and record groups columns.
    Edited by: michael76 on 25.10.2010 01:14

  • Supported data types for BASIC compression.

    Hi,
    I am in the way of preparing a white paper for one of my customer on basic compression.
    As per the URL below, it says that there is a separate compression method for LOB type objects.
    http://docs.oracle.com/cd/E11882_01/server.112/e25494/tables.htm#CJAGFBFG
    Now my question, apart from LOB type, can i use basic compression method for all other data types. Any restrictions. Thanks in-advance.
    as per below URL, there is a different method for compressing LOB. They are talking about secure file LOBs not basic LOBS.  what is the method for compressing normal/basic LOBs.
    Using Oracle SecureFiles LOBs
    Regards
    DBA.

    You can not compress normal/basic LOBs.
    Compression and Deduplication on SecureFile LOB data requires the Advance Compression add-on.
    Compression ratios are comparable to WinZIP/gzip.  However, since this works on a block level, it may only be useful when the LOBs are significantly larger than your DB Block size (normally 8k)
    YOU MUST RUN BENCHMARKS!!!!
    BASIC and OLTP Compression apply to the table, not any particular column.
    BASIC is only good for bulk load.  (i believe it is 'free'.. but don't quote me.)
    OLTP requires Adv. Compression.
    MK

  • Does N9 support this type of MfE url ?

    Hi!
    We run a Lotus Notes Traveler server to sync our mail and calendars.
    Does N9 support this kind of URL: ?
    server_name:XXXXX/servlet/traveler
    Where server_name is the server name, XXXXX is the port number, and then the server url.
    At least in Nokia E72 and E6 it doesn't work (but i tested and iPhone 3GS and  Samsung Galaxy SII and it works fine in both).
    Regards and thanks.

    Hi Patrick,
    May be the followng thread will solve your problem.
    /thread/24147 [original link is broken]
    Thanks,
    Ramakrishna

  • Supported data type for JDBC storeproc mapping ?

    Hi,
    I have scenario to call oracle procedure from XI. Could you help me what kind of the supported type that i can use in my message mapping ? because in message mapping i have to define all the procedure input type. but then i can't use type like VARCHAR2, NUMBER ? but type like INTEGER, CHAR is working.
    anybody know where i can find the document or link on this ?
    Thank you and Best Regards
    Fernand

    This link answer all my question, http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm

  • Flex supported data types - Does Flex support  MSSQL geometry data type. I use WSDL connection.

    I looked at the AMF 3 document but did not find anything there. Connection to the MSSQL database is through WSDL.

    PUSH...

  • Will SQL Developer support data type anydata

    Will SQL Developer support datatype sys.anydata in future releases?
    Currently SQL Developer will not show any data for columns of type anydata.
    Example:
    create table t1 (id number, col1 sys.anydata);
    insert into t1 values(1,sys.anydata.convertvarchar2('TEST'));
    IF I export data from this table something like
    Insert into T1 (ID,COL1) values (1,'SYS.ANYDATA'); will be generated.
    The grid will display 'sys.anydata' for this column
    Versions:
    WINXP SP3
    SQL Developer Version 2.1.1.64
    Build MAIN-64.39
    Ernst

    I added a feature request:
    https://htmldb.oracle.com/pls/otn/f?p=42626:39:528125578772603::NO::P39_ID:25161
    Regards,
    Ernst
    Edited by: Ernst Leber on May 31, 2010 12:36 PM

  • Does firefox support data bindings?

    IE supports binding Html and xml elements to a data source object, does firefox?

    Hello Wiiweblady, see : https://developer.mozilla.org/en-US/docs/Using_XML_Data_Islands_in_Mozilla
    thank you

Maybe you are looking for

  • After iOS 8 update on 4s, wifi will not turn on.

    Also, sometimes texts aren't received and won't go through. And the battery drains incredibly fast now.

  • After sept 2014 windows update kb2977629 ie10 won't connect

    After Sept 2014 windows updates IE 10 win 8 will not connect to any web sites ... uninstalled kb977629 works fine ... any suggestions ??????

  • Class not found -- weird

    I am writing a sax Content Handler, and I get the following error, but in the jsp file of the same folder, I can import the classes it can not find, please help: <%@page import="org.xml.sax.helpers.DefaultHandler"%> OCContentHandler.java:1: Class org

  • HP 8452A spectrophotometer via HPIB board (HP 82341)

    Hi, I want to control my HP (Agilent) 8452A spectrophotometer by LabView 6i. The 8452A is connected via HP 82341 HPIB board. My operation system is Windows 95. I downloaded an instrument driver from the Instrument Driver Network web site (http://zone

  • Major run around no answers. Why?

    Early recording years for some of the older stars had music unavailable on CD's. My cassets record on Ion Ez Vinyl/tape converter but can't seem to get them into iTunes library as packaging asserts. Why? Running vista service pack 2 why is it not lis