APIDOC for oracle.sql...

Where can I find/download the ZIP/JAR files containing the soruce and/or the apidoc for the oracle.sql. classes/Oracle's JDBC driver? I am using 11gR2.
Thank you.

>
Eg. currently I am struggling in "copying" a Blob object:
I want to read the Blob object with help of XMLStreamReader and write it with XMLStreamWriter to finally create another Blob object. It works but when I try to access this copy I get an ORA-22275 (Invalid LOB locator).
Any idea?
>
Unless you post the code you are using there is no way to provide specific suggestions.
When you work with BLOBs and CLOBS you have to use a locator. The most common mistake I see is a developer trying to write a new BLOB/CLOB to a table column without creating the locator first. Since you haven't posted any code I have no way of knowing what you are actually doing or what steps you are taking to try to do it.
The typical way to write a new BLOB/CLOB to a new row is to first create (INSERT) the row and use EMPTY_CLOB() to create the LOB locator.
Then you retrieve the locator from the table and use the locator to populate the LOB.
See Creating and Populating a BLOB or CLOB Column in the JDBC Developer's Guide
http://docs.oracle.com/cd/B19306_01/java.102/b14355/oralob.htm#i1058044
Then just below that section is an example Populating a BLOB or CLOB Column in a New Table

Similar Messages

  • Is it possible to query software inventory report for Oracle SQL developer installation?

    Hi all
    My company requires to generate a report of all kinds of Oracle database access tool. I can find Toad installation from Add/Remove Program and therefore can query for Toad.
    However, Oracle SQL developer is using Java. I cannot see an entry for Oracle SQL developer from Add/Remove Program. Is there a way to query inventory for Oracle SQL developer installation?
    Thanks a lot.
    Regards
    Lic

    You might be able to use software inventory to report on the version of sqldeveloper.exe.
    As the app looks like just a zip you extract to a custom location that might be one method.

  • Plz suggest book for Oracle - SQL and Oracle PL/ SQL

    Hello Experts,
    Please suggest me the best book(s) for Oracle - SQL
    As well,
    For the Oracle - PLSQL
    searched on the net but bit confused.
    Thanks in advance................

    SShubhangi wrote:
    Rahul...
    i got the following book..
    OCA Oracle Database 11g:
    SQL Fundamentals I
    Exam Guide (Exam 1Z0-051) by John Watson
    Roopesh Ramklass.
    please let me know other books of this series...Just downloading/purchasing the Books is not going to help you learn SQL. You will have to read and practice.
    My take is:
    1. Oracle Documentation -- Download from Here
    2. Effective Oracle by Design by Tom Kyte (Might have to purchase it as its not available for free download).
    Once you read these and practice simultaneously, you would be able to grasp much more than reading all the above 4-5 books mentioned.
    Also, I would say, to read just one of the books at a time than to make a mess by reading all and understanding none.

  • Table API Extension for Oracle SQL Developer

    I just created small project [Table API Generator for Oracle|http://code.google.com/p/tapig/].
    Idea is to only maintain tables and generate table API (TAPI) packages for data manipulation.
    Generated:
    - insert, update, delete, querying procedures
    - documentation based on table columns comments
    Do you think it will be useful to have custom Table API Generator as extension for Oracle SQL Developer?

    Never used them myself and quite legacy, but I'm sure there's still a lot of people using them and the basic idea is quite nice.
    This would also qualify perfectly as a User Defined XML Extension for sqldev; little work but big results. Even if you were the only one using it, it would still pay off.
    Have fun,
    K.

  • Non-Geeky name for "Oracle SQL Developer"

    At my work place people (mostly non-developers) are using MS-Query to access Oracle database to query and analyses data.
    I asked them to use "Oracle SQL Developer", then their response is "It may be complicated, and we are not Developer".
    Current name implies user need to be developer, and need to know SQL etc.
    Cant we have a non-geeky name?
    "SQL Server Management Studio", "MS-Query", "DBDesigner", "TOAD" all sounds non-geeky.
    May be "Oracle Data Studio" is better.

    It has been named "Raptor" before it became SQL-Developer. Just rename the link for your co-workers if they think they cannot use a tool because of its name.
    Regards
    Marcus

  • Wht's the best n basic material to prepare for Oracle SQL certification

    Can anyone suggest me the best material to prepare for the Oracle SQL certification.

    > By the way, why did you open the thread
    As voice number 1.
    > and answered it for yourself
    As voice number 2...
    > as if, you are addressing some second person,
    .. addressing voice number 1.
    I have no problem with that Sarma. It is that 3rd little voice in the OP's head that makes me quite nervous.
    ;)

  • Recommended books for Oracle SQL power user

    I am an OCA 11g preparing for 1Z0-047 [Oracle Database SQL Certified Expert]. Passing 1Z0-047 is not my sole purpose. I wish to become SQL power user.
    What books do you recommend me except that from Steve O'Hearn? I saw there are quite a lot of advanced SQL books on Amazon. Which one a must have without PL/SQL or other programming language?

    Other than Steve O'Hearn's book ?   "Pro Oracle SQL"  (Apress)  by Karen Morton et al.
    Hemant K Chitale

  • License terms for Oracle SQL client

    Hi,
    Is Oracle SQL client free of charge ?
    if not, what is the license policy for this small application ?
    thanks a lot,
    Al.

    What you mean 3 licenses for 8.1.7 ?
    I don't think you can only buy 3 named user license for Oracle DB server.
    Oracle client <> SQL*plus
    SQLpus is only one of the utilities that included in Oracle client package.
    If you have concurrent user license, you can install as many Oracle client you want but any given time only 3 concurrent session can connect to database.
    When you download the Oracle client from Oracle website, there's full Term and Agreement you need to accept before proceed.

  • How to estimated time for oracle sql query

    i have query run every month on production server to collect some information
    data size is difference every month
    what i need to estimate the time before running
    how can i do that

    sorry this is what i get
    when i caculate time column it give me 10 sec
    but when i make this
    SQL> set timing on;
    SQL> select * from tab;
    3658 rows selected.
    Elapsed: 00:00:05.50
    so whay in the first give me 10 sec and the secand give me 5.50 sec
    SQL> explain plan for select * from tab;
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 457676135
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1243 | 104K| 182 (4)| 00:00:03 |
    | 1 | NESTED LOOPS OUTER | | 1243 | 104K| 182 (4)| 00:00:03 |
    |* 2 | TABLE ACCESS FULL | OBJ$ | 1243 | 98197 | 142 (5)| 00:00:02 |
    | 3 | TABLE ACCESS CLUSTER| TAB$ | 1 | 7 | 1 (0)| 00:00:01 |
    |* 4 | INDEX UNIQUE SCAN | I_OBJ# | 1 | | 0 (0)| 00:00:01 |
    PLAN_TABLE_OUTPUT
    Predicate Information (identified by operation id):
    2 - filter("O"."TYPE#"<=5 AND "O"."OWNER#"=USERENV('SCHEMAID') AND
    "O"."TYPE#">=2 AND "O"."LINKNAME" IS NULL)
    4 - access("O"."OBJ#"="T"."OBJ#"(+))
    18 rows selected.
    SQL>
    Edited by: 862640 on Nov 27, 2011 1:43 AM
    Edited by: 862640 on Nov 27, 2011 1:49 AM
    Edited by: 862640 on Nov 27, 2011 1:53 AM

  • JDK1.5.0_06 for Oracle SQL Developer for Windows 1.5

    How do I find what version of, or if any version of, the JDK is installed?
    Am trying to minimize download time/space.
    Thanks in advance.

    Think to check in your environment variable if CLASSPATH parameter exists to see if you've ever a JDK version or not.
    If necessary, last option is to get the JDK 1.6.0_06 from :
    http://java.sun.com/javase/downloads/?intcmp=1281

  • Help out:SQL Assistant for oracle

    Any time i use the logminer utility from the SQLaps SQL Assistant for oracle to query either my redo or archive logs i get this error, but the dictionary.txt file exist in the location specified;
    Please help out with details on how to solve this error:
    ORA-01284: file C\oracle\product\10.2.0\db_1\dictionary.txt cannot be opened
    ORA-06512: at "SYS.DBMS_LOGMNR", line 58
    ORA-06512: at line 1
    kindly help out on the reason for this error and detailed steps to solve this issue

    NAIJA-EXBOY wrote:
    That is how the error appears when you use the GUI utility for the logminer to query the alert logs,
    Does anybody have ideas on how logminer utility works using this software "SQL Assistant for oracle""SQL Assistant for Oracle" doesn't seem to be a tool provided by Oracle, but a third-party tool. Therefore I suggest you contact their technical support for your inquiry.
    As a workaround, as already suggested, you might want to use the DBMS_LOGMNR package to use the LogMiner. It's not that complicated at all and just needs a couple of calls to the DBMS_LOGMNR and optionally DBMS_LOGMNR_D packages. You can check the documentation on how to use it.
    If you have Oracle Enterprise Manager you could access the LogMiner interface using the Java Console version prior to 11g.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Dose oracle.sql.ArrayDescriptor support the user defined type in package?

    Hi folks:
    I get a obstacle in calling stored procedure by using JDBC driver (ojdbc14.jar).
    I have the following code:
    create or replace package xxx AS
    type var_table is table of varchar2(50);
    procedure(parameter in var_table);
    end xxx;
    When I use the jdbc driver try to create a type for
    oracle.sql.ArrayDescriptor arrayDes = oracle.sql.ArrayDescriptor.createDescriptor( "var_table ",connection);
    The SQLException is thrown out like those:
    Invalid name pattern:user_schema. var_table
    So, my question is : Dose oracle.sql.ArrayDescriptor not support the user defined type in package? And I also tried to define such type by using sql "create xxxx" outside of package, then there is no SQLException.
    Hopefully for your response and suggestion.Thanks...

    To my knowledge, the Oracle JDBC driver does not support using the ArrayDescriptor for array data types (varray or nested table) that are defined inside of a package. The same is true for StructDescriptor as well. If you want to use array and object data types, you must define them outside of a package. Then you'll be able to use the descriptors in your JDBC programs.

  • Issues using Oracle SQL server Developer migration work bench

    Hi all,
    We are trying to migrate the application databases from SQL server 2000 to Oracle 10g using Oracle SQL Developer 1.2.1.32.13:
    Following is the list of issues that we faced while trying out this migration on dev environment.
    1. The data migration was successful for only around 90 tables out of the total 166 tables present. No error message was logged for the rest of the tables but still it was completed.
    2. Some of the tables which had got the data inserted did not have the full data. Only some of the rows were inserted for these tables. Error message was logged only for few of the rows and not all.
    3. Few error messages were logged which said problems about “Inserting ' ' into column <tablename>.<columnname>”. There was no such constraint in the target database that the particular column can not be null or can not have only a space. Please check the logs for the same error messages.
    4. The status box at the end of migration had shown only 3 errors.
    5. The total data for migration was around 500MB. The time taken for migration was around 75 minutes. Are there any optimization techniques that will improve the performance?
    Please note that there were no Foreign Key references for the source schema or target schema.
    Any pointers/info/resolutions related to above mentioned issues will be much useful for us.
    Thanks,

    Hi Adam,
    There are 2 sets of scripts created for you.
    1) For SQL Servers BCP to dump out the data to dat files
    2) For Oracles SQL*Loader to load the dat files
    You run the SQL Server BCP scripts on the machine with SQL Server.
    The dat files will be dumped out on that server.
    You can then move the dat files to your Oracle server.
    Then run the Oracle SQL*Loader scripts to load the dat files into Oracle.
    Give it a go and follow the doc and viewlets.
    Your Questions:
    So the datadump from the source location would be saved on my local disk?it will be saved on the same machine you run the bcp scripts from. Usually the same machine SQL Server is on, because you require SQL Server BCP tool.
    So once it is migrated to the destination database will that dump be created automatically? Or do I need to modify the script to take care of this?I dont know what you mean by this, hopefully above clears things up.
    The only modifications you need to make to the scripts are adding in the databasename username password servername. These are outlined in the scripts themselves. I would want to do something fancy like dump the dat files to a different directory, then you can modify the scripts, but you should understand what they do first.
    Most people would have 500MB of space on their discs , so I can see the problem creating these dat files . The same goes for your 30 GB database.
    I hope this helps, but as always you wont get a good idea of how it works until you give it a go.
    Regards,
    Dermot.

  • JAR conflicts in Oracle SQL Developer Extension

    Hi,
    I am developing a extension for Oracle SQL Developer. I want to use JavaFX to show a WebView inside SQLDeveloper, so I imported such library.
    When I try to use such library, the program crashes with an error (NoSuchMethodError) pointing to the constructor of JSObject. The problem is that oracle.help_5.0 (bundled with sql developer) and JavaFX (in the future is going to be bundled in jre) defines the same class (netscape.javascript.JSObject) with different implementations.
    My question is that if it is possible to define/modify the ClassLoader to serve the JSObject provided by JavaFX library to the JavaFX library.
    Thank you in advance!

    Thats odd.
    Do you see any exceptions in console ? (to see the console launch sqldeveloper.exe in ../sqldeveloper/sqldeveloper/bin dir.)
    -Raghu

  • SSL in Oracle SQL Developer?

    PCI DSS (related to protection of credit card data) requires that I have to implement a 2-factor authentication. The 2 factor authentication that I am going to implement is password protection and token encryption like SSL (secure sockets layer).
    When I am trying to access my remote DB using SQL Developer, I will use a password to get connected. In addition to that, I will try to use something like HTTPS which supports SSL. Is there an inbuilt-mechanism for Oracle SQL Developer to support SSL or do we have to configure it manually or is there some other mechanism in place?

    Thats odd.
    Do you see any exceptions in console ? (to see the console launch sqldeveloper.exe in ../sqldeveloper/sqldeveloper/bin dir.)
    -Raghu

Maybe you are looking for

  • Workspace Credential Conflict between Logged-in User and the Authenticated User

    Hi there, I am running LiveCycle ES Update1 SP2 with Process Management component on WIN/JBoss/SQL Server 2005. I have been encountering user credential conflicts from time to time, but it has not been consistent and the problem manifested in various

  • CALS for Windows 7 Professional and windows server

    I have Windows 2008 Server and i have windows 7 professional workstation. Do I need WIN CAL for both the machine for file transfer ?Does windows  2008 and windows 7 professional has any minimum WIN CAL which comes along with Windows license? Kindly p

  • Photos uploaded onto Facebook are small

    Hey, I have a macbook and iLife '08 and it appears that every time I upload photos onto Facebook and/or Myspace, the photos are very small compared to other Windows users. Is there anything that can be done about this? Wheelybin92

  • Getting Error "Posting can't be made in period ...... and ......"

    Hi , I am getting an error like "posting can't be made for period....." while posting a purchase Order receipt. As per help I need to open required periods in finance and also need to check Posting period in Material master. Could anyone pls help by

  • Is there anywhere to report scam emails?

    I received an email  stating I had an invoice for a purchase £28.99 that I didn't make, the link took me to an official looking site, but looking further into it the site I realised it was not secure. I know others won't look into it as much as I did