How to use OO40 to read geometry objects ??????????

How to use OO4O to read & write geometry objects?

What is OO4O ?
Joel P�rez

Similar Messages

  • How to use Jco to read a transparent table?

    For example I want to use java to read table T002,
    I can use Jco, but does anybody know how to use Jco to read a data table?
    Best regards,
    Lament

    Hi,
    if its exposed Using RFC you can use JCo. Other wise you could give a try accessing it using JDBC.
    Regards
    Ayyapparaj

  • How to use ADO(Microsoft ActiveX Data Objective 2.8 Library) to execute the store procedure of database in SQL server

    how to use ADO(Microsoft ActiveX Data Objective 2.8 Library) to execute the store procedure of database in SQL server?
    Does any body can tell me about this?
    thanks
    [email protected]

    Hi 
    Did you succeed to execute the procedure?
    How ?
    Thanks
    Shimon Zerbib

  • How to use ThreadPoolExecutor / ArrayBlockingQueue with event objects

    I am having some trouble figuring out how to use the new java.util.concurrent library for a simple thread pool that has custom threads pulling off event objects from a queue.
    I started with this kind of code below, which I know is not right but am having trouble seeing the correct approach. Any help is appreciated. Thank You!
    -Paul
    public class testThreadPool {
    public static void main( String [] args ) {
    //work queue actaully only takes runnables,
    //but I need to add my event objects to this queue ??
    ArrayBlockingQueue<Runnable> workQueue = new ArrayBlockingQueue<Runnable>(20);
    ThreadPoolExecutor pool = new ThreadPoolExecutor(10,//pool size
    20,//max pool size
    1,
    TimeUnit.SECONDS,
    workQueue);//the work queue
    //this will ensure that the pool executor creates worker
    //threads of type MyThreadWorker
    pool.setThreadFactory(new MyThreadFactory());
    pool.prestartAllCoreThreads();
    //throw some events on the queue and let the pool workers
    //start to execute with the given event object
    workQueue.add(MyEvent);
    workQueue.add(AnotherEvent);
    class MyThreadFactory implements ThreadFactory {
    public Thread newThread(Runnable runnable) {
    return new (Thread)MyThreadWorker();
    class MyThreadWorker implements Runnable {
    private boolean m_run = true;
    public void run(){
    Object obj;
    while (m_run) {
    obj = null;
    //get the event object from the blocking queue
    try {
    obj = workQueue.take();
    } catch (InterruptedException e) {
    if ( obj == null ) continue;
    if ( obj == null ) continue;
    if (obj instanceof MyEvent) {
    //do this
    } else if (obj instanceof AnotherEvent) {
    //do this
    public void stopRunning(){
    m_run = false;
    this.interrupt();
    }

    What database and connection type are you using? Are you connecting the report directly to the database, or trying to assign the datasource to object data?
    It sounds like you might be trying to use a linked list, collection or other C# construct to pass your data in. This currently isn't supported by the Crystal Reports SDK. You can use a DataSet or a DataTable, and possibly also an IDataReader depending on which version of Crystal Reports you're referencing in your project. Of course you can also connect directly to the database, even if the database isn't on the same machine as the application.
    The way to show master records with detail information is through the use of subreports and linked subreport parameters. Linked subreports take their parameter value from a record in the main report, so that only the data appropriate to that master record is displayed. The guys over in the [report design|SAP Crystal Reports; forum can help you out with this if you have questions on the specifics.

  • How to use multiple visa read in one program

    hi
    i am working at Hameg HM8143 power supply i want to measure voltage and current simultaneiously and use the measured values for further calculations. for this i used two visa read blocks.
    >>>>>>the measured values are shown in the same visa read string however i want it to be shown sepetately,
    >>>>>>One of the VISA read block gives error. so i want to know how to use VISA read to get current and voltage simultaneously in seperate strings
    >>>>>>than how to convert strings to numbers  for using them for my calcultions.
    i am attaching screen shot as well
    Attachments:
    screenshot.JPG ‏164 KB

    you can not use a single serial to send 2 commands simultaniously?
    There is a single serial line so one command has to be before another.  This doesnt mena that you can not read from 2 seperate threads but will have to ensure that there is a locking mechanism to make sure that your queries are atomic.  In labview encapsulating all communications can be done with an action engine which will allow for concurrent execution with automatic blocking of your resource (serial device).
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • How to use a loop for a object

    Hi, All
    I have a procedure that needs a collection to pass in. The pass_in collection has multiple records with multiple fields, so I guess I need a loop for each record.
    How to assign each record of multiple fields to each corresponding local variables?
    Thanks In advance
    T_Object is a table object
    T_ProfileInfo is a collection
    procedure P_Updateprofile(UserId in number, NewProfileInfo in T_ProfileInfo) as
    V_B_ID number;
    V_A_ID number;
    V_Profile      T_ProfileInfo;     
    begin
         V_Profile := NewProfileInfo;
         --use the loop for each records
    FORALL i IN V_Profile.FIRST..V_Profile.LAST
    -- assign each value to the local variables
    -- I got error here. ideally I want to assign each record to the local variables
         select B_ID, A_ID
         into V_B_ID, V_A_ID
         from table(V_Profile(i));
         -- insert the record into the table
         INSERT INTO PROFILE
         VALUES (UserId, V_B_ID, V_A_ID);
         commit;
    end;

    You don't say which version of the database you are using. Oracle extended the collections functionality in 9.2....
    Cheers, APC
    SQL> CREATE OR REPLACE PACKAGE t1_utl AS
      2      TYPE rt_t1 IS TABLE OF t1%ROWTYPE;
      3      FUNCTION gen_t1 (p1 IN NUMBER) RETURN rt_t1;
      4      PROCEDURE pop_t1 (t1rows IN rt_t1);
      5  END t1_utl;
      6  /
    Package created.
    SQL> CREATE OR REPLACE PACKAGE BODY t1_utl AS
      2      FUNCTION gen_t1 (p1 IN NUMBER) RETURN rt_t1
      3      IS 
      4          CURSOR cur (pn NUMBER) IS
      5              SELECT a12.NEXTVAL, col1, col2, rownum AS rn, substr(col3,30), sysdate
      6              FROM t2
      7              WHERE rownum <= pn;
      8          return_value rt_t1;
      9      BEGIN
    10          OPEN cur(p1);
    11          LOOP
    12              FETCH cur BULK COLLECT INTO return_value LIMIT 100;
    13              EXIT WHEN cur%NOTFOUND;
    14          END LOOP;
    15          RETURN return_value;
    16      END gen_t1;
    17      PROCEDURE pop_t1 (t1rows IN rt_t1) IS
    18      BEGIN
    19          FORALL indx IN t1rows.FIRST .. t1rows.LAST
    20              INSERT INTO t1
    21                VALUES t1rows (indx);
    22      END pop_t1;
    23  END t1_utl;
    24  /
    Package body created.
    SQL> SELECT * FROM t1
      2  /
    no rows selected
    SQL> DECLARE
      2      x t1_utl.rt_t1;
      3  BEGIN
      4      x := t1_utl.gen_t1(2);
      5      t1_utl.pop_t1(x);
      6  END;
      7  /
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM t1
      2  /
          COL1       COL2       COL3       COL4 COLA
    COLD
            56     165765      87979          1
    11-AUG-04
            57       3128    8217220          2
    11-AUG-04
    SQL>

  • Question on how to use a variable in report object's horizontal formula to shift back and forth at refresh interval.

    Hello All;
    I have an SSRS Report that displays some slider objects. The report auto-refreshes every 5 minutes.
    This report is displayed on a big screen TV and I want to shift the images back and forth every time it refreshes to prevent possible burn-in on the screen.
    I see you can use a formula on the Horizontal position of objects, and I think a variable that gets added 10 and then subtracted by 10 every refresh could be used to display the objects in different positions each iteration, but I don't know how to do that
    in SSRS. I have read up on variables, and I think I need a global variable, but not sure how to update it on each refresh iteration.
    I read the links on using Silverlight to shift things, but that adds a whole other level of complexity.
    I could even do something in the DB and then pull that into the formula field if needed.
    Thanks in advance.
    George Hicks

    Hello All;
    I have an SSRS Report that displays some slider objects. The report auto-refreshes every 5 minutes.
    This report is displayed on a big screen TV and I want to shift the images back and forth every time it refreshes to prevent possible burn-in on the screen.
    I see you can use a formula on the Horizontal position of objects, and I think a variable that gets added 10 and then subtracted by 10 every refresh could be used to display the objects in different positions each iteration, but I don't know how to do that
    in SSRS. I have read up on variables, and I think I need a global variable, but not sure how to update it on each refresh iteration.
    I read the links on using Silverlight to shift things, but that adds a whole other level of complexity.
    I could even do something in the DB and then pull that into the formula field if needed.
    Thanks in advance.
    George Hicks

  • How to use data sets with smart objects?

    Hi,
    I have a psd of some mock-up boxes, and I want to apply different text to multiple versions. The solution here: http://helpx.adobe.com/photoshop/using/creating-data-driven-graphics.html is good, but doesn't seem to work with smart objects?
    The file that I have has the box label as a smart object (which opens as a psb). How could I apply a data set to that, and have it pump out multiple jpegs?
    If I apply the data set to the psb layers, then go back to the main image, I cannot export the whole complete picture anymore.
    Thanks!

    What database and connection type are you using? Are you connecting the report directly to the database, or trying to assign the datasource to object data?
    It sounds like you might be trying to use a linked list, collection or other C# construct to pass your data in. This currently isn't supported by the Crystal Reports SDK. You can use a DataSet or a DataTable, and possibly also an IDataReader depending on which version of Crystal Reports you're referencing in your project. Of course you can also connect directly to the database, even if the database isn't on the same machine as the application.
    The way to show master records with detail information is through the use of subreports and linked subreport parameters. Linked subreports take their parameter value from a record in the main report, so that only the data appropriate to that master record is displayed. The guys over in the [report design|SAP Crystal Reports; forum can help you out with this if you have questions on the specifics.

  • How to use a Logger for programm object

    Hello,
    we developed some functionality using BO Enterprise SDK and place it in a Porgram Object that is to be added to BO server.
    As far as we recognized every System.out.println() is wirtten into the result - txt of a program object run.
    How can we implement logging in that program object, and there may any log be written ?
    Tanks Johannes

    found not input on this - not solved

  • How to use SPEL for Dynamic View Objects?

    Hi Gurus,
    In Benefits Self Service particularly in the Designate Beneficiaries page, we have a requirement to set the row for Self designation as Read Only. What this means for any plan that you're eligible and that requires beneficiary designation, you are not allowed to designate yourself. Unfortunately this is an intended functionality and the only way to achieve our requirement is thru Personalization. I was able to accomplish this successfuly thru the SPEL functionality. However the view object corresponding to each plan that requires beneficiary designation is somewhat dynamic. For example, Plan A corresponds to BeneficiaryPeopleVO1, Plan B corresponds to BeneficiaryPeopleVO2, Plan C corresponds to BeneficiaryPeopleVO3, etc. The Personalization Page only allows me to use the SPEL for only one view object at a time. So if an employee is eligible for 3 plans that require beneficiary designation and my SPEL points to BeneficiaryPeopleVO1, it will only set the Read Only in Plan A. Plan B and Plan C would still allow self designation. Is there a way I could use the SPEL to work for all View Objects?
    Thanks,
    Ronaldo

    jeanluca wrote:
    I've seen things like this in scripting languages, so I was wondering if things like this are possible in java. Here is an not working example:
    Is something like this possible ?AFAIK, it is only possible in a very limited way as noted above and is nearly always not recommended and definitely not necessary. The variable name has little importance, but OTOH the object reference has great importance. Instead learn about arrays, Lists, and Maps.

  • Error SCardConnect return code = 80100009 / How to use another SC reader?

    Hello,
    I have 2 card readers connected to my PC. One for harddrive encryption which is part of our internal security and another one for my development (Gemplus GemPC433-SL7). I have installed the OpenCard framework for the first time on my PC because I would like to write a small SmartCard Client application reading some data from a file stored in a smart card.
    My problem is that I would like to use the Gemplus card reader to do this but when I start the batch "GetSmartCard.bat" it seems that it is trying to read the card from the smartcard reader used for my harddrive encryption. Then I get the error PC/SC Error SCardConnect return code = 80100009.
    Can you please tell me how can I force OCF to use the other card reader (GemPC433-SL7)?
    Thanks in advance for your replies.
    Alain

    I managed to get the Gemplus terminal by using the following code. I can detect is the card is inserted by using "terminal.isCardPresent(0);" but when I execute the line "SmartCard sc = SmartCard.waitForCard(cr);"
    I get the error : "opencard.core.terminal.CardTerminalException: Pcsc10CardTerminal: PCSC Exception in method SCardGetStatusChange: error executing SCardGetStatusChange
    return code = 8010002e"
    package com.hitec.chipandpin;
    import opencard.core.service.SmartCard;
    import opencard.core.service.CardRequest;
    import opencard.opt.iso.fs.FileAccessCardService;
    import opencard.opt.iso.fs.CardFile;
    import opencard.core.terminal.CardTerminal;
    import opencard.core.*;
    import java.io.*;
    import opencard.core.terminal.*;
    import opencard.core.service.*;
    import opencard.core.util.*;
    import java.util.Enumeration;
    public class InitFile {
      public static void main(String[] args)
        System.out.println("initializing file...");
          try {
          // initialize framework
            SmartCard.start();
          // get the enumeration of presently registered card terminals
            Enumeration terminals = CardTerminalRegistry.getRegistry().getCardTerminals();
            CardTerminal terminal = null;
            while (terminals.hasMoreElements()) {
              terminal = (CardTerminal) terminals.nextElement();
              if (terminal.getName().indexOf("Gemplus GemPC433") != -1) {
                //Gemplus terminal found
                break;
            // wait for a smartcard with file access support
            CardRequest cr = new CardRequest(CardRequest.ANYCARD , terminal, FileAccessCardService.class);
            SmartCard sc = SmartCard.waitForCard(cr);
            FileAccessCardService facs = (FileAccessCardService)sc.getCardService(FileAccessCardService.class, true);
            CardFile root = new CardFile(facs);
            CardFile file = new CardFile(root, ":c009");
            String entry = args[0].replace(':', '\n');
            byte[] bytes = entry.getBytes();
            int length = bytes.length;
            byte[] data = new byte[file.getLength()];
            if (data.length < length) {
              length = data.length;
            System.arraycopy(bytes, 0, data, 0, length);
            // write the data to the file
            facs.write(file.getPath(), 0, data);
            System.out.println(entry);
          catch (Exception ex) {
            ex.printStackTrace(System.err);
    finally { // even in case of an error...
          try {
            SmartCard.shutdown();
          } catch (Exception e) {
            e.printStackTrace(System.err);
        System.exit(0);
    }Can anyone of you help me to solve this problem?
    Thanks in advance.
    Alain.

  • How to use LDB PNP with ABAP objects in a program

    Hello,
    I am wondering if anybody has used the HR logical database(LDB) PNP with user defined ABAP objects in a program? I am using the FM- <b>LDB_PROCESS</b> but its not working. Also assigning PNP in the attributes section of the program -- so that I can use predefined fields from the LDB and then invoking the FM doesn't work -- throwing 'Logical database already active' error.
    I suppose even with the ABAP objects and the new FM -- I should still be able to utilize the pre-defined fields of the PNP database -- and also the built in authorizations. I cannot use GET PERNR and REJECT as they give errors. I understand that the use of HR-macros (RP-PROVIDE-FROM-LAST and et al.) are not allowed as they use the table work area -- which is not allowed in ABAP-OOPS.
    I would really appreciate if anyone could show me some insight regarding this. Thank you.
    Kshitij R. Devre

    Hi Kshitij
    It would be really good if we could use both together. But as I know, it is not possible. "GET pernr." is an event-like loop statement and so cannot be used in OO context. And I guess, the same restriction holds for the "LDB_PROCESS" since it uses LDB-specific processing.
    What I suggest you is to use standard and BAPI functions.
    Sorry for giving bad news...
    *--Serdar

  • Web service proxy - how to use server side in/out objects

    We have logic in oracle database. We have pl/sql api with oracle object types as in/out parameters. On server side we have pojo classes with method to convert from/to sql structs, arrays.
    pl/sql apis are exposed as web services.
    When I create web service proxy, all required pojo classes are created from wsdl on client side.
    Currently we are also writting client part of the code(where we also have oracle database and we want to reuse server pojos). Server pojo classes are in separate jar file and used also on a client side.
    Is it possible to tell jdeveloper when creating web service proxy, to not create client side pojos, exception classes, ... , but use those from jar file.
    Currently I just copy server pojo over generated client ones, make some modifications and it works. But each time I regenerate web service proxy I have to do this step manually.
    Edited by: zgrega on Sep 24, 2010 7:43 AM
    Edited by: zgrega on Sep 24, 2010 7:47 AM

    best is to wrap the generated WS proxy in a JavaBean. This way you can create the exception handling once and apply it to all uses of the WS proxy by overriding the generated code
    Frank

  • How to use bind parameter in view object

    in my view object has parameter as below
    where :organization_id IS NULL
    :organization_id parameter get value from LOV
    I can run the page but it show following error :
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT hou.name organization_name
    ,hapf.name position_name
    ,hapf.attribute1 position_fund
    ,pg.name grade_name
    ,pbd.budget_detail_id
    ,hapf.position_id
    ,pbd.budget_version_id pbd_budget_version_id
    ,pbv.budget_version_id pbv_budget_version_id
    ,'Y' VIEW_DETAIL
    ,'Y' VIEW_DETAIL_OCC
    ,greatest(hapf.effective_start_date, pbv.date_from) effective_date
    FROM pqh_budget_details pbd
    ,hr_all_positions_f hapf
    ,hr_all_organization_units hou
    ,per_grades pg
    ,pqh_budget_versions pbv
    WHERE pbd.budget_version_id = pbv.budget_version_id
    AND pbd.position_id = hapf.position_id
    AND hapf.effective_end_date = hr_general.end_of_time
    AND hou.organization_id = hapf.organization_id
    AND pg.grade_id = hapf.entry_grade_id
    AND EXISTS (
    SELECT 'X'
    FROM hr_all_positions_f hapf1
    WHERE hapf1.position_id = hapf.position_id
    AND hapf1.availability_status_id = 1
    AND (pbv.date_from BETWEEN hapf1.effective_Start_date AND hapf1.effective_end_date
                        OR
                   hapf1.effective_Start_date BETWEEN pbv.date_from AND pbv.date_to))
    and :gl_organization = 10)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01008: not all variables bound
    Thank you very much

    Is it a seeded view or a custom view? Ideally, in OAF you do parameter binding in the style
    organization_id = :1
    Also make sure to call setWhereClauseParams(null) on your view object before going for binding.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • String contains class name: how to use it for creating new objects

    Hi All
    I've seen things like this in scripting languages, so I was wondering if things like this are possible in java. Here is an not working example:
    String s = "MyClass" ;
    MyClass mc = new s() ; // or: s mc = new s() ;
    if ( mc instanceof s ) { ..... }
    Is something like this possible ?
    Thnx in advance
    LuCa

    jeanluca wrote:
    I've seen things like this in scripting languages, so I was wondering if things like this are possible in java. Here is an not working example:
    Is something like this possible ?AFAIK, it is only possible in a very limited way as noted above and is nearly always not recommended and definitely not necessary. The variable name has little importance, but OTOH the object reference has great importance. Instead learn about arrays, Lists, and Maps.

Maybe you are looking for