Need to Store Infinite Tree in a single table

Hi,
I need to create infinite tree and also need to store it into a single table. I will perform operations like node deletion,movement etc.. according to the operation my tree should get updated.Can anyone please give me any suggestion??
Thanks in Advance,
Sumeet Gupta

Hi,
Not much to go on, but this table can hold an infinite tree. Work from that.
SQL> create table tree (node number(15) not null, parent_node number(15))
Table created.
SQL> alter table tree add constraint tree_pk primary key (node)
Table altered.
SQL> alter table tree add constraint tree_tree_fk foreign key (parent_node) references tree (node)
Table alteredEdit:
If you are not already familar with hierarchial queries, I suggest you look here:
[Hierarchial query|http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_10002.htm#sthref9434]
Regards
Peter
Edited by: Peter on Mar 3, 2009 7:35 AM

Similar Messages

  • Problem with store ResultSet and show result in table

    Hi, I'm kind of new in ADF, I need to store ResultSet and show result in table-component. I have two problems:
    1) I get my ResultSet by calling callStoredProcedure(...) and this returns actually ref_cursor as ResultSet.
    When I try to println() contains of this result set in this method - it works OK (commented part),
    but when I want to println() somewhere else (eg. in retrieveRefCursor() method) it doesn't work.
    The problem is that the scrollability of the ResultSet is lost - it becomes a TYPE_FORWARD_ONLY ResultSet.
    Is there any way to store data from ref_cursor for a long time?
    2) My second problem is "store any result set and show this data in table". I have tried use method storeNewResultSet() but
    without result (table contains only "No rows yet" and everything seems to be OK - no exception, no warning, no error...).
    I have tried to call this method with ResultSet from select on dbs (without resultSet as ref_cursor ) - no result with createRowFromResultSet(),
    storeNewResultSet(), setUserDataForCollection()...
    I've tried a lot of ways to do this, but it doesn't work. I really don't know how to make it so it can work.
    Thanks for your help.
    ADF BC, JDev 11.1.1.0
    This is my code from ViewObjectImpl
    package tp.model ;
    import com.sun.jmx.mbeanserver.MetaData ;
    import java.sql.CallableStatement ;
    import java.sql.Connection ;
    import java.sql.PreparedStatement ;
    import java.sql.ResultSet ;
    import java.sql.ResultSetMetaData ;
    import java.sql.SQLException ;
    import java.sql.Statement ;
    import java.sql.Types ;
    import oracle.jbo.JboException ;
    import oracle.jbo.server.SQLBuilder ;
    import oracle.jbo.server.ViewObjectImpl ;
    import oracle.jbo.server.ViewRowImpl ;
    import oracle.jbo.server.ViewRowSetImpl ;
    import oracle.jdbc.OracleCallableStatement ;
    import oracle.jdbc.OracleConnection ;
    import oracle.jdbc.OracleTypes ;
    public class Profiles1ViewImpl extends ViewObjectImpl {
        private static final String SQL_STM = "begin Pkg_profile.get_profile_list(?,?,?,?);end;" ;
        public Profiles1ViewImpl () {
        /* 0. */
        protected void create () {
            getViewDef ().setQuery ( null ) ;
            getViewDef ().setSelectClause ( null ) ;
            setQuery ( null ) ;
        public Connection getCurrentConnection () throws SQLException {
            // Note that we never execute this statement, so no commit really happens
            Connection conn = null ;
            PreparedStatement st = getDBTransaction ().createPreparedStatement ( "commit" , 1 ) ;
            conn = st.getConnection () ;
            st.close () ;
            return conn ;
        /* 1. */
        protected void executeQueryForCollection ( Object qc , Object[] params , int numUserParams ) {
            storeNewResultSet ( qc , retrieveRefCursor ( qc , params ) ) ;
            // callStoredProcedure ( qc , SQL_STM ) ;
            super.executeQueryForCollection ( qc , params , numUserParams ) ;
        /* 2. */
        private ResultSet retrieveRefCursor ( Object qc , Object[] params ) {
            ResultSet rs = null ;
            rs = callStoredProcedure ( qc , SQL_STM ) ;
            return rs ;
        /* 3. */
        public ResultSet callStoredProcedure ( Object qc , String stmt ) {
            CallableStatement st = null ;
            ResultSet refCurResultSet = null ;
            try {
                st = getDBTransaction ().createCallableStatement ( stmt , 0 ) ; // call 
                st.setObject ( 1 , 571 ) ; //set id of my record to 571
                st.registerOutParameter ( 2 , OracleTypes.CURSOR ) ; // my ref_cursor
                st.registerOutParameter ( 3 , Types.NUMERIC ) ;
                st.registerOutParameter ( 4 , Types.VARCHAR ) ;
                st.execute () ; //executeUpdate
                System.out.println ( "Numeric " + st.getObject ( 3 ) ) ;
                System.out.println ( "Varchar " + st.getObject ( 4 ) ) ;
                refCurResultSet = ( ResultSet ) st.getObject ( 2 ) ; //set Cursoru to ResultSet
                //   setUserDataForCollection(qc, refCurResultSet); //don't work
                //   createRowFromResultSet ( qc , refCurResultSet ) ; //don't work
                /* this works but only one-time call - so my resultSet(cursor) really have a data
                while ( refCurResultSet.next () ) {
                    String nameProfile = refCurResultSet.getString ( 2 ) ;
                    System.out.println ( "Name profile: " + nameProfile ) ;
                return refCurResultSet ;
            } catch ( SQLException e ) {
                System.out.println ( "sql ex " + e ) ;
                throw new JboException ( e ) ;
            } finally {
                if ( st != null ) {
                    try {
                        st.close () ; // 7. Close the statement
                    } catch ( SQLException e ) {
                        System.out.println ( "sql exx2 " + e ) ;
        /* 4. Store a new result set in the query-collection-private user-data context */
        private void storeNewResultSet ( Object qc , ResultSet rs ) {
            ResultSet existingRs = getResultSet ( qc ) ;
            // If this query collection is getting reused, close out any previous rowset
            if ( existingRs != null ) {
                try {
                   existingRs.close () ;
                } catch ( SQLException s ) {
                    System.out.println ( "sql err " + s ) ;
            setUserDataForCollection ( qc , rs ) ; //should store my result set
            hasNextForCollection ( qc ) ; // Prime the pump with the first row.
        /*  5. Retrieve the result set wrapper from the query-collection user-data      */
        private ResultSet getResultSet ( Object qc ) {
            return ( ResultSet ) getUserDataForCollection ( qc ) ;
        // createRowFromResultSet - overridden for custom java data source support - also doesn't work
       protected ViewRowImpl createRowFromResultSet ( Object qc , ResultSet resultSet ) {
            ViewRowImpl value = super.createRowFromResultSet ( qc , resultSet ) ;
            return value ;
    }

    Hi I have the same problem like you ...
    My SQL Definition:
    CREATE OR REPLACE TYPE RMSPRD.NB_TAB_STOREDATA is table of NB_STOREDATA_REC
    CREATE OR REPLACE TYPE RMSPRD.NB_STOREDATA_REC AS OBJECT (
       v_title            VARCHAR2(100),
       v_store            VARCHAR2(50),
       v_sales            NUMBER(20,4),
       v_cost             NUMBER(20,4),
       v_units            NUMBER(12,4),
       v_margin           NUMBER(6,2),
       v_ly_sales         NUMBER(20,4),
       v_ly_cost          NUMBER(20,4),
       v_ly_units         NUMBER(12,4),
       v_ly_margin        NUMBER(6,2),
       v_sales_variance   NUMBER(6,2)
    CREATE OR REPLACE PACKAGE RMSPRD.NB_SALES_DATA
    AS
    v_sales_format_tab   nb_tab_storedata;
    FUNCTION sales_data_by_format_gen (
          key_value         IN       VARCHAR2,
          l_to_date         IN       DATE DEFAULT SYSDATE-1,
          l_from_date       IN       DATE DEFAULT TRUNC (SYSDATE, 'YYYY')
          RETURN nb_tab_storedata;
    I have a PLSQL function .. that will return table ..
    when i use this in sql developer it is working fine....
    select * from table (NB_SALES_DATA.sales_data_by_format_gen('TSC',
                                        '05-Aug-2012',
                                        '01-Aug-2012') )
    it returning table format record.
    I am not able to call from VO object. ...
    Hope you can help me .. please tell me step by step process...
    protected Object callStoredFunction(int sqlReturnType, String stmt,
    Object[] bindVars) {
    System.out.println("--> 1");
    CallableStatement st = null;
    try {
    st = getDBTransaction().createCallableStatement("begin ? := " +"NB_SALES_DATA.sales_data_by_format_gen('TSC','05-Aug-2012','01-Aug-2012') ; end;", 0);
    System.out.println("--> 2");
    st.executeUpdate();
    System.out.println("--> 3");
    return st.getObject(1);
    catch (SQLException e) {
    e.printStackTrace();
    throw new JboException(e);

  • Need help. Need to store single key for 2 values

    Hi,
    I need to store 2 value objects with only one key value. How do I do that?

    Use an array of length 2 or a class like this:class Pair {
        private Object a;
        private Object b;
        public Pair (Object a, Object b) {
            this.a = a;
            this.b = b;
        public Object getA () {
            return a;
        public Object getB () {
            return b;
    }Kind regards,
    Levi

  • Help needed in building a tree without duplicatin​g the nodes

    Iam trying to construct a tree, ID name as the parent node and channel name & channel values as its corresponding child nodes.
    I had constructed the tree, but the problem i have is with interfacing that with in my  main program. In the main program say suppose I have 5 Id's, each Id has some X number of channel's. And each channel has a value.
    Each Id is indexed and passed to the for loop. And since this for loop is inside the while loop each ID will be executed for every 5 iterations.
    Id, channel names will be constant each time it gets executed, but the channel value's will be updated during run time.
    If I directly feed the Id, channel names and values, replacing the constants in the vi, the tree is duplicating the messages, each time a ID is received inside the for loop, it is creating a new parent and child nodes.
    Please help me in fixing this issue, and constructing the tree, where the ID and channel names are not not duplicated.For better understanding Iam attaching a snapshot shot, which tells at what point the ID, channel name array and value is received.
    Attachments:
    channel_info.vi ‏31 KB
    channel.png ‏60 KB

    Caleb Harris, the arbitration ID is not the same each time. Cluster has several different id's, this can be seen in the attached screen shot. Attached sreen shot shows the cluster information,  a sample ID unbundled from the array and the list of channels in that Arbitration ID. I got an idea how to construct the tree but for that,
    1)Need to store all this arbitartion Id's,channel's , and values in 3- different arrays (Channel array and the values array must have the same size).
    2)Channel array must be in synchronus with the Value array say like the first index value of the value_array  should represent the value of the first element of the channel    
       array, similarly the second index value of the value_array  should represent the value of the second element of the channel array and so on.
    3) When ever the channel value gets updated, that particular element of the value array should be updated.
    If I can do this 3- steps I think I can succesfully build a tree. Can you please take a look at the snapshot and help me out in doing this.
    Attachments:
    Cluster Image.PNG ‏67 KB

  • Need to store multiple xml files as each record in oracle table

    Hi All,
    I have a set of XML files (say 20 xml files). I need to store the enitire content of each file as a string into the oracle table.
    Do we have any PL/SQL procedures which will do this job. I will pass the path of the directory to the procedure, so that it takes all the xml files and store it in the table.
    After that i need to remove some tags of the xml. so it will be better if we store records as a string rather than of xmltype.
    Please help in achieving this.
    Thanks in Advance,
    Ram Mohan T

    Hi Gyanchand,
    I have wrote an article BizTalk Server 2010: Grouping
    and Debatching/Splitting Inbound Messages (TypedPolled) from WCF-SQL Adapter  which is for SQL, but yes same can be done with Oracle.
    If grouping is not required then, you can overlook it and apply debatching only.
    Maheshkumar
    S Tiwari|User
    Page|Blog|BizTalk
    Server: Multiple XML files to Single FlatFile Using File Adapter

  • How to store 2C array to a singl binary file

    Hi
    I have to store multiple waveforms output that is each 1D array to a single binary file. how do i do this.
    i can store 1D array to binary file and retrieve it by reading the binary file and plotting the waveform. but i am not able to store 2D array to the single file. how do store many 1D array in one binary file,
    Thank you. Hema

    (We would also need to know your LabVIEW version. If you have a very old version, things would be quite different.)
    As Smercurio_fc already mentioned, the option to "prepend array size" would make things much easier here, because then you would read it as a single 2D array.
    Here's how that would look like. This is probably the recommended solution, just for simplicity reasons.
    Not prepending the size is more useful if you write the data in increments, but later want to read it as one.
    Message Edited by altenbach on 11-15-2008 09:02 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    SaveRestore2D.png ‏21 KB

  • How to store a Tree Structure in Memory

    hi all!
    I wanted to show a Org Chart on web page. Recursion is used for constructing.Based on B/S architecture,(get Org from DataBase)this is not a effective way!! How can I store a tree structure(Org object are stored as TreeNodes) in memory for recursion??? Thanks!

    My English is too poor! So I posted the interfaces blow.
    I used these interface to construct a org tree(which will displyed in browser ),but it's
    efficiency is low. (recursion)Because the org infor. are stored in database(thounds of
    orgs are stored).(I think this is the bottleneck)
    Now I want to store the tree structure in memeory! Then jsp page only needs to build the tree
    from memory!Needn't make a DbConnection every time. A timer will updated tree org(in memory)
    automatic
    So I want to use a N dimensions array to store the data (N is the number of orgs)
    but I don't konw how to make a compositor for sorting!
    after sorting .look at the matrix I poster blow(eg.)
    Matrix:(a,b,c,d are orgs 1 mean's is parents 0 means not, this is a Sparse Set huh? ^_^ )
    * a b c d
    a 0 0 0 0
    b 1 0 0 0
    c 1 0 0 0
    d 0 1 0 0
    Org tree:
    a
    b c
    d
    so O(n(n-1)/2)
    question:
    1)How to sort orgs?
    2)Any good suggestion is wanted!
    Thanks!
    interfaces
    public interface IOrg {             //entity class
    public String getName(); //get Org Name
    public String getId(); //get Org Id
    public String getLevel(); //get Org Level (as String)
    public String getParentId(); //get parent org Id
    public String getDescription(); //get the description
    public boolean isActive(); //is Org active
    Org Factory
    import java.util.*;
    * Description of the Interface
    *@author ymruan
    *@created 2002��1��4��
    public interface IOrgFactory {
    public IOrg getOrgById(String orgId);
    public IOrg getOrgByObjId(String objId);
    public Enumeration getManagers(String orgId);
    public Enumeration getManagers(IOrg org);
    public Enumeration getEmployees(String orgId);
    public Enumeration getEmployees(IOrg org);
    public Enumeration getOrgsByLevel(String level);
    public Enumeration getAllOrgs();
    public Enumeration getOrgsLikeName(String name);
    public IOrg getParentOrg(IOrg org);
    public IOrg getRootOrg(); //get Root Org
    public Enumeration getChildOrgs(IOrg org); //get Ogg's children
    public boolean hasSubOrgs(IOrg org); // is leaf
    public boolean hasActiveSubOrgs(IOrg org);
    public boolean isInOrg(String orgId, String empId);
    public boolean hasEmployees(IOrg org);

  • Help needed in constructing a tree

    Help needed in constructing a tree. I was wondering if some one can suggest me how to add messages in the second column for both the parent node and child elements.
    I was able to create a tree succefully, but want to add some description in the second column for the first column elements, for both parent and child elements.
    Please suggest me how to add the arrays to second column for parent and child nodes.
    Solved!
    Go to Solution.
    Attachments:
    Tree_fix.vi ‏15 KB

    The Child Text parameter is the one you are searching for. It accepts a 1D string array for the following columns.
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Do i need app store to back up my apps

    do i need app store to back up my apps

    What do you mean?
    If the apps are still available you can always redownload them by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • I need to store a schema in mds in soa 10g.

    Hi Gurus,
    Kindly help out with the present situation.
    i need to store the schema which is used in different process in the mds in soa 10g. can any one provide some steps or docs related to setting up of mds in soa 10g?
    Help is greatly appreciated.
    Regards,
    Venky.

    As far as I know, there isn't any MDS in SOA 10g. This concept was introduced in 11g version.

  • Need to store multiple session values in flex

    Hi,
         I need to store multiple session values in flex based on the user who logged in.
    For Example, if a user logged in as an administrator and in another windows another user logged in as guest, i need to maintain two seperate session for the two different users.
    Is it possible for maintaining different sessions.
    Expecting your valuable response.
    Thanks
    Jude Paul

    Look at Shared Objects. You can store this information in them by creating a unique object for each type of user.

  • How to store R-tree in Orace?

    Hi,every bady!
    Who knows that how to store R-tree in Orace?In other words,R-Tree is the order stored in memory or a random store?
    any help would be appriciated
    lgs

    from a quick google:
    (Dictionary of Algorithms and Data Structures):
    http://www.itl.nist.gov/div897/sqg/dads/HTML/rtree.html
    Looks Spatial related, ... Indexing of Spatial Data:
    http://download.oracle.com/docs/html/A88805_01/sdo_intr.htm
    "Oracle Spatial lets you use R-tree indexing (the default) or quadtree indexing, or both. Each index type is appropriate in different situations."

  • In full xml i need to extract some portion of xml and i need to store

    Hi this is the xml i will get i need to store from olife tag please suggest some idea how to do
    <TXLife>
    <UserAuthRequest>
    <UserLoginName>UserId</UserLoginName>
    </UserAuthRequest>
    <TXLifeRequest>
    <TransRefGUID>0099962A-BFF3-4761-4058-F683398D79F7</TransRefGUID>
    <TransType tc="186">OLI_TRANS_CHGPAR</TransType>
    <TransExeDate>2008-05-29</TransExeDate>
    <TransExeTime>12:01:01</TransExeTime>
    <InquiryLevel tc="3">OLI_INQUIRY_OBJRELOBJ</InquiryLevel>
    <InquiryView>
    <InquiryViewCode>CU186A</InquiryViewCode>
    </InquiryView>
    <ChangeSubType>
    <ChangeTC tc="32">Update / Add Client Object Information</ChangeTC>
    <!--TranContentCode tc = 1 (Add)
    tc = 2 (Update)
    tc = 3 (Delete)
    -->
    <TranContentCode tc="1">Add</TranContentCode>
    </ChangeSubType>
    <OLifE>
    <SourceInfo>
    <SourceInfoName>Client Profile</SourceInfoName>
    </SourceInfo>
    <Activity id="Act1" PartyID="Party1">
    <ActivityStatus tc="2">In Progress</ActivityStatus>
    <UserCode>123456</UserCode>
    <Opened>2010-08-17</Opened>
    <ActivityCode>CP10001</ActivityCode>
    <Attachment>
    <Description>LastScreenName</Description>
    <AttachmentData>CP Create</AttachmentData>
    <AttachmentType tc="2">OLI_ATTACH_COMMENT </AttachmentType>
    <AttachmentLocation tc="1">OLI_INLINE </AttachmentLocation>
    </Attachment>
    <OLifEExtension VendorCode="05" ExtensionCode="Activity">
    <ActivityExtension>
    <SubActivityCode>CP20001</SubActivityCode>
    </ActivityExtension>
    </OLifEExtension>
    </Activity>
    <Grouping id="Grouping1">
    <Household>
    <EstIncome>90000</EstIncome>
    </Household>
    </Grouping>
    <Party id="Party1">
    <PartyTypeCode tc="1">Person</PartyTypeCode>
    <EstNetWorth>250000</EstNetWorth>
    <LiquidNetWorthAmt>120000</LiquidNetWorthAmt>
    <EstTotAssetsAmt>400000</EstTotAssetsAmt>
    <Person>
    <FirstName>John</FirstName>
    <LastName>Doe</LastName>
    <MarStat tc="1">Married</MarStat>
    <Gender tc="1">Male</Gender>
    <BirthDate>1965-05-07</BirthDate>
    <EducationType tc="3">Associate Degree</EducationType>
    <Citizenship tc="1">USA</Citizenship>
    <NetIncomeAmt>70000</NetIncomeAmt>
    <DriversLicenseNum>D123456789</DriversLicenseNum>
    <DriversLicenseState tc="35">New Jersey</DriversLicenseState>
    <ImmigrationStatus tc="8">Citizen</ImmigrationStatus>
    <DriversLicenseExpDate>2012-05-25</DriversLicenseExpDate>
    <OLifEExtension VendorCode="05" ExtensionCode="Person">
    <PersonExtension>
    <NoDriversLicenseInd tc="0">False</NoDriversLicenseInd>
    </PersonExtension>
    </OLifEExtension>
    </Person>
    <Address>
    <Line1>125 Finn Lane</Line1>
    <City>North Brunswick</City>
    <AddressStateTC tc="35">New Jersey</AddressStateTC>
    <Zip>08902</Zip>
    </Address>
    <Phone>
    <PhoneTypeCode tc="1">Home</PhoneTypeCode>
    <DialNumber>732456789</DialNumber>
    </Phone>
    <Phone>
    <PhoneTypeCode tc="2">Work</PhoneTypeCode>
    <DialNumber>732987654</DialNumber>
    </Phone>
    <FormInstance id="Form1">
    <FormResponse>
    <ResponseText>No</ResponseText>
    <QuestionType tc="1009800001">Is the Client/Owner with an interest in the account either: (A) a senior military, governmental, or political official in a non-U.S. country, or (B) closely associated with or an immediate family member of such official?</QuestionType>
    </FormResponse>
    <FormResponse>
    <ResponseText>Yes</ResponseText>
    <QuestionType tc="1009800005">I am familiar with the product(s) being sold and have determined proper suitability. For deferred variable annuity purchases only: I have reasonable grounds for believing that the recommendations for this customer to purchase/exchange an annuity is suitable on the basis of the facts disclosed by the customer as to his/her investments, insurance products and financial situation and needs.</QuestionType>
    </FormResponse>
    </FormInstance>
    </OLifE>
    </TXLifeRequest>
    </TXLife>
    i need to get output like this
    <OLifE>
    <SourceInfo>
    <SourceInfoName>Client Profile</SourceInfoName>
    </SourceInfo>
    <Activity id="Act1" PartyID="Party1">
    <ActivityStatus tc="2">In Progress</ActivityStatus>
    <UserCode>123456</UserCode>
    <Opened>2010-08-17</Opened>
    <ActivityCode>CP10001</ActivityCode>
    <Attachment>
    <Description>LastScreenName</Description>
    <AttachmentData>CP Create</AttachmentData>
    <AttachmentType tc="2">OLI_ATTACH_COMMENT </AttachmentType>
    <AttachmentLocation tc="1">OLI_INLINE </AttachmentLocation>
    </Attachment>
    <OLifEExtension VendorCode="05" ExtensionCode="Activity">
    <ActivityExtension>
    <SubActivityCode>CP20001</SubActivityCode>
    </ActivityExtension>
    </OLifEExtension>
    </Activity>
    <Grouping id="Grouping1">
    <Household>
    <EstIncome>90000</EstIncome>
    </Household>
    </Grouping>
    <Party id="Party1">
    <PartyTypeCode tc="1">Person</PartyTypeCode>
    <EstNetWorth>250000</EstNetWorth>
    <LiquidNetWorthAmt>120000</LiquidNetWorthAmt>
    <EstTotAssetsAmt>400000</EstTotAssetsAmt>
    <Person>
    <FirstName>John</FirstName>
    <LastName>Doe</LastName>
    <MarStat tc="1">Married</MarStat>
    <Gender tc="1">Male</Gender>
    <BirthDate>1965-05-07</BirthDate>
    <EducationType tc="3">Associate Degree</EducationType>
    <Citizenship tc="1">USA</Citizenship>
    <NetIncomeAmt>70000</NetIncomeAmt>
    <DriversLicenseNum>D123456789</DriversLicenseNum>
    <DriversLicenseState tc="35">New Jersey</DriversLicenseState>
    <ImmigrationStatus tc="8">Citizen</ImmigrationStatus>
    <DriversLicenseExpDate>2012-05-25</DriversLicenseExpDate>
    <OLifEExtension VendorCode="05" ExtensionCode="Person">
    <PersonExtension>
    <NoDriversLicenseInd tc="0">False</NoDriversLicenseInd>
    </PersonExtension>
    </OLifEExtension>
    </Person>
    <Address>
    <Line1>125 Finn Lane</Line1>
    <City>North Brunswick</City>
    <AddressStateTC tc="35">New Jersey</AddressStateTC>
    <Zip>08902</Zip>
    </Address>
    <Phone>
    <PhoneTypeCode tc="1">Home</PhoneTypeCode>
    <DialNumber>732456789</DialNumber>
    </Phone>
    <Phone>
    <PhoneTypeCode tc="2">Work</PhoneTypeCode>
    <DialNumber>732987654</DialNumber>
    </Phone>
    <FormInstance id="Form1">
    <FormResponse>
    <ResponseText>No</ResponseText>
    <QuestionType tc="1009800001">Is the Client/Owner with an interest in the account either: (A) a senior military, governmental, or political official in a non-U.S. country, or (B) closely associated with or an immediate family member of such official?</QuestionType>
    </FormResponse>
    <FormResponse>
    <ResponseText>Yes</ResponseText>
    <QuestionType tc="1009800005">I am familiar with the product(s) being sold and have determined proper suitability. For deferred variable annuity purchases only: I have reasonable grounds for believing that the recommendations for this customer to purchase/exchange an annuity is suitable on the basis of the facts disclosed by the customer as to his/her investments, insurance products and financial situation and needs.</QuestionType>
    </FormResponse>
    </FormInstance>
    </OLifE>
    Edited by: LRAJESH on Oct 21, 2010 1:50 AM

    What have you tried? I know previous links that have been supplied to you on other questions have shown examples of extracting XML fragments from an XML document. Also, which version of Oracle (4 digits).

  • OID - need to store certificates

    Hi,
    For implementing the SSL requirements for the environment, We want to store Certificates in OID. There are certificates for Proxy server, OIM, etc. which we need to store.
    How can this be done ?
    Is this a good practice to do this way ?
    Thanks.

    public static void copyFile(File src, File dst) throws IOException
         InputStream in = new FileInputStream(src);
         OutputStream out = new FileOutputStream(dst);
         byte[] buf = new byte[1024];
         int len;
         while((len = in.read(buf)) > 0)
              out.write(buf, 0, len);
         in.close();
         out.close();               
                         renameFile(dst);  //error is thrown for this line                                          
    public static void renameFile(File[] dst) throws IOException
                        String[] children = new String[dst.length];
                        for (int i=0; i<dst.length; i++)
                                        children[i] = dst.getName();

  • Do I need to store mysql in my dreamweaver folder?

    Do i need to store mysql in my dreamweaver folder or can it be anyway on my hard drive?

    Hi
    MySQL is a database server that should be installed on your computer, and definitely not installed in the dreamweaver folder.
    PZ

Maybe you are looking for

  • Help with exporting from Aperture.

    Hi All, Just uploaded my latest batch of photos, as always i shoot in RAW, normally when exporting so i can transfer to Flickr, the computer resizes and shows as a JPEG (523 gb) this morning it has started exporting as raw files (23 Mg) what have i d

  • LR3 ... How to merge catalogues for LR2 and LR3beta

    OK I have just installed LR3 from a disc and took the option to update my old LR2 catalogue on set up. However, I now have some recent shoot folders that I have only worked on in LR3beta (beta 1 or 2). If I look in MyPhotos/Lightroom folder I have fo

  • Numbers Docs in iCloud?

    I purchased and downloaded Numbers for IOS on my Mac, but I can't get a numbers document to drag into the iCloud browser???  I need help!

  • BO4 - backup .unx locally - best practice?

    Hi, In addition to our standard cms + filestore backups, we wish to backup the new .unx files locally as we do with our .unv files. What is the best way to do this? Understand a .unx composed of the data foundation and business layer and these togeth

  • Dashed Line in Smartform

    Hi, I wanted to know how we can draw a dashed vertical line in smartform.