Hibernate for lower case data(case sensitive) in oracle 10G

Hi,
I generated my data (oracle 10G release 2) using lowercase data types and table names. This requires queries in the strict form of -
Select "Column_Name" from "Table_name";
But Hibernate makes the queries as -
Select Column_Name from Table_Name;
driver I am using is oracle.jdbc.driver.OracleDriver
Jar is ojdbc14
and dialect is org.hibernate.dialect.Oracle9Dialect
The problem is:
table or view does not exist.
as it(lower case data) does not recognize the hibernate query format.
Can anyone suggest the proper driver and Jar to overcome the problem.
Regards,
Ankit

Ankit,
Just bite the bullet and don't use case-sensitive identifiers :-)
I don't use "hibernate", but maybe you can add the double-quotes -- " -- in the XML file?
I don't think there's a JDBC driver that adds the double-quotes for you. So I think your only option (if you insist on using case-sensistive identifiers) is to explore possibilities through "hibernate" itself.
I also don't think there's any database setting that allows Oracle to accept case-sensitive identifiers.
Good Luck,
Avi.

Similar Messages

  • How to access Data Guard option in Oracle 10g OEM

    Hi All,
    I have Oracle 10g ENTERPRISE EDITION on Unix envoirement. I want to setup logical standby Database through Data Guard technology. But when I brows through OEM I do not find Link for DATA GUARD????
    1) How to access Data Guard option from oracle 10g OEM.
    2) Does It come with Enterprise Edition OR I have to install it separately.
    Regards,
    Darshan

    I am managing almost everything through EM Grid Control. It is easy to setup and configure.
    Anyways, if you have read the documentation on
    Oracle® Data Guard Concepts and Administration and setup your environment accordingly then you should not have any problems. Atleast I can assure you that your production database will not be affected by it.
    Just make sure that you follow each step and read thoroughly. If you have spare machines then you can test and record your configuration before performing it on your production db. This link will provide you with the information on DataGuard.
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14239/concepts.htm
    If you think that way then you will never be able to do any new stuff since you will always fear that something might go wrong. Go ahead pal, try it on test machines and you will know that it is not that difficult.
    There are real experts who help people like us in this forum and I know that they are doing a pretty good job.
    All the best.
    Rgds
    Adnan

  • Backing up all data and objects of Oracle 10g Express Edition...

    Hi,
    I have tables, packages, views, procedures, etc. in Oracle 10g Express Edition, running on Windows XP. I would like to create a backup of the complete database (objects, relationships, all data, etc) into a file that I can restore in case the database crashes.
    What do I do?
    Thanks.

    markk2 wrote:
    I am actually using it for Production. Yes, I would need objects and data.I would suggest to look at the Standard Edition as well if you are using it for production.
    Is there a way to backup everything without data and then backup everything with data? Also, is there a way to restore everything without data and then restore everything with data?What's the meaning of "backup everything withiut data" and "then backup everything with data" ? The data is in the tables alone. The rest of the objects are not containing data but are using it, be it views, procedures etc. There is no such restore like without data. Without data, all what you would be getting would be structures of the tables which is going to be of no use. The export/import tool, is a simple tool which can put the tables (and other objects as well) along with their data in your dumpfile . In the situation of loss of a table, you can do an import from that dump file and you can restore the table back(with or without data, depends on the choice of yours while running Import command) . But this is just going to be a logical recovery of the object(s). For a complete database, it's better to use RMAN which would copy the datafiles and keep it with itself. Later, when you have a crash, you can restore those files to get teh database recovered. But if you want complete security, its better to put your db in the archive log and then do the backup along with the archive log files.
    HTH
    Aman....
    How to do this exactly? Thanks!

  • How do I view Migrate Data errors - Access 2003 - Oracle 10g

    I'm trying to use the SQL Developer to migrate data from an Access 2003 database to an Oracle 10g database. I followed the instructions found here:
    http://www.oracle.com/technology/tech/migration/workbench/files/omwb_getstarted.html
    I was able to complete every step except the actual data move. I exported the xml for the Access database, I captured the export and then ran the generation scripts on my target Oracle database (I'm using the same schema for the migration repository and the actual data). It created the tables with only one or two errors which I resolved.
    Now, when I select Migration->Migrate Data, I get the dialog that appears to start 4 or 5 threads and attempts to migrate each table. They all error and do not transfer any rows. I can see that there's one error per table, but I can't see the error text. I just know that an error occurred. Is there a log somewhere or is the error displayed somewhere else? How do I know what's gone wrong?
    Thanks.

    I too receive unexplained error counts using the Migrate Data menu selection and unexplained failures using the Generate Data Move Scripts menu selection. Permissions granted by role or direct grants should not be a problem, but a Migrate Data error appears in the Migration Log panel at the bottom of the SQL Developer window, "Failed to disable constraints: ORA-00942 ... ". No further details available on what constraints or why the error. No other errors were detected while following the instructions found in the Oracle SQL Developer Migration Workbench Getting Started guide. SQL Developer never migrates the data from the existing Access 2000 mdb file to the newly created schema objects in Oracle 10g using either method. The following roles and privileges have been granted to both the repository owner and the target schema owner:
    GRANT RESOURCE TO MIGRATE_USER WITH ADMIN OPTION;
    GRANT CONNECT TO MIGRATE_USER WITH ADMIN OPTION;
    ALTER USER MIGRATE_USER DEFAULT ROLE ALL;
    -- 25 System Privileges for MIGRATE_USER
    GRANT CREATE ROLE TO MIGRATE_USER;
    GRANT ALTER TABLESPACE TO MIGRATE_USER;
    GRANT ALTER ANY SEQUENCE TO MIGRATE_USER;
    GRANT INSERT ANY TABLE TO MIGRATE_USER;
    GRANT SELECT ANY TABLE TO MIGRATE_USER;
    GRANT CREATE ANY TABLE TO MIGRATE_USER;
    GRANT UNLIMITED TABLESPACE TO MIGRATE_USER WITH ADMIN OPTION;
    GRANT DROP TABLESPACE TO MIGRATE_USER;
    GRANT CREATE ANY TRIGGER TO MIGRATE_USER;
    GRANT ALTER ANY ROLE TO MIGRATE_USER;
    GRANT CREATE VIEW TO MIGRATE_USER WITH ADMIN OPTION;
    GRANT DROP USER TO MIGRATE_USER;
    GRANT CREATE TABLESPACE TO MIGRATE_USER;
    GRANT GRANT ANY ROLE TO MIGRATE_USER;
    GRANT CREATE ANY SEQUENCE TO MIGRATE_USER;
    GRANT ALTER ANY TABLE TO MIGRATE_USER;
    GRANT DROP ANY TRIGGER TO MIGRATE_USER;
    GRANT DROP ANY ROLE TO MIGRATE_USER;
    GRANT DROP ANY SEQUENCE TO MIGRATE_USER;
    GRANT UPDATE ANY TABLE TO MIGRATE_USER;
    GRANT ALTER ANY TRIGGER TO MIGRATE_USER;
    GRANT COMMENT ANY TABLE TO MIGRATE_USER;
    GRANT DROP ANY TABLE TO MIGRATE_USER;
    GRANT CREATE PUBLIC SYNONYM TO MIGRATE_USER WITH ADMIN OPTION;
    GRANT CREATE USER TO MIGRATE_USER WITH ADMIN OPTION;
    -- 1 Tablespace Quota for MIGRATE_USER
    ALTER USER MIGRATE_USER QUOTA UNLIMITED ON USERS;
    Operating system for both Access 2000 and Oracle 10g is Windows XP PRO SP2.
    Oracle SQL Developer is version 1.1.2.25 build MAIN-25.79 on Windows XP PRO SP2. All three are on the same PC.
    Since only the last step failed, I created a User DSN with the ODBC administrator. Then, linked the newly created Oracle table to Access via ODBC using the DSN created. Next, I created an append query with the source being the Access table and the target being the Oracle table. I moved the data by pressing the red exclamation mark.

  • XML SCHEMA registration for XML TYPE (storing XML files in Oracle 10g)

    I have created the XML Schema for the XML file stored in Oracle 10g and also added this Schema into the database. I have related that schema with the column in the table which contains the XML file. When i execute the query to fetch the data from the stored file i am getting a blank resultset. Is registering the XML Schema is necessary, if yes then please let me know the process of doing it. I have tried following steps to register Schema, but it is not working
    Step1:
    DECLARE
    v_return BOOLEAN;
    BEGIN
    v_return := dbms_xdb.createFolder('/home/');
    v_return := dbms_xdb.createFolder('/home/DEV/');
    v_return := dbms_xdb.createFolder('/home/DEV/xsd/');
    v_return := dbms_xdb.createFolder('/home/DEV/messages/');
    v_return := dbms_xdb.createFolder('/home/DEV/employees/');
    COMMIT;
    END;
    STEP 2:
    Connecting To XML DB
    Step3:
    Register XML schema
    I am failing to execute step number 2 and hence not able to register the schema also.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by sudeepk:
    If a java exception is thrown probably during ur install u might have forgotten
    grant javauserpriv to scott;
    grant javasyspriv to scott;
    Thanks
    [email protected]
    <HR></BLOCKQUOTE>
    Thank you!!!

  • How to export data within tables in Oracle 10g

    Since I'm using Oracle 10g, thus I wanted to know that do I have the option for exporting data from one table to another or exporting the whole table to some another databases like SQL Server or any other database.

    There are several options, each has different advantages and disadvantages. When both source and target are Oracle;
    1. you can use database links across databases -
    http://psoug.org/reference/db_link.html
    2. you can unload to external tables after 10g and load from external table -
    http://tonguc.wordpress.com/2007/08/09/unload-data-with-external-tables-and-data-pump/
    3. you can use data pump(expdp/impdp) after 10g -
    http://psoug.org/reference/datapump.html
    http://psoug.org/reference/dbms_datapump.html
    4. you can use traditional export(exp) and import(imp) -
    http://psoug.org/reference/export.html
    http://psoug.org/reference/import.html
    5. you can unload to text with an unloader and use sql*loader to load -
    http://tonguc.wordpress.com/2007/09/02/announcement-of-a-new-product-ubsql-from-ubtools/
    http://asktom.oracle.com/tkyte/flat/
    http://psoug.org/reference/sqlloader.html
    for some options you may get the meta information(all table related DDLs) with supplied package DBMS_METADATA;
    http://psoug.org/reference/dbms_metadata.html
    When source is Oracle 10g and target is non-Oracle you may unload to text from Oracle and use the related text loader utility supplied with the other vendor.
    Also Heterogeneous Connectivity is another option between Oracle and non-Oracle systems;
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/toc.htm
    If you need more informations please visit Oracle's documentation for your release and search for the topic you are interested; http://tahiti.oracle.com

  • Send table data through mail in oracle 10g

    Hi ,
    I am trying to send a mail through oracle 10g .
    I can send mail through utl_mail .
    The text that I need to send is data from a table .
    The table contains information about all the employees .
    Table name is person . If the employee is absent on any day without any reason there would be a row of this employee in the table person.
    There is also a column named email in this table .
    I need to write a stored procedure which will send the data about each particular employee to their respective email for all the employees in the person table .
    Can anyone please help me on this .
    Thank you.

    Try this forum thread first:
    Re: send email by procedure
    There are lots of articles on how to accomplish this taks on the web:
    -- utl_smtp example
    http://it.toolbox.com/wiki/index.php/Send_email_from_Oracle_Database
    http://www.databasejournal.com/features/oracle/article.php/3423431/Sending-e-mail-from-within-Oracle.htm
    -- From Application Express product
    http://www.oracle.com/technology/products/database/application_express/howtos/howto_workflow.html
    HTH -- Mark D Powell --

  • Is there replacement for (less than) and (greater than) in Oracle 10g?

    Hi,
    In the User Java Application using Oracle's > (less than) or > (greater than) is not working.
    Can anyone help me onthis for any feature in Oracle 10g instead of using less than or greater than
    Thanks and Regards

    Hi,
    What do yyou mean by "it's not working"?
    Maybe you could use sign function, instead.
    with t as (select 2 x, 3 y from dual union all
               select 2 x, 1 y from dual union all
               select 2 x, 2 y from dual)
    select t.*
      from t
    where sign(y - x) = - 1;
             X          Y
             2          1
    1 row selected.Regards
    Peter

  • Replication of data from LDAP to Oracle 10g Database

    Hi All,
    in our application we are using Oracle Identity manager, and Oracle 10g database.
    we are storing the user,profile and privilages in LDAP and due to some reason we have to create user table in the 10g database.
    this user table values and LDAP user table values must be same.
    here the source is LDAP and destination is Oracle.
    so is there any way we can synchoronize or replicate the data from LDAP to 10g database?
    since oracle identity manager is integrated with LDAP,
    i feeel this must be possible.
    but really dont know how?
    kindly suggest me.
    and if any examples available please let me know, i will be very greatful to you.
    Thanks in advance

    Check out thread How synchronize OID user to a table?
    The title of the thread is: How synchronize OID user to a table?

  • Error in Loading Data with SQLLDR in Oracle 10G

    Hello,
    Can any one suggest whats the problem in the below mentioned Control file used for loading data through SQL*LOADER
    LOAD DATA
    INFILE 'D:\test\temt.txt'
    BADFILE 'test.bad'
    DISCARDFILE 'test.dsc'
    INTO TABLE "TEST"
    INSERT
    (SRNO INTEGER(7),
    PROD_ID INTEGER(10),
    PROMO_ID INTEGER(10),
    CHANNEL_ID INTEGER(10),
    UNIT_COST INTEGER(10),
    UNIT_PRICE INTEGER(10)
    I am trying to load data in SCOTT schema as user scott.
    Why do i get such an error, please refer the attach Log file.
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Mar 20 14:43:35 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Control File: D:\test\temt.ctl
    Data File: D:\test\temt.txt
    Bad File: test.bad
    Discard File: test.dsc
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array: 64 rows, maximum of 256000 bytes
    Continuation: none specified
    Path used: Conventional
    Table "TEST", loaded from every logical record.
    Insert option in effect for this table: INSERT
    Column Name Position Len Term Encl Datatype
    SRNO FIRST 7 INTEGER
    PROD_ID NEXT 10 INTEGER
    PROMO_ID NEXT 10 INTEGER
    CHANNEL_ID NEXT 10 INTEGER
    UNIT_COST NEXT 10 INTEGER
    UNIT_PRICE NEXT 10 INTEGER
    Record 1: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 2: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 3: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 4: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 5: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 6: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 7: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 8: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 9: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 10: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 11: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 12: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 13: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 14: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 15: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 16: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 17: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 18: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 19: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 20: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 21: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 22: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 23: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 24: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 25: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 26: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 27: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 28: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 29: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 30: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 31: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 32: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 33: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 34: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 35: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 36: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 37: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 38: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 39: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 40: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 41: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 42: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 43: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 44: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 45: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 46: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 47: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 48: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 49: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 50: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    Record 51: Rejected - Error on table "TEST".
    ORA-01460: unimplemented or unreasonable conversion requested
    MAXIMUM ERROR COUNT EXCEEDED - Above statistics reflect partial run.
    Table "TEST":
    0 Rows successfully loaded.
    51 Rows not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Space allocated for bind array: 3648 bytes(64 rows)
    Read buffer bytes: 1048576
    Total logical records skipped: 0
    Total logical records read: 64
    Total logical records rejected: 51
    Total logical records discarded: 0
    Run began on Fri Mar 20 14:43:35 2009
    Run ended on Fri Mar 20 14:43:43 2009
    Elapsed time was: 00:00:07.98
    CPU time was: 00:00:00.28
    Below is the method of using SQLLDR and table details,
    SQL> desc test
    Name Null? Type
    SRNO NUMBER(7)
    PROD_ID NUMBER(10)
    PROMO_ID NUMBER(10)
    CHANNEL_ID NUMBER(10)
    UNIT_COST NUMBER(10)
    UNIT_PRICE NUMBER(10)
    Method for using sqlldr is :
    cmd promt,
    d:\> sqlldr scott/tiger
    control = D:\test\temt.ctl
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Mar 20 15:55:50 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Commit point reached - logical record count 64
    I even tried few examples,
    Which of the below mentioned Control file make sense,
    --1
    LOAD DATA
    INFILE 'D:\test\temt.txt'
    BADFILE 'test.bad'
    DISCARDFILE 'test.dsc'
    INTO TABLE "TEST"
    INSERT
    FIELD TERMINATED BY (,)
    (SRNO INTEGER(7),
    PROD_ID INTEGER(10),
    PROMO_ID INTEGER(10),
    CHANNEL_ID INTEGER(10),
    UNIT_COST INTEGER(10),
    UNIT_PRICE INTEGER(10)
    --2
    LOAD DATA
    INFILE 'D:\test\temt.txt'
    BADFILE 'test.bad'
    DISCARDFILE 'test.dsc'
    INTO TABLE "TEST"
    INSERT
    FIELD TERMINATED BY (,) optionally enclosed by '"'
    (SRNO INTEGER(7),
    PROD_ID INTEGER(10),
    PROMO_ID INTEGER(10),
    CHANNEL_ID INTEGER(10),
    UNIT_COST INTEGER(10),
    UNIT_PRICE INTEGER(10)
    *For code--1 i get below mentioned error..*
    D:\>sqlldr scott/tiger
    control = D:\test\temt.ctl
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Mar 20 16:36:00 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL*Loader-350: Syntax error at line 8.
    Expecting "(", found "FIELD".
    FIELD TERMINATED BY (,)
    ^
    *And for code--2 i get the below error,*
    D:\>sqlldr scott/tiger
    control = D:\test\temt.ctl
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Mar 20 16:39:22 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL*Loader-350: Syntax error at line 8.
    Expecting "(", found "FIELD".
    FIELD TERMINATED BY (,) optionally enclosed by '"'
    ^
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    below is the data i am trying to load through sqlldr
    1,14,999,3,89098,111287
    2,14,999,2,88645,110899
    3,14,999,2,90418,117623
    4,14,999,3,89272,115999
    5,14,999,4,86364,117623
    6,15,999,3,87522,101399
    7,15,999,4,84671,99999
    8,15,999,4,84671,99999
    9,15,999,4,86364,101399
    10,15,999,4,88735,100399
    11,15,999,2,90418,101399
    12,15,999,3,89272,101399
    13,15,999,2,90418,101399
    14,17,999,2,9694,155099
    15,17,999,3,97618,155099
    16,17,999,3,97618,155099
    17,18,999,3,11333,169783
    18,18,999,2,11479,163279
    19,18,999,3,11333,163279
    20,18,999,3,115141,173504
    21,18,999,2,117086,165565
    22,18,999,2,116856,17532
    23,18,999,2,117086,169783
    24,19,999,4,489,6237
    25,19,999,3,4968,6302
    26,20,999,2,52876,60839
    27,20,999,3,52202,59999
    28,20,999,3,53246,59999
    29,20,999,3,54205,60209
    30,20,999,3,54205,60209
    31,21,999,4,76204,106773
    32,21,999,4,76204,106773
    33,21,999,3,7877,105299
    34,21,999,4,76204,106773
    35,21,999,4,77576,105668
    36,21,999,3,7877,105299
    37,21,999,4,76204,105299
    38,21,999,2,81377,107595
    39,21,999,2,81377,107595
    40,21,999,4,77728,107595
    41,22,999,3,2187,2656
    42,22,999,2,2216,2661
    43,22,999,3,2187,2656
    44,22,999,2,2251,2632
    45,22,999,3,2187,2656
    46,22,999,4,2154,2628
    47,22,999,3,2187,2656
    48,22,999,3,2231,2661
    49,22,999,3,2231,2624
    50,22,999,2,2296,2632
    51,22,999,3,2231,2661
    52,22,999,4,2158,2661
    53,23,999,3,1913,2408
    54,23,999,3,1951,2375
    55,23,999,3,1987,2383
    56,23,999,3,1951,2408
    57,24,999,4,3946,4943
    58,24,999,3,4073,4883
    59,24,999,2,4053,4934
    60,24,999,2,4053,4866
    61,24,999,4,3946,4943
    62,24,999,3,4001,4943
    63,24,999,3,4154,4892
    64,24,999,4,4025,4875
    65,24,999,4,4025,4875
    66,24,999,2,4134,4875
    67,24,999,3,4081,4943
    68,24,999,2,4134,4934
    69,24,999,4,4025,4943
    70,24,999,4,4025,4875
    71,24,999,3,4081,4943
    72,25,999,3,983,12655
    73,25,999,3,983,12655
    74,25,999,2,9958,12655
    75,25,999,3,983,12655
    76,25,999,2,9958,12832
    77,25,999,3,10027,12832
    78,25,999,2,10157,12774
    79,25,999,4,9888,12655
    80,25,999,2,10157,12832
    81,25,999,4,9888,12832
    82,25,999,4,9888,12832
    83,26,999,3,1305,17034
    84,26,999,3,1305,16799
    85,26,999,3,13551,16858
    86,27,999,3,3992,4927
    87,27,999,3,4064,4876
    88,29,999,3,43761,56175
    89,29,999,2,44942,55621
    90,29,999,4,42335,55399
    91,29,999,2,44322,55399
    92,29,999,2,45208,56175
    93,29,999,2,45208,56175
    94,29,999,4,43182,56175
    95,29,999,3,44636,56175
    96,29,999,4,43182,56175
    97,29,999,4,43182,56175
    98,30,999,3,869,1094
    99,30,999,4,857,1079
    100,30,999,2,898,1079
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------

  • Migrate datas from RDB to Oracle 10g

    The applications that use the RDB database are being re-write with Forms based on an Oracle database.
    Of course, before we use the new application, we will have a step for moving datas from old tables in Rdb to the new tables (new design) in Oracle (developpers are working on sql scripts for that). But when the new applications with Oracle db will be in production, I would like to save datas (datas as datas) from Rdb in an Oracle database with the same struture as the rdb structure (same tabels, with same columns and same datas in). The idea is we will be able to verify datas through SQL.
    Do you have any idea ?
    Thank you
    AnneMar

    Hi AnneMar,
    there exists a Metalink note that serves as a starter for such a migration:
    Note 135929.1: RDBPROD: Advice on Converting from Oracle Rdb to Oracle RDBMS
    For your convenience I am pasting that note here.
    Regards
    Wolfgang
    PURPOSE
    To provide general advice on migrating from Oracle Rdb to Oracle RDBMS
    SCOPE & APPLICATION
    This advice is intended for people who have already decided to convert, and are starting to plan how to do it. It provides a broad outline of how it can be done and some of the things to consider.
    Advice on Converting from Oracle Rdb to Oracle RDBMS
    General notes
    * The longer you leave it the easier it is likely to be. The SQL interfaces to Rdb are growing closer to those for RDBMS, particularly OCI Services for Rdb.
    * Converting the database will probably be the easy part. The applications are likely to require more work.
    * A staged approach is more likely to be successful than trying to do everything in one go.
    A possible strategy for converting
    1. Install OCI Services for Rdb. Pick a small application, or one that needs rewriting anyway. Convert the application using the method and tools of your choice to access the Rdb database via SQL*Net for Rdb. If unsatisfied with the results, you can repeat this with alternative methods or tools, until you find one that works for you.
    2. Install RDBMS. For those tables used by applications converted to use OCI Services, create database links. Point the converted application to the RDBMS database instead of the Rdb one. This step can be done whilst other applications are being converted. No data is yet stored in the RDBMS database, so any problems that arise with it, possibly due to lack of appropriate DBA experience, can be worked around by just pointing the programs back at the Rdb database.
    3. Now you have a choice.
    1. Gradually move the data into the RDBMS database. First new tables, then tables only accessed by applications that have already been converted. This has the advantage of taking one step at a time, so it would be easy to back up temporarily if a problem is found. The main disadvantage is that now that the data is spread over two databases your backup and recovery strategy will be more complicated.
    2. Finish converting the applications. Then transfer all the data over in one go. If there is a lot of data, then going back would be a big job, so there is more risk.
    Alternative common interfaces
    Besides OCI Services there are several other APIs that applications could use to access Rdb or RDBMS transparently.
    * JDBC - If your applications are written in JAVA or you want to rewrite them in JAVA
    * ODBC - If your applications run on Windows
    * .NET - If your applications run on Windows
    Techniques for converting a database
    * Transferring Metadata Extract the metadata using RMU/EXTRACT. Cut down and edit the output to produce a script to use to create the corresponding RDBMS objects.
    * Transferring data
    For small tables,
    INSERT INTO rdbms_table SELECT columns FROM rdb_table;
    (using dblinks to the rdb database and SQL*Net for Rdb)
    For large tables, use RMU/UNLOAD to create a delimited file and then load that into RDBMS using SQL$Loader.
    * Keeping data current in RDBMS while testing the transfer can be done using the Logminer Option in Rdb.
    Notes
    1. OCI Services for Rdb was formerly known as SQL*Net for Rdb and is part of Oracle SQL/Services. Though this is structured as a separate product from Oracle Rdb no additional license is needed.
    2. Some limits are different between Rdb and RDBMS.
    For example: in Rdb table and column names can be 31 bytes but RDBMS only allows 30.
    3. The RMU/EXTRACT command can write the SQL definitions of objects within a Rdb database to a text file.
    RELATED DOCUMENTS
    SQL*Net for Rdb
    Oracle Rdb Guide to SQL*Net for Rdb
    Oracle Rdb Oracle SQL/Services Release Notes
    Oracle Rdb A Comparison of SQL Dialects for Oracle and Oracle Rdb
    RMU/EXTRACT and /UNLOAD
    Oracle RMU Reference Manual
    SQL*Loader
    Oracle8 Server Utilities

  • Not able to fetch updated data using jdbc and oracle 10g

    Whenever i m updating the data and fetching the same record after updating i m not able to get the fresh/new updated data , old record is fetched every time, but when i checked in database the record gets updated successfully , even if i fire the query two times after 10 seconds using Thread.sleep even then problem persist.
    Please help me out!!!!!!!!
    Implementation has been stucked up!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :(

    Well its okWhat is OK? Your stuff working now?
    i m doing the same thing Apparently not.
    please go thru the below code fragment:
    code for Update :::
    DataAccessBean1 partsHistoryDataAccessBean = new
    DataAccessBean1(context);
    partsHistoryDataAccessBean.setData(data);
    partsHistoryDataAccessBean.update();
    After Updating i m forwading it to the other servletForwarding what? Why do you need another servlet? Just do the query, put the new data into the response object, and return.
    According to your assumption i should get the updated
    data on the other screen but Nope, you don't understand what I'm saying.
    %

  • Converting column data into rows in oracle 10g

    sample data:
    PATID NA2     NA3     NA4     
    1     3     4     5     
    1     34     45     56     
    1     134     245     356     
    2     134     245     356     
    2     334     275     56     
    2     4     275     56     
    2     4     5     56     
    how to display the above data like
    PATID NA2 NA3 NA4
    1 ID1 ID2 ID3 ID4 ID1 ID2 ID3 ID4 ID1 ID2 ID3 ID4
    3 34 134 4 45 245 5 56 356
    2 134 134 4 4 245 275 275 5 356 56 56 56

    Many examples are here:
    http://www.oracle-base.com/articles/10g/StringAggregationTechniques.php
    (and you can do a search on this forum as well to find more)
    edit
    Your sample data is not very clear, by the way.
    Please post a CREATE TABLE and some INSERT statements, just enough to put up the testcase.
    Use the tag before and after posting examples, so formatting will be maintained.
    See the [FAQ|http://forums.oracle.com/forums/help.jspa] for more information regarding tags (scroll a bit down)...
    Edited by: hoek on Jan 26, 2010 5:23 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Fetching data from timesten to oracle 10g database

    Hi Folks,
    Please provide me the steps to fetch a table data and load in to oracle database table. I need to do feasibility study on this connectivity. kindly do the needful.
    Thanks,
    PR

    782011 wrote:
    Hi Folks,
    Please provide me the steps to fetch a table data and load in to oracle database table. I need to do feasibility study on this connectivity. kindly do the needful.
    Thanks,
    PRFetch it from where?

  • Problem while inserting data for some datatypes in Oracle 10g

    Hi
    I was trying to insert data in database for all the data types defined in Oracle 10g.
    I was successful in maximum cases.
    I was not able to insert data for following datatypes:
    1 Long varraw
    2 string
    3 varraw
    4 varnum
    5 charz
    6 unsigned int
    7 native double
    8 native float
    Please put some light on it.
    Thanks,
    Gyanendra

    Hi Subin,
    You can try couple of things.
    If your data is less than 32767, you can pass it to stored procedure and change it to clob type like
    PROCEDURE CLOBQUERY
         Param     IN     CLOB,
    and you can call Procedure
    EXECUTE CLOBQUERY '[Param.1]'
    If your data is around than 1000000(32767*32), you can break the data in length of 32767 and pass it to param 1 to 32 like
    EXECUTE CLOBQUERY '[Param.1][Param.2][Param.3]..[Param.32]'
    Finally you can try to update jdbc drive.
    check the link Link: [JDBC Limitation|http://confluence.atlassian.com/display/JIRA/UsingOracle10gdriverstosolvethe4000character+limitation]

Maybe you are looking for

  • Servicegen issue with binding webservices.jar

    Hey, I am trying to build a ejb webservice using ant and servicegen. When I run it, it blows up and gives me a ton of binding errors. The problem is the binding errors are on files from the webservices.jar not from my jar. What is wrong with my scrip

  • How to make Deactivate line appear in T.code FTXP in testing client

    Requirement is that Deactivate tab should appear in my testing client.  Right now it is not appearing.  It is appearing in the Development Client.  The necessary changes have been carried out in respect of a tax code (pertaining to FI only )by deacti

  • WS-Security:  Fail to configure Keystore and Identity Certificates

    Hi, This is my first question here! I want to set a secure web service, following the guide "Web Services Security Guide" i set up the keystore and Identity Certificates with a keystore that contains two certificates created by me, I set the keys to

  • People against transparent backgrounds?

    If you look at this design firm's site, the home page has a lady walking around in front of a transparent background so other graphics can show through.. can anyone tell me what the technique is to do this? Obviously you video the subject.. against g

  • Access denied Error when trying to run Tomcat that came with JWSDP

    Hi fellows, I went through the forums and found same error posted by someone but no soultion to that. So hope this time i get lucky. I am running this on win 98(it really sucks) After I try to run the startup.bat i get the error: Using CATALINA_BASE: