How do i store records temporarily

hi,
i am fetching some rows from my database in the java program.
after fetching the records i have to process each row.where do i storethe records temporarily so that i can reuse them later in my program.in oracle this is done by using cursors,what option is available in java.should i use arrays?
pl. help.
dhriti.

If you are using Oracle thin or oci8 driver, you can cursor through the database the same way you have done using other programming languages including PL/SQL. There may be reasons for storing the information the rows in local storage, but in most cases it is not necessary unless it is one or two rows accessed frequently.
If the driver you are using doesn't allow cursor processing, then you can store them in any of a hundred ways. It doesn't really matter as long as the mechanism for storing them is efficient and just as importantly easy for you to code against.
You should use the thin driver whenever possible, it provides the greatest flexibility with the smallest footprint. You can use the oci8 driver if you want maximum performance, but the differences in normal processing are not noticeable.

Similar Messages

  • Regarding how to delete the record in internal table

    Hi experts ,
    how to delete the record in intarnal table after validating the data,
    if record contains invalid fields?
    i am giving my code see this and give me the answer?
    loop at it_data into wa_data .
    Validate  Cost Center
        READ TABLE it_kostl INTO wa_kostl WITH KEY kostl = wa_data-kostl BINARY SEARCH.
        IF sy-subrc NE 0.
          PERFORM update_error_log USING wa_data
                                         text-004.
        ENDIF.
    Validate source file material ( material number )
    loop at it_mara into wa_mara .
      read table it_ausp into wa_ausp with key atwrt = wa_data-i_matnr .
               if sy-subrc NE 0 .
       PERFORM update_error_log USING wa_data
                                           text-002.
    delete it_data-objek .
         else.
      read table it_mara into wa_mara with key  matnr = wa_ausp-objek .
           if sy-subrc EQ 0 .
           wa_data-objek = wa_mara-matnr.
           wa_data-matkl = wa_mara-matkl.
         ENDIF.
         Modify it_data from wa_data  .
      endif.
    *endloop.
    Validate unit of measure (unit)
        READ TABLE it_t006 INTO wa_t006 WITH KEY msehi = wa_data-unit .
        IF sy-subrc NE 0.
          PERFORM update_error_log USING wa_data
                                         text-003.
        endif.
    Validate delivery location ( storage location )
        READ TABLE it_lgort INTO wa_lgort WITH KEY del_loc = wa_data-del_loc.
        IF sy-subrc NE 0.
          PERFORM update_error_log USING wa_data
                                         text-001.
             if wa_data-flag ='x' .
          delete it_data from  wa_data .
        endif.
        ENDIF.
    endloop.

    Hi Naren,
    First get the index number of the IT_data table and store it in one variable whose declaration like this.
    data: tabix type sy-tabix.
    while reading the internal table it_data set the tabix variable.
    tabix = sy-tabix.
    Instead of  the above use below one.
    Delete it_data-objek
    Use the Below statement it will delete  the row from the internal table.
    Delete it_data-objek index tabix
    Thanks,
    Chidanand

  • How to use a recorded sound in voice memos as a ringtone.

    How to use a recorded sound in voice memos as a ringtone.

    You may have better luck dumping those to computer and using an application that includes the ability to scrub.
    Try the Mac App Store for choices.

  • How do i store my video files?

    Hey
    How do i store my videofiles for the future?
    1. Usually when i have made some video recordings I plug my kamera into my mac and import the video(s) into iMovie. (My iMovie Libary is locaded on an extern harddrive).
    2. Then i start a new project and ad the videos I want in my project.
    3. When I'm done with the project I choosing share in iMovie and export my project to a place on my mac. For some reason the file always become many times larger than the original videofiles even though I didn't ad that many features to my porject?
    4. Because of the size of the exported iMovie porject I often need to convert the file, Im using Hand Break as it is free. The video and sound Quality seems to be the same.
    5. Than i Open iDVD and starts a new project where I'm adding the converted videofile from iMovie.
    6. Burn the ****.
    BUT that do I do with the above files I've made? What should I safe for later now that I have burned my project?
    I know that I would like to keed a digital version of the finish product - but how?. I wan't as well to safe the original files in iMovie if the future I should need to make other kinds of projects.? All this seems to cloudy to me! Please help.

    1. Usually when i have made some video recordings I plug my kamera into my mac and import the video(s) into iMovie. (My iMovie Libary is locaded on an extern harddrive).
    Nothing wrong here, but as I said, I would record in 1080p for maximum quality.
    3. When I'm done with the project I choosing share in iMovie and export my project to a place on my mac. For some reason the file always become many times larger than the original videofiles even though I didn't ad that many features to my porject?
    My first thought this is because you are recording at 1080i, but outputing from iMovie as 1080p. But your step 5 paragraph calls this into question.
    5. Than i Open iDVD and starts a new project where I'm adding the converted videofile from iMovie.
    I'm really curious as to what settings you're Sharing the video at from iMovie. I thought iDVD required 480p from iMovie, but I could be wrong.
    But what I really want to stress here is that the DVD that iDVD creates will be significantly lower quality than what you're recording with your video camera. You may need a DVD now, but someday, you or your kids will have a big HDTV, and the 1080p version of your video will look MUCH better than the 480p DVDs you're creating now.
    So, the step I would add would be to Share two versions of your projects from iMovie: one you'll use for your DVD, and a 1080p version that you keep on your hard drive for the future when you have a nice big TV to view it on.
    BUT that do I do with the above files I've made? What should I safe for later now that I have burned my project?
    I know that I would like to keed a digital version of the finish product - but how?. I wan't as well to safe the original files in iMovie if the future I should need to make other kinds of projects.? All this seems to cloudy to me! Please help.
    As I mentioned before, I would Share the project as 1080p, save the file to a drive, and then delete the source material when you need the space. If you have the space, just keep the source files in iMovie forever.

  • How to save all records in the Tabular form page temoprarily

    Hi All,
    I am very new for HTML DB. I created 5 tabular form using HTML DB Wizard. I want that whenever I open any tabular form page and click the add row button in that page then I should add as many record as we need but it should not save in the database but want to save all the page record temporarily in the page. When save button should click then it should save in the database. Can anyone suggest how to do in stepwise. It will be a great help for me.
    Thanks.
    Amit

    Hi,
    Anyone, can help me with this scenario.
    Brgds,
    Mini

  • Can any one tell me how to select latest record

    Hi,
    Can any one tell me how to select latest record. Below is the requirement
    select * from a where a_Date=v_date.
    out of thousand records with matched condition i need to select latest record
    Thanks in advance

    user12852882 wrote:
    Can any one tell me how to select latest record. Below is the requirement
    select * from a where a_Date=v_date.
    out of thousand records with matched condition i need to select latest recordHow do you determine the "latest" row? From your description it sounds like the following SQL will define the latest:
    select max(a_date) from aThis will return the last/latest date used from the table.
    Secondly, you now want to select the last row - or rows. As a_date may not be a primary key (you did not state it was and usually a date column make poor choice as unique identifier), there could be more than one row with that "+latest date+".
    So to find the latest row(s):
    select * from a where a_date = (select max(a_date) from a)Or you could do the following:
    declare
      latestDate date;
    begin
      // find the latest date and store it for use and re-use
      select max(a_date) into latestDate from a;
      // now process the last row(s) - and consider rewriting this
      // as a bulk processing loop
      for c in (select * from a where a_date = latestDate)
      loop
        .. do something with the row
      end loop;
      // now use latestDate variable for some other
      // required processing
    .. code goes here ...
    end;

  • We could not complete your iTunes Store request. The iTunes Store is temporarily unavailable. Please try again later.

    Please can someone help. I keep on getting this when I try and buy a song or upgrade my iPhone aps. I have got the latest iTunes on my 15" MacBook Pro with OS X 10.8.5 (12F37). Last week I changed my password on //appleid.apple.com I could the access my account in iTunes. I have tried to log on to my account / view my account in itunes / buy a song and tried upgrading my apps, but I can't do anything now. it is frustrating. Please, please, please can someone help. :-)

    Unsure if this will help anyone but I had the same problem with the message always coming up when I tried to login: "We could not complete your iTunes Store request. The iTunes Store is temporarily unavailable. Please try again later."
    What I couldn't understand was that I could log into iTunes online, but not through the iTunes app, becoming very frustrated I went to drastic measures to get everything working again - although I found this post after I had success.
    To add to the issue, my iPhone (4S - iOS7) was visible on iTunes (latest version), but some of my apps had failed to sync (showing grey on my iPhone and being unable to delete them), causing further issues and adding to my frustrations....which attributed to the drastic measures posted below.
    (You may want to try following the above posts before following my method)
    **** Apple support provided me with an email containing many links, all of which didn't really help me, but I'll post anyway, just incase they assist someone else:
    "Dear Luke,
    Thank you for writing to iTunes Store Customer Support, my name is Indra and I'll be assisting to you with your concern.
    I understand that you are unable to login to your iTunes store account and getting message that the iTunes Store is temporarily unavailable. I can imagine you must be eager to access your account and I will do my best to resolve this issue.
    Luke, as an advisor for the iTunes Store, I handle issues related to billing, downloading, customer accounts, and the items available on the iTunes Store. Although your question falls outside of my area of specialty, I will be happy to assist you with resolving your issue.
    I have verified that the iTunes Store is functioning and accepting connections. The issue could have been temporary, related to your internet connection, your local network, or your computer itself. If you’re still unable to connect, this article outlines some potential solutions:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    These articles have helped other Windows users resolve connection issues:
    iTunes for Windows: iTunes Store connection troubleshooting
    http://support.apple.com/kb/HT1527
    iTunes for Windows: Could not establish a secure connection to the iTunes Store
    http://support.apple.com/kb/TS1470
    iTunes for Windows: can't access the Internet if proxy settings are incorrect
    http://support.apple.com/kb/TS1490
    iTunes: Troubleshooting security software issues
    http://support.apple.com/kb/TS3125
    Firewall, virus-protection, and web-acceleration software can prevent you from connecting to the iTunes Store. You might not be able to connect even if the software appears to be configured to allow full access to the iTunes Store. You can use the MSCONFIG utility to determine if software on your computer is preventing access to the iTunes Store. For detailed instructions, please refer to the following article:
    Using Msconfig to troubleshoot conflicts in Windows Vista and Windows 7
    http://support.apple.com/kb/HT2292
    If the articles above don't help you connect to the iTunes Store, I suggest testing to see if this issue occurs while you are signed in to a new user account on your computer. To learn how to create a new user account in your version of Windows, please read the article below for your operating system:
    How to create and configure user accounts in Windows XP
    http://support.microsoft.com/kb/279783
    Windows Vista: Create a user account
    http://windows.microsoft.com/en-US/windows-vista/Create-a-user-account
    Windows 7: Create a user account
    http://windows.microsoft.com/en-us/Windows7/Create-a-user-account
    Windows 8: Create a user account
    http://windows.microsoft.com/en-us/windows-8/create-user-account
    Once you are signed in to this new user account, open iTunes and try to connect to the iTunes Store. If you can connect without error, then you’ve identified that the issue is with the previous user account that you were using. You may want to consider adopting this new account as your user account and transferring your files from the old account to your new one.
    If you require more assistance, you may wish to call our AppleCare technical support team. A technical Advisor will be able to tell you about Apple's complimentary and fee-based support options as well as assist you in determining what option might be most helpful in this case. To find the appropriate phone number, please visit:
    Contacting Apple for support and service
    http://support.apple.com/kb/HE57
    I hope that the information provided above is helpful.
    Thank you for contacting us and have a nice day!
    Sincerely,
    iTunes Store Customer Support
    http://www.apple.com/support/itunes/ww/"
    But if the above doesn't work for you then you can follow my method...in the end, I perfomed the following actions which did work:
    1).  Uninstalled iTunes from my computer (via Control Panel > Programs & Features)
    2).  Located the iTunes folder containing media, Previous Libraries etc (normally located under your Music folder) and simply moved it to my desktop. (can't afford to delete)
    3). Downloaded iTunes.
    4). Plugged my iPhone into my laptop and moved all contents across to my desktop (photo's).
    5). Restored my iPhone erasing ALL data (extreme but desperate measures were required) - you may want to back it up, but I personally didn't have anything that I couldn't afford to loose on it.
    6). Set-up my iPhone (set language etc...) including iCloud, but did not plug it into my laptop.
    7). Chose the following iPhone settings>   
              > iCloud - Contacts turned off
              > Mail, Contacts, Calendars - iCloud Contacts turned off (same end result)
              > iTunes & App Store - made sure I was logged in via Apple ID.
    7). Closed Outlook.
    8). Re-installed iTunes, saving it on the C:> default location.
    9). Followed the normal iTunes install prompts, setting it up as new. (making sure I had NO apps or music - clean slate)
    10). Plugged my iPhone into my laptop, waiting for it to appear as it normally does.
    11). Checked for iOS updates and iTunes updates (all good)
    12). Checked Sync Contacts with Outlook (opening Outlook at the same time) - Calendars I left to the iCloud
    13). APPLY....once sync finally completed (this time SUCCESSFUL) I was able to click iTunes Store and LOG IN.....finally!
    I probably didn't have to perform all 13 steps, but that's exactly what I did to get everything working again!
    There is probably someone out there who will be able to explain why I couldn't login to iTunes, why many of my apps didn't load onto my iPhone correctly, why everything failed to sync and probably able to shorten the above 13 steps to a quick fix.... but for now, everything is finally working and my 48hrs of frustration has come to an stress free end!

  • "The iTunes store is temporarily unavailable. Please try again later."

    We got the "The iTunes store is temporarily unavailable. Please try again later." error after purchasing the movie "Tammy".
    Tech support thought we had a connection issue with our Apple TV because we could watch this movie from our computer; that did not make sense really because all the other movies we purchased in the past still worked and we could watch previews for others. This process with tech support took a long time...in the process we reset the Apple TV and a bunch of other things. We finally gave up and watched in on our 27" iMac.
    I do not know how apple security filters on Apple TV, but the Apple TV had been set-up with the original defaults for years.  I clicked on the security and put in a password because that is the only way I could changed the content filter from "PG".  I changed the content filter and restarted Apple TV and I was able to play "Tammy" which was rated "R".  I'm not sure if this was a coincidence, and I do not know why I was able to purchase a movie that I would not be able to play.  Maybe the purchase was allowed by iTunes at the time because they are not checked because the content can be played from other devices like my computer, and the restriction was on Apple TV, but then again, the "PG" filter on Apple TV should have prevented me from viewing to purchase the movie in the first place. Anyway the content filter has been changed and we can watch "Tammy" on our TV.
    Just Sharing...

    Yes, it does sound like software on your comptuer may be preventing you from accessing the iTunes Store. You may want to try using MSCONFIG to determine what software is conflicting. The process is not difficult, although it is a little time consuming. Here's how:
    Using MSCONFIG to troubleshoot conflicts in Windows XP
    Hope that helps!
    iMac   Mac OS X (10.4.9)  

  • When i try and authorize my computer with itunes it says the itunes store is temporarily unavailable

    when i try and authorize my computer with itunes it says the itunes store is temporarily unavailable

    Hello Alark26,
    Thanks for using Apple Support Communities.
    If you're continuing to receive the error where you cannot connect to the iTunes Store, I'd like you to please follow the directions outlined below.
    Troubleshoot issues in Windows
    If you haven't been able to connect to the iTunes Store for more than a day (and other customers on our discussion boards aren't experiencing similar issues) a software or Internet service provider (ISP) configuration issue may be blocking your access to the iTunes Store. Find out which ports and servers need to be allowed for iTunes Store access.
    Update iTunes to the latest version.
    If iTunes Store appears empty and only displays the message iTunes Store, follow these steps.
    Try the steps to troubleshoot iTunes Store connectivity in Windows.
    As with all firewalls not manufactured by Apple, you may need to configure Windows Firewall to allow iTunes to access the iTunes Store. Follow these steps for Windows XP, Windows Vista, and Windows 7.
    Try disabling any proxies built-in to Windows. You should avoid proxies because they can cause issues.
    If you're receiving a specific error message, follow these steps.
    If the issue still persists, contact your Internet service provider and confirm that these ports and serversare enabled over your network.
    Note: The hosts file may be blocking the iTunes Store.
    Microsoft's article How do I reset the hosts file back to the default? has instructions and a FixIt to have Windows try to reset the hosts defaults for you.
    Note: Some workplaces may put internal resources in the hosts file and may block iTunes Store. The FixIt doesn't work for Windows 8.
    To create a copy of your hosts file and replace it with an empty hosts file, follow the instructions below:
    You can find the hosts file at: C:\WINDOWS\SYSTEM32\DRIVERS\ETC.
    Select the hosts file. There should now be a duplicate of the hosts file named "Copy of hosts" (Windows XP) or "hosts-copy" (Windows Vista, Windows 7, or Windows 8).
    Drag the original hosts file to your desktop.
    Right-click the duplicate file and choose Open. You may be prompted to choose the program you want to use to open this file. Double-click Notepad.
    When Notepad opens, choose Edit > Select All.
    Choose Edit > Delete.
    Choose File > Save.
    Close Notepad.
    Right-click the duplicate file, and choose Rename.
    Type "hosts" (without quotation marks) and press Enter.
    Restart your computer and try connecting to the iTunes Store.
     If you still can't connect to the iTunes Store, your security software or firewall may be blocking the ability of iTunes to communicate with the Internet. Learn how to resolve security software issues. 
     Learn more
    If the steps above didn't resolve your issue, be sure that your specific alert isn't listed as a possible iTunes Store error. Then, if your issue is still unresolved, follow these steps.
    Can't connect to the iTunes Store - Apple Support
    Take care,
    Alex H.

  • HT1349 How do I store my photos on my iPad storage in stead of iCloud?

    I have 64 gb.  How do I store my photos and other download videos and music in it instead of iCloud 5.0  gb?

    Note that none of your Photos or downloaded videos are stored in your iCloud 5GB.
    Photos take with the iPad are temporarily put into Photo Stream in yoru iCloud(if enabled) but they are deleted after 30 days.

  • Why is iTunes store alway temporarily unavailable?

    I decided to post my own question; maybe it will help.
    I cannot download my old purchases. I continually get a message that the iTunes store is temporarily unavailable.
    I have a new laptop. I have enabled itunes in the firewall settings, and checked diagnostics. Like some others I can see posting in here, when I run the itunes diagnostics, it tells me I'm not an admin, which is incorrect. Everything else seems ok, as far as I can tell.
    One forum user says this is a known issue, but I don't see any posting to that effect by anyone at Apple.
    Does anyone know how to contact Support with iTunes store issues?

    Choose one that suits you:
    they forgot to pay their electicity bill
    someone tripped over the power cable and pulled the plug out
    because someone wants to find out how many people don't understand the word temporarily
    Since you don't tell us which country you're in, it's hard to say. But if I were to get that message when I tried getting into the Store (which I can at the time I'm writing this), then I would simply try again later. Even though "later" is an unspecified time -  to occur in the future, I would not try after two minutes.
    If after 24 hours, the same problem occurs, don't give up.
    If after three days, I might wonder if everyone had left the country and not included me.
    I'm sure it will be available soon.

  • App store is temporarily unavailable

    How do I fix "app store is temporarily unavailable"?
    I cannot update software or purchase software from store.

    Make sure spotligt is not disabled. http://osxdaily.com/2011/12/10/disable-or-enable-spotlight-in-mac-os-x-lion/

  • How to append DB records using OdiSqlUnload tool

    Hi
    Can any one please help me on how to append DB records using OdiSqlUnload tool.
    Work Scenario: I created a loop in a package and want to stored error records into xls file. I tried, but it is storing only recent record got failed
    Any sugession or help on OdiSqlunload tool
    Thanks
    Phani

    Hi Guru,
    I tried It is storing last record but I want to store all failure records (which are in a loop) into excel file
    Please help me
    Thanks
    Phani
    Edited by: Phanikanth on Jul 15, 2010 8:25 PM

  • How can i inserts record using procedure in adf

    how can i insert record using procedure
    hi i have the following i what to insert record using store procedure, i try this
    am in JDeveloper Studio 11.1.2.1.0
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewObject
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="SmsPartyAddressView"
      Version="11.1.2.60.81"
      BindingStyle="OracleName"
      CustomQuery="true"
      PageIterMode="Full"
      UseGlueCode="false"
      RowClass="sms1100.SmsPartyAddressViewRowImpl"
      ComponentClass="sms1100.SmsPartyAddressViewImpl"
      DefClass="sms1100.SmsPartyAddressViewDefImpl"
      RowInterface="sms1100.common.SmsPartyAddressViewRow"
      ClientRowProxyName="sms1100.client.SmsPartyAddressViewRowClient">
      <DesignTime>
        <Attr Name="_isExpertMode" Value="true"/>
        <Attr Name="_codeGenFlag2" Value="Access|Def|Coll|Prog|VarAccess"/>
        <Attr Name="_isCodegen" Value="true"/>
      </DesignTime>
      <Properties>
        <SchemaBasedProperties>
          <LABEL
            ResId="sms1100.SmsPartyAddressView_LABEL"/>
        </SchemaBasedProperties>
      </Properties>
      <ViewAccessor
        Name="Sub_lov1"
        ViewObjectName="sms1100.Sub_lov"
        RowLevelBinds="true"/>
      <ListBinding
        Name="LOV_Town"
        ListVOName="Sub_lov1"
        ListRangeSize="-1"
        ComboRowCountHint="10"
        NullValueFlag="none"
        MRUCount="0">
        <AttrArray Name="AttrNames">
          <Item Value="Town"/>
        </AttrArray>
        <AttrArray Name="DerivedAttrNames">
          <Item Value="Suburb"/>
          <Item Value="PostalCode"/>
          <Item Value="TowId"/>
        </AttrArray>
        <AttrArray Name="ListAttrNames">
          <Item Value="Town"/>
          <Item Value="Suburb"/>
          <Item Value="PostalCode"/>
          <Item Value="Id"/>
        </AttrArray>
        <AttrArray Name="ListDisplayAttrNames">
          <Item Value="Town"/>
          <Item Value="Suburb"/>
          <Item Value="PostalCode"/>
          <Item Value="DsdRegion"/>
          <Item Value="ServiceDeliveryArea"/>
        </AttrArray>
        <DisplayCriteria/>
      </ListBinding>
      <SQLQuery><![CDATA[SELECT
           SmsPartyAddress.ADDRESS_LINE1,
           SmsPartyAddress.ID,
           SmsPartyAddress.ADDRESS_LINE2,
           SmsPartyAddress.ADDRESS_LINE3,
           SmsPartyAddress.ADDRESS_LINE4,
           SmsPartyAddress.ADDRESS_TYPE_IND,
           SmsPartyAddress.PAR_ID,
           SmsPartyAddress.PROP_ID,
           SmsPartyAddress.START_DT,
             SmsProperties.ERF_NO,
           SmsProperties.ADDRESS_LINE,
           SmsProperties.ZONE,
           SmsProperties.GPS_LONGITUDE,
           SmsProperties.GPS_LATITUDE,
           SmsProperties.TOW_ID,
           SmsProperties.WAR_ID,
            DECODE(TOW1.TOWN,NULL,TOW.TOWN,TOW1.TOWN)TOWN ,
           TOW.TOWN SUBURB,
           POSTAL_CODE
    FROM SMS_PARTY_ADDRESS SmsPartyAddress,
         SMS_PROPERTIES SmsProperties,
          SMS_TOWNS TOW
        ,SMS_TOWNS TOW1
        ,SMS_POSTAL_CODES PCOD
          WHERE TOW.PCOD_ID = PCOD.ID
        AND TOW.TOW_ID = TOW1.ID (+)
        --and TOW1.ID = SMSPROPERTIES.TOW_ID(+)
        and TOW.ID = SMSPROPERTIES.TOW_ID
        and SMSPARTYADDRESS.PROP_ID = SMSPROPERTIES.ID
         CONNECT BY PRIOR TOW.TOW_ID = TOW.ID]]></SQLQuery>
      <EntityUsage
        Name="SmsPartyAddress"
        Entity="sms1100.SmsPartyAddress"/>
      <ViewAttribute
        Name="AddressLine1"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="100"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="ADDRESS_LINE1"
        Expression="ADDRESS_LINE1"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="100"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="Id"
        IsUpdateable="false"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="38"
        Scale="0"
        Type="java.math.BigInteger"
        ColumnType="NUMBER"
        AliasName="ID"
        Expression="ID"
        SQLType="NUMERIC"/>
      <ViewAttribute
        Name="AddressLine2"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="100"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="ADDRESS_LINE2"
        Expression="ADDRESS_LINE2"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="100"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="AddressLine3"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="100"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="ADDRESS_LINE3"
        Expression="ADDRESS_LINE3"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="100"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="AddressLine4"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="50"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="ADDRESS_LINE4"
        Expression="ADDRESS_LINE4"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="50"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="AddressTypeInd"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="38"
        Scale="0"
        Type="java.math.BigInteger"
        ColumnType="NUMBER"
        AliasName="ADDRESS_TYPE_IND"
        Expression="ADDRESS_TYPE_IND"
        SQLType="NUMERIC"/>
      <ViewAttribute
        Name="ParId"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="38"
        Scale="0"
        Type="oracle.jbo.domain.Number"
        ColumnType="NUMBER"
        AliasName="PAR_ID"
        Expression="PAR_ID"
        SQLType="NUMERIC"/>
      <ViewAttribute
        Name="PropId"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="38"
        Scale="0"
        Type="java.math.BigInteger"
        ColumnType="NUMBER"
        AliasName="PROP_ID"
        Expression="PROP_ID"
        SQLType="NUMERIC"/>
      <ViewAttribute
        Name="StartDt"
        IsPersistent="false"
        PrecisionRule="true"
        Type="java.sql.Timestamp"
        ColumnType="DATE"
        AliasName="START_DT"
        Expression="START_DT"
        SQLType="DATE"/>
      <ViewAttribute
        Name="ErfNo"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="80"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="ERF_NO"
        Expression="ERF_NO"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="80"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="AddressLine"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="120"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="ADDRESS_LINE"
        Expression="ADDRESS_LINE"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="120"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="Zone"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="20"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="ZONE"
        Expression="ZONE"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="20"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="GpsLongitude"
        IsUpdateable="false"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="40"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="GPS_LONGITUDE"
        Expression="GPS_LONGITUDE"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="40"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="GpsLatitude"
        IsUpdateable="false"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="40"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="GPS_LATITUDE"
        Expression="GPS_LATITUDE"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="40"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="TowId"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="38"
        Scale="0"
        Type="java.math.BigInteger"
        ColumnType="NUMBER"
        AliasName="TOW_ID"
        Expression="TOW_ID"
        SQLType="NUMERIC"/>
      <ViewAttribute
        Name="WarId"
        IsUpdateable="false"
        IsPersistent="false"
        PrecisionRule="true"
        Type="java.lang.Integer"
        ColumnType="NUMBER"
        AliasName="WAR_ID"
        Expression="WAR_ID"
        SQLType="NUMERIC"/>
      <ViewAttribute
        Name="Town"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="60"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="TOWN"
        Expression="TOWN"
        SQLType="VARCHAR"
        LOVName="LOV_Town">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="60"/>
        </DesignTime>
        <Properties>
          <SchemaBasedProperties>
            <CONTROLTYPE
              Value="combo_lov"/>
          </SchemaBasedProperties>
        </Properties>
      </ViewAttribute>
      <ViewAttribute
        Name="Suburb"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="60"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="SUBURB"
        Expression="SUBURB"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="60"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="PostalCode"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="4"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="POSTAL_CODE"
        Expression="POSTAL_CODE"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="4"/>
        </DesignTime>
      </ViewAttribute>
      <ResourceBundle>
        <PropertiesBundle
          PropertiesFile="SmsFrontService.SmsFrontServiceBundle"/>
      </ResourceBundle>
    </ViewObject>my calling method is
    public class SmsPartyAddressViewRowImpl extends ViewRowImpl implements SmsPartyAddressViewRow {
        protected void callNewProperty(String stmt, Object[] bindVars) {
                   PreparedStatement st;
                   st = null;
                   try {
                       // 1. Create a JDBC PreparedStatement for
                       st = getDBTransaction().createPreparedStatement("begin " + stmt + ";end;", 0);
                       if (bindVars != null) {
                           // 2. Loop over values for the bind variables passed in, if any
                           for (int z = 0; z < bindVars.length; z++) {
                               // 3. Set the value of each bind variable in the statement
                               st.setObject(z + 1, bindVars[z]);
                       // 4. Execute the statement
                       st.executeUpdate();
                   } catch (SQLException e) {
                       throw new JboException(e);
                   } finally {
                       if (st != null) {
                           try {
                               // 5. Close the statement
                             st.close();
                           } catch (SQLException e) {
        protected void callInsertProcedure(TransactionEvent e) {
           // String Addressline = null;
            String Zone = "UNDERF";
            Date StartDt = null;
           // EntityDefImpl SmsPropertiesDef = SmsPropertiesImpl.getDefinitionObject();
           // SmsPropertiesImpl newSmsProperties = (SmsPropertiesImpl)SmsPropertiesDef.createInstance2(getDBTransaction(), null);
        callNewProperty("Sms_Location.newProp(?,?,?,?,?,?,?,?,?,?,?,?)",
        new Object[] { getParId(), getAddressTypeInd(), getAddressLine1(),
        getAddressLine2(), getAddressLine3(), getAddressLine4(),getAddressLine(),getSuburb(),getTown(),getPostalCode(),getTowId(),Zone,StartDt });
    Edited by: ADF007 on 2012/08/13 6:59 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    that solution was based on the hr schema now am inserting using my schema
    inserting record in a view using procedure
    hi i have the folowing view, i what to insert record using procedure,this is what i what ,i what to insert record using the view but pass those view variable to procedure. my view is
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewObject
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="smsproppartyview"
      Version="11.1.2.60.81"
      BindingStyle="OracleName"
      CustomQuery="true"
      PageIterMode="Full"
      UseGlueCode="false"
      RowClass="sms1100.smsproppartyviewRowImpl"
      ComponentClass="sms1100.smsproppartyviewImpl"
      RowInterface="sms1100.common.smsproppartyviewRow"
      ClientRowProxyName="sms1100.client.smsproppartyviewRowClient">
      <DesignTime>
        <Attr Name="_isExpertMode" Value="true"/>
        <Attr Name="_codeGenFlag2" Value="Access|Coll|Prog|VarAccess"/>
        <Attr Name="_isCodegen" Value="true"/>
      </DesignTime>
      <Properties>
        <SchemaBasedProperties>
          <LABEL
            ResId="sms1100.smsproppartyview_LABEL"/>
        </SchemaBasedProperties>
      </Properties>
      <ViewAccessor
        Name="Sub_lov1"
        ViewObjectName="sms1100.Sub_lov"
        RowLevelBinds="true"/>
      <ListBinding
        Name="LOV_Town"
        ListVOName="Sub_lov1"
        ListRangeSize="-1"
        ComboRowCountHint="10"
        NullValueFlag="none"
        MRUCount="0">
        <AttrArray Name="AttrNames">
          <Item Value="Town"/>
        </AttrArray>
        <AttrArray Name="DerivedAttrNames">
          <Item Value="Suburb"/>
          <Item Value="PostalCode"/>
          <Item Value="TowId"/>
        </AttrArray>
        <AttrArray Name="ListAttrNames">
          <Item Value="Town"/>
          <Item Value="Suburb"/>
          <Item Value="PostalCode"/>
          <Item Value="Id"/>
        </AttrArray>
        <AttrArray Name="ListDisplayAttrNames">
          <Item Value="Town"/>
          <Item Value="Suburb"/>
          <Item Value="PostalCode"/>
          <Item Value="DsdRegion"/>
          <Item Value="ServiceDeliveryArea"/>
        </AttrArray>
        <DisplayCriteria/>
      </ListBinding>
      <SQLQuery><![CDATA[SELECT
           SmsPartyAddress.ID,
           SmsPartyAddress.ADDRESS_LINE2,
           SmsPartyAddress.ADDRESS_LINE3,
           SmsPartyAddress.ADDRESS_LINE4,
           SmsPartyAddress.ADDRESS_LINE1,
            SmsProperties.ADDRESS_LINE,     
            DECODE(TOW1.TOWN,NULL,TOW.TOWN,TOW1.TOWN)TOWN ,
           TOW.TOWN SUBURB,
           POSTAL_CODE,
            SmsPartyAddress.PAR_ID,
           SmsPartyAddress.PROP_ID,
            SmsProperties.ID AS ID1,
           SmsPartyAddress.ADDRESS_TYPE_IND,      
           SmsPartyAddress.START_DT,
           SmsProperties.TOW_ID,
           SmsProperties.ERF_NO,
           SmsProperties.WAR_ID,
           SmsProperties.ZONE
    FROM SMS_PARTY_ADDRESS SmsPartyAddress, SMS_PROPERTIES SmsProperties,
    SMS_TOWNS TOW
        ,SMS_TOWNS TOW1
        ,SMS_POSTAL_CODES PCOD
    WHERE SmsPartyAddress.PROP_ID = SmsProperties.ID
    and TOW.PCOD_ID = PCOD.ID
        AND TOW.TOW_ID = TOW1.ID (+)
        --and TOW1.ID = SMSPROPERTIES.TOW_ID(+)
        and TOW.ID = SMSPROPERTIES.TOW_ID
        and SmsPartyAddress.prop_id = SmsProperties.id
         CONNECT BY PRIOR TOW.TOW_ID = TOW.ID]]></SQLQuery>
      <ViewAttribute
        Name="Id"
        IsUpdateable="false"
        IsPersistent="false"
        PrecisionRule="true"
        Type="oracle.jbo.domain.Number"
        ColumnType="NUMBER"
        AliasName="ID"
        SQLType="NUMERIC">
        <RecalcCondition><![CDATA[true]]></RecalcCondition>
        <TransientExpression><![CDATA[(new oracle.jbo.server.SequenceImpl("SMS_MAST1_SEQ",adf.object.getDBTransaction())).getSequenceNumber()]]></TransientExpression>
      </ViewAttribute>
      <ViewAttribute
        Name="AddressLine2"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="100"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="ADDRESS_LINE2"
        Expression="ADDRESS_LINE2"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="100"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="AddressLine3"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="100"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="ADDRESS_LINE3"
        Expression="ADDRESS_LINE3"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="100"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="AddressLine4"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="50"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="ADDRESS_LINE4"
        Expression="ADDRESS_LINE4"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="50"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="AddressLine1"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="100"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="ADDRESS_LINE1"
        Expression="ADDRESS_LINE1"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="100"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="AddressLine"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="120"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="ADDRESS_LINE"
        Expression="ADDRESS_LINE"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="120"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="Town"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="60"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="TOWN"
        Expression="TOWN"
        SQLType="VARCHAR"
        LOVName="LOV_Town">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="60"/>
        </DesignTime>
        <Properties>
          <SchemaBasedProperties>
            <CONTROLTYPE
              Value="combo_lov"/>
          </SchemaBasedProperties>
        </Properties>
      </ViewAttribute>
      <ViewAttribute
        Name="Suburb"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="60"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="SUBURB"
        Expression="SUBURB"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="60"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="PostalCode"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="4"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="POSTAL_CODE"
        Expression="POSTAL_CODE"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="4"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="ParId"
        IsPersistent="false"
        PrecisionRule="true"
        Type="oracle.jbo.domain.Number"
        ColumnType="NUMBER"
        AliasName="PAR_ID"
        Expression="PAR_ID"
        SQLType="NUMERIC"/>
      <ViewAttribute
        Name="PropId"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="38"
        Scale="0"
        Type="oracle.jbo.domain.Number"
        ColumnType="NUMBER"
        AliasName="PROP_ID"
        Expression="PROP_ID"
        SQLType="NUMERIC"/>
      <ViewAttribute
        Name="Id1"
        IsUpdateable="false"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="38"
        Scale="0"
        Type="oracle.jbo.domain.Number"
        ColumnType="NUMBER"
        AliasName="ID1"
        SQLType="NUMERIC">
        <RecalcCondition><![CDATA[true]]></RecalcCondition>
        <TransientExpression><![CDATA[(new oracle.jbo.server.SequenceImpl("SMS_MAST1_SEQ",adf.object.getDBTransaction())).getSequenceNumber()]]></TransientExpression>
      </ViewAttribute>
      <ViewAttribute
        Name="AddressTypeInd"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="38"
        Scale="0"
        Type="oracle.jbo.domain.Number"
        ColumnType="NUMBER"
        AliasName="ADDRESS_TYPE_IND"
        Expression="ADDRESS_TYPE_IND"
        SQLType="NUMERIC"/>
      <ViewAttribute
        Name="StartDt"
        IsPersistent="false"
        PrecisionRule="true"
        Type="java.sql.Timestamp"
        ColumnType="DATE"
        AliasName="START_DT"
        SQLType="DATE">
        <RecalcCondition><![CDATA[true]]></RecalcCondition>
        <TransientExpression><![CDATA[adf.currentDate]]></TransientExpression>
      </ViewAttribute>
      <ViewAttribute
        Name="TowId"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="38"
        Scale="0"
        Type="oracle.jbo.domain.Number"
        ColumnType="NUMBER"
        AliasName="TOW_ID"
        Expression="TOW_ID"
        SQLType="NUMERIC"/>
      <ViewAttribute
        Name="ErfNo"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="80"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="ERF_NO"
        Expression="ERF_NO"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="80"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="WarId"
        IsPersistent="false"
        PrecisionRule="true"
        Type="oracle.jbo.domain.Number"
        ColumnType="NUMBER"
        AliasName="WAR_ID"
        Expression="WAR_ID"
        SQLType="NUMERIC"/>
      <ViewAttribute
        Name="Zone"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="20"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="ZONE"
        Expression="ZONE"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="20"/>
        </DesignTime>
      </ViewAttribute>
      <ResourceBundle>
        <PropertiesBundle
          PropertiesFile="SmsFrontService.SmsFrontServiceBundle"/>
      </ResourceBundle>
    </ViewObject>this is what i have try
    public class smsproppartyviewImpl extends ViewObjectImpl {
        protected void callNewProperty(String stmt, Object[] bindVars) {
                   PreparedStatement st;
                   st = null;
                   try {
                       // 1. Create a JDBC PreparedStatement for
                       st = getDBTransaction().createPreparedStatement("begin " + stmt + ";end;", 0);
                       if (bindVars != null) {
                           // 2. Loop over values for the bind variables passed in, if any
                           for (int z = 0; z < bindVars.length; z++) {
                               // 3. Set the value of each bind variable in the statement
                               st.setObject(z + 1, bindVars[z]);
                       // 4. Execute the statement
                       st.executeUpdate();
                   } catch (SQLException e) {
                       throw new JboException(e);
                   } finally {
                       if (st != null) {
                           try {
                               // 5. Close the statement
                             st.close();
                           } catch (SQLException e) {
        protected void callInsertProcedure(TransactionEvent e) {
            String Addressline = null;
            String Zone = "UNDERF";
            String Town = null;
            String Suburb = null;
            String PostalCode = null;
            String Addressline1 = null;
            String Addressline2 = null;
            String Addressline3 = null;
            String Addressline4 = null;
            Integer AddressTypeInd = null;
            Integer parid = null;
            //Date StartDt = null;
            Integer towid = null;
            ApplicationModuleHandle handle = null;
                               handle = Configuration.createRootApplicationModuleHandle
                               ("sms1100.sms1100Moduleold", "sms1100ModuleShared");
                               ApplicationModule sam = handle.useApplicationModule();
                               sam.processChangeNotifications();
            ViewObject svo = sam.findViewObject("smsproppartyview1");
            svo.executeQuery();
            Row row = svo.first();
            if (svo != null){
                Addressline = (String)row.getAttribute("AddressLine");
                Zone = (String)row.getAttribute("Zone");
                Town = (String)row.getAttribute("Town");
                Suburb = (String)row.getAttribute("Suburb");
                PostalCode = (String)row.getAttribute("PostalCode");
                towid = (Integer)row.getAttribute("TowId");
                Addressline1 = (String)row.getAttribute("Addressline1");
                Addressline2 = (String)row.getAttribute("Addressline2");
                Addressline3 = (String)row.getAttribute("Addressline3");
                Addressline4 = (String)row.getAttribute("Addressline4");
                AddressTypeInd = (Integer)row.getAttribute("AddressTypeInd");
                parid = (Integer)row.getAttribute("ParId");
            //EntityDefImpl SmsPropertiesDef = SmsPropertiesImpl.getDefinitionObject();
            //SmsPropertiesImpl newSmsProperties = (SmsPropertiesImpl)SmsPropertiesDef.createInstance2(getDBTransaction(), null);
            //newSmsProperties.setAddressLine(Addressline);
            //newSmsProperties.setTowId(towid);
        callNewProperty("Sms_Location.newProp(?,?,?,?,?,?,?,?,?,?,?,?)",
        new Object[] { parid, AddressTypeInd, Addressline1,
        Addressline2, Addressline3, Addressline4,Addressline,Town,Suburb,PostalCode,towid,Town,Suburb,PostalCode,towid,Zone });
    }am in Jdeveloper 11.1.2.1.0

  • How long I can record a voice memo in my iphone 5s, how long I can record a voice memo in my iphone 5s

    how long I can record a voice memo in my iphone 5s, how long I can record a voice memo in my iphone 5s

    Thanks Caramby.  I actually found another work-around
    Here's how to copy the voice memo to your laptop (and then email it if you need to):
    With iTunes open on the Voice Memo folder of your device (an iPhone 4s in my case), simply drag the required file from iTunes and onto the desktop of your pc/laptop.  It won't remove the file from your device but simply make a copy.   Then you can play the file from your pc/laptop (through Quicktime) as the file is in AAC format.  You can also attach the file to an email for sending.
    Hope this helps someone else.
    RB

Maybe you are looking for

  • Not recognized in windows or itunes

    i bought an ipod 2 nights ago, downloaded new version of itunes last night and still don't see my ipod anywhere except the device manager. what do i need to do

  • Ps4 downlod speed

    my download when i test on my pc is 30mps but when i test on psn it is 1.2mps what the hell is going on?

  • Wireless keyboard is "nondiscoverable" on my pc win7.

    Wireless keyboard can be connected with iphone& ipad. Wireless keyboard is "nondiscoverable" on my pc win7. Seems like the pc is not wanting to discover my apple keyboard.. Anybody know how to do it? Thx!

  • Net8 Connection Error

    I am using the Migration Assistant for MS Access (version 8.1.5) to migrate a database from Access 97 to Oracle 8i. At the Provide Oracle Connection Information Page of the Assistant, I get a Specifying Net8 Connection Error. So my question is what s

  • Intrastat report VE01 & VE33

    Hi Experts, I have a issue with intrastat report, In VE01 transaction credit memos (IG) are appearing    . But when we are using VE33 transaction to take print, these credit memos (IG) are not appear . please advice me how to get these credit memos (