Is there any API tracing available?

We are using Netscape LDAP JDK to write app programs which interact with
Directory Server (All vendors).
Is there any standard way of turning JDK tracing ON? Any examples will be
great.
Chet

Hi Prathap,
No, there is no Java API specific for RDF functionality available. However, Java client applications can use JDBC to access the RDF store. A partially relevant post is at How do you query Oracle RDF database using Java program? . The JDBC documentation will have detailed documentation on using JDBC.
Code snippets for one way of accessing SDO_RDF_MATCH through Java is below:
<..........>
sbStmt.append("select * from TABLE( ")
.append(" SDO_RDF_MATCH('(?S ?P ?O)',")
.append(" SDO_RDF_Models('")
.append( <model_name> )
.append("'),")
.append("null,null,null))")
.append(" where rownum <= ")
.append(iNumRows)
ResultSet rs = stmt.executeQuery(sbStmt.toString());
while (rs.next()) {
System.out.print("\n");
System.out.print(rs.getString("S"));
System.out.print(" (");
System.out.print(rs.getString("S$RDFVTYP"));
System.out.print(") ");
System.out.print(", ");
System.out.print(rs.getString("P"));
System.out.print(" (");
System.out.print(rs.getString("P$RDFVTYP"));
System.out.print(") ");
System.out.print(", ");
System.out.print(rs.getString("O"));
System.out.print(" (");
System.out.print(rs.getString("O$RDFVTYP"));
System.out.print(") ");
<............>
<...... handling CLOB values that are returned ....>
// read CLOB if applicable
Reader reader = null;
try {
CLOB clob = ((OracleResultSet) rs).getCLOB("O$RDFCLOB");
if (clob == null) {
System.out.print("not a long literal ");
else {
reader = clob.getCharacterStream();
char[] buffer = new char[1024];
// reading 1K at a time (just a demo)
int iLength = reader.read(buffer);
for (int i = 0; i < iLength; i++) {
System.out.print(buffer);
System.out.print(" ...");
finally {
if (reader != null) reader.close();
<..........>

Similar Messages

  • Stock update Update ic_whse_inv  table is there any API is avaible?

    Hi,
    I have to update the Item stock at inventory level based on the Plant.
    ic_whse_inv in this table, In APPS is there any API is available to update the base table/ suggest me is there any other way to update the stock information at inventory level.
    Thanks in advance.
    -- Pavan Kalyan --

    Hi,
    Oracle Apps 11i APIs can be found in [Oracle Integration Repository |http://irep.oracle.com/] website. In R12, Oracle Integration Repository is shipped as part of the E-Business Suite (as a responsibility).
    Please post your question in [SCM - Process Manufacturing (OPM)|http://forums.oracle.com/forums/forum.jspa?forumID=120] forum, you would probably get a better/faster response there.
    Regards,
    Hussein

  • Is there any API available to read drm files in ios devices?

    Hi,
    I am ios developer and trying to read DRM files using my app.
    I want to know is there any API available for the same.
    Thanks in Advance.

    Hi Prathap,
    No, there is no Java API specific for RDF functionality available. However, Java client applications can use JDBC to access the RDF store. A partially relevant post is at How do you query Oracle RDF database using Java program? . The JDBC documentation will have detailed documentation on using JDBC.
    Code snippets for one way of accessing SDO_RDF_MATCH through Java is below:
    <..........>
    sbStmt.append("select * from TABLE( ")
    .append(" SDO_RDF_MATCH('(?S ?P ?O)',")
    .append(" SDO_RDF_Models('")
    .append( <model_name> )
    .append("'),")
    .append("null,null,null))")
    .append(" where rownum <= ")
    .append(iNumRows)
    ResultSet rs = stmt.executeQuery(sbStmt.toString());
    while (rs.next()) {
    System.out.print("\n");
    System.out.print(rs.getString("S"));
    System.out.print(" (");
    System.out.print(rs.getString("S$RDFVTYP"));
    System.out.print(") ");
    System.out.print(", ");
    System.out.print(rs.getString("P"));
    System.out.print(" (");
    System.out.print(rs.getString("P$RDFVTYP"));
    System.out.print(") ");
    System.out.print(", ");
    System.out.print(rs.getString("O"));
    System.out.print(" (");
    System.out.print(rs.getString("O$RDFVTYP"));
    System.out.print(") ");
    <............>
    <...... handling CLOB values that are returned ....>
    // read CLOB if applicable
    Reader reader = null;
    try {
    CLOB clob = ((OracleResultSet) rs).getCLOB("O$RDFCLOB");
    if (clob == null) {
    System.out.print("not a long literal ");
    else {
    reader = clob.getCharacterStream();
    char[] buffer = new char[1024];
    // reading 1K at a time (just a demo)
    int iLength = reader.read(buffer);
    for (int i = 0; i < iLength; i++) {
    System.out.print(buffer);
    System.out.print(" ...");
    finally {
    if (reader != null) reader.close();
    <..........>

  • Is there any API for performing Assembly Completion with LPN

    Hi,
    Is there any API available for performing Assembly Completion with LPN..??
    Thanks and Regards,
    Ramnish.

    We had looked into doing something similar, and this post is the closest we found.
    https://community.qualys.com/thread/11816
    Basically you will need a middle-man between Qualys and ConfigMgr to house the data. This may be a new database, or a whole seperate platform. I expect this could easily be done with SQL and SSRS.
    Also note, database edits to the ConfigMgr database are
    not supported  by Microsoft, I would recommend using a central system to pull data from Qualys and ConfigMgr without modifying either.
    Daniel Ratliff | http://www.PotentEngineer.com

  • Are there any APIs to load FND and other objects

    Hi
    We are having HR2HR configured and running between EBS R12.1.3 and Fusion. But the HR2HR does not bring in data in EBS like in Descriptive Flex Fields (DFF), User Defined Tables (UDT), Extra Information Types (EIT) & Lookups. How can we bring in this data in to Fusion. Are there any APIs? If not what is the Support model from Oracle if we are directly updating the tables?
    Thanks!
    Srinivasa Sunchu

    Happy Camper: Based on doc 1482027.1 in support system:
    DFF is not currently supported by HR2HR.An Enhancement Request (ER) has been logged to request this functionality:
    ER: Bug 12883914 - ER REQUEST - DFF FLEXFIELDS AND EIT'S NEED TO BE INCLUDED IN THE HR2HR AND INTER
    >
    For alternatives and the Support model I do not have answer, will reach out to try to find out.
    Kiran: This is an external forum, so the readers would not have access to internal documentation. Are the HCM scripts available externally i.e. through the support system? If not are there plans for providing them externally ?
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Is there any APIs for FND attachments

    Hi,
    Is there any API for FND Attachments. I would like to load the concurrent output generated as an attachment to the record.
    So I'm planning to write PLSQL to read the file and load in to fnd_lobs. Later I would like this attachment available thru UI.
    Looking for Public or Private APIs to achieve above task.
    Thanks,
    Satya

    Dear,
    I found this very Information Site...
    URL http://www.pvmehta.com/myscript.html
    Hope for future you will get benefit from it...
    Regards,
    Kamran J. Chaudhry.

  • Is there any API to update table IC_WHSE_INV

    Thank You in Advance

    Hi All,
    Is there any API available in Oracle to update the table IC_WHSE_INV

  • Is there any API ( HTTP / WebService ) for listing the objects supported ?

    Hi
    I wish to know if there is some mechanism ( API ) that I can make use of to dynamically get the list of objects ( accounts , leads etc ) supported by Oracle CRM on Demand ?

    How to convert Vector elements into array of objects?
    Is there any API for this?
    For ArrayList class there is Method i.e.
    Object ob[]=arr.toArray();
    But i don't know abt vectors.
    plz give me the example.The toArray() method is available in the List interface. SInce ArrayList and Vector are both implementing classes... they should have this method. In short, the same would work for Vector. Logical, isn't it?
    ***Annie***
    (since when did I start thinking logically...)

  • Is There any API in receivables payment will made against closed invoices ?

    Hi ALL,
    i have requirement as below.
    i am doing AR Invoice Data Migration for Instance 11.5.5 (as a Source Instance) to the new instance R12 (as a target instance).
    Both open and closed invoices will have to be migrated from 11.5.5 to R12 to provide the drill down facility for audit purpose.
    To meet the above requirement all the open and closed invoice will be picked up from 11.5.5 ; and imported into R12..
    Subsequently, full payment will be made in R12 against all closed invoices in 11.5.5 to close those invoices by using any APIs?
    can some one explain is there any API in receivables payment will made against closed invoices.
    Thanks,
    VSR.

    Hi,
    Can you be clear on your question: You want any API to make payment against closed invoices?
    To me, You are making things complex. We can achieve the Migration of Closed invoices using following two procedures:
    Procedure: 1
    Ask Functional Guy to create a Transaction Type 'Closed Invoices' with Open to Receivables Flag not checked. +(You can uncheck Post to GL flag also, if required depending on your migration strategy)+. Status at Transaction Type if taken as 'Closed' it will be appropriate.
    Invoices migrated using this Transaction Type shall not be shown as Outstanding but will be useful for Audit.
    Procedure: 2
    Consider the amount due Original of Closed Invoices and migrate them with the amount as Amount due remaining.
    While migrating populate Receipt Method,Payment Method and Instruments useful for Automatic Receipts.
    Once Create Automatic Receipts Program is run, it will close all these invoices. Note: We require dummy bank here which points to a Clearing account.
    Automatic Receipts program is also an API.
    In the above 2 ways, we are acheiving the Goal by using Functional knowledge rather than Technical. And I think following Functional way is better and less time consuming.
    Please discuss with your Functional consultant if required. You can succeed.
    Regards,
    Sridhar

  • Is there any Function module available for GR IR for purchase order

    Hi
    Is there any function module available in SAP to get the list of Goods Received and Invoice Reciept for a purchase order.
    One way to create a custom fuction to fetch the details from MSEG and BKPF.
    Can somebody suggest a better solution.
    Thanks in advance.
    Ruhi Hira

    Which table in BAPI_PO_GETDETAILS exactly has these information ?
    PO_HEADER_TEXTS
    PO_ITEMS
    PO_ITEM_ACCOUNT_ASSIGNMENT
    PO_ITEM_SCHEDULES
    PO_ITEM_CONFIRMATIONS
    PO_ITEM_TEXTS
    PO_ITEM_HISTORY
    PO_ITEM_HISTORY_TOTALS
    PO_ITEM_LIMITS
    PO_ITEM_CONTRACT_LIMITS
    PO_ITEM_SERVICES
    PO_ITEM_SRV_ACCASS_VALUES
    RETURN
    PO_SERVICES_TEXTS
    EXTENSIONOUT
    NFMETALLITMS
    Regards
    Ruhi Hira

  • Is there any system table available to check no. of entries in the table?.

    Hi
    Is there any system table available to check the no of entries in the table.
    Note : the table may be whether SAP table or Z-table.(All tables)
    Regards
    Raja.

    Hi Raja,
    I don't think so. Instead, try to perform
    SELECT count(*) FROM dbtab.
    ...to get the number of records of the table dbtab.
    I hope this helps. Kind regards,
    Alvaro

  • Is there any API to add and remove certs from acrobat trusted identities?

    Is there any API to add and remove certs from acrobat trusted identities? if this is not possible any work around for this. Please help me

    No, there is not – that would be a security concern.

  • Are there any other templates available besides those that come with numbers?

    Are there any other templates available besides those that come with Numbers?

    Hi David,
    If you have Numbers '09 there is a Checking Register template that might suit.
    Numbers can open Excel templates and documents. Do a web search for checking register spreadsheet.
    Regards,
    Ian.

  • Is there any API for connecting web server and iphone apps

    Hi,
    I have to retrieve data from Web Server and display in my iphone apps. I want to know that is there any API through which i can connect my apps to server and get data.
    One way i know that use NSURLConnection and get XML response and prase it and use it like that.
    So anyone know this?
    Thanks.

    NSURLConnection is straightforward to use. In the mobile world, and especially if you intend to use certain google APIs, I would rather tend to use JSON instead of XML. A great JSON parser for objective-c is here: http://code.google.com/p/json-framework/
    Cheers,
    Marcelo

  • Is there any API's to create requisitions?

    Hi
    Is there any API's to create requisitions?
    Appreciated quick reply
    Regards,
    Ramesh.

    I am currently using a Sinetfactory thirdparty package from JScape for the Secure FTP functionality(FTP over SSH). But Sinetfactory package tranfer rate is much slower than the manual sftp(command-line run in linux server for manual ftp using ssh).
    Since it is very slower than ordinary sftp(ftp over ssh), I thought of using other thirdparty FTP package which supports FTP using ssh port. Can anyone please suggest me a thirdparty package which will has the sftp functionality and with better transfer rate.

Maybe you are looking for

  • ST05: different ways to analyze SQL trace, different authority checks

    Hi there, Here is the issue I faced. I need to analyze SQL statement for example. I can do it two ways: 1) run ST05> Enter SQL statement> Explain or via trace itself: 2) run ST05> Display trace> Explain The thing is that when doing it the second way

  • Cursor on a error-data field in the Selection-Screen

    Hi all, I have a normal selection-screen in which I have 4 select-options. I require that when user enters a wrong data in the 3rd field, the cursor should blink in that field. I tried to use AT SELECTION-SCREEN ON fld  event, but through this, the o

  • No icon or application in Application folder

    I downloaded QT 7.4.5 for my G4 and copied the dmg to an external HD and connected the HD to my G4. I copied the dmg disk to my G4 desktop and installed QT 7.4.5 to my G4. The installation was successful and I restarted. No icon or application is in

  • New DW CS6 Update

    What the hell Adobe? You do this "update" and now my workspace is gone that I custom created. Fine I can fairly easily fix that even though you screwed it up. BUT... But now I look to add items to my Favorites Menu bar and you REMOVED a bunch of item

  • Can't connect to windows sbs 2003 using Leopard...

    Hey there... I'm one of 3 Mac users at our office. We use Windows Small Business Server 2003. Since upgrading to Leopard, I can no longer access the network shared folders. Didn't even think about this when upgrading. Our IT guy is strictly a Windows