Question about MX7 and Oracle 10GR2 RAC

Can someone tell me if it's possible to pass parameter names
to and oracle function in MX7. I have a function that returns a
refcursor that worked fine as a simply function now it's an
overloaded function and I need to pass different parameter names
and I cannot get it to work. Is this a problem with MX7?

I did a little testing, and it looks like overloading seems
to be working (for the most part) with MX 7
except
when calling an overloaded procedure that has a refcursor OUT
parameter. My guess is that since you do not specify a CFPROCPARAM
tag for refcursor parameters, but instead use a CFPROCRESULT tag to
capture the result set, there is probably a bind problem with the
parameter. I'm getting a
[Macromedia][Oracle JDBC Driver]No more data available to
read. error when I try to call it using CFPROCRESULT tag, and a
[Macromedia][Oracle JDBC Driver]The specified SQL type is not
supported by this driver. error if I try to use a CFPROCPARAM
OUT parameter of type="CF_SQL_REFCURSOR"
If ALL of the overloaded procedures do have refcursors, and I
only change the IN parameter types, and do not change the number of
parameters, etc., then I get a
[Macromedia][Oracle JDBC Driver][Oracle]ORA-06550: line 1,
column 7: PLS-00306: wrong number or types of arguments in call to
'OVER1_SP' ORA-06550: line 1, column 7: PL/SQL: Statement
ignored error.
Phil

Similar Messages

  • Question about JDBC and Oracle 10g AL32UTF8

    Hey all,
    Currently I have a Java program that uses lib: ojdbc14.zip. It works fine for our Oracle 10g database, but when we converted our character set to AL32UTF8, our program seems to have stopped working properly. For instance, I grab a count(*), to see how many rows an ID has in a table. Then I take that list and display and count(*) that are greater than 0. Well, my first getString works properly to generate the select count(*) statements for all the tables in the database. But then when I execute those select count(*) I can grab out the number greater than 0. That's column 1. Then the owner name is displayed in column 2. and the table name is displayed in column 3. When I do a getString(2) we only get the first letter (sometimes) of the owner of the table. Same with the table name.
    For instance, before AL32UTF8
    getString(2): SCOTT
    getString(3): PEOPLE
    After
    getString(2): S
    getString(3): P
    Now to open my connection I use:
    static Connection conn;
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    conn = DriverManager.getConnection(connection_string, username, password);
    And to create query I use:
    Statement query_1 = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
    Any help will be greatly appreciated. Thanks
    Sincerely,
    Mel

    orkun wrote:
    I was wondering whether it was a correct way :
    -retrieving data with resultset and putting them to an arraylist, then getting to jsf datatable.Your question/problem statement is unclear, but just lookup the DAO pattern.
    Is there any better way I can speed up retrieving data from databse ?Performance is a matter of good code and datamodel and decent hardware.

  • Question about FCF and Oracle load Balance

    We have recently set up the FCF and load balance advisory.
    We are using JDBC UCP connection Pool.
    Here is the service name is as following:
    CATEST_FCF =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ptt-pt-ildb-01-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = ptt-pt-ildb-02-vip)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = CATEST_FCF.THECPP.COM)
    (FAILOVER_MODE =
    (TYPE = SELECT)
    (METHOD = BASIC)
    (RETRIES = 180)
    (DELAY = 5)
    -- service goal is SERVICE_TIME and CLB_GOAL is LONG
    -- ons.config
    localport=6101
    remoteport=6200
    loglevel=9
    useocr=on
    I was trying some test as the link below.
    http://drdobbs.com/java/222700353?pgno=1
    but my client is always trying to connect to instance 2 even the sys.sys$service_metrics_tab already showed the instance 1 can take on more load.
    Total held connections: 9
    [0] Instance name [TZNTEST2]
    [1] Instance name [TZNTEST2]
    [2] Instance name [TZNTEST2]
    [3] Instance name [TZNTEST2]
    [4] Instance name [TZNTEST2]
    [5] Instance name [TZNTEST2]
    [6] Instance name [TZNTEST2]
    [7] Instance name [TZNTEST2]
    [8] Instance name [TZNTEST2]
    (CATEST_FCF, VERSION=1.0 database=CATEST service=CATEST_FCF { {instance=CATEST1 percent=88 flag=GOOD}{instance=CATEST2 percent=12 flag=GOOD} } timestamp=2011-04-12 11:59:36)
    am I correct here? the percent for CATEST1 is 88. Does it mean CATEST1 is able to take on 88% more load, so it is more attractive now?
    and why the connections always fell on CATEST2? How does oracle calculate the number of connections to each instance. Does it count inactive or killed session too? does it offer the load balance stats based on total number of connections on each instance or total number of connections just to this serivce on each instance?

    I don't know if this helps, but there is a reply comment from
    Macromedia at the bottom of the MX 6 LiveDocs for tag
    cfprocparam
    which was in response to a comment pointing out that calling
    overloaded stored procedures containing refcursors did not work. (I
    submitted a similar question to Adobe last night in the MX 7
    version of LiveDocs for cfprocparam and am waiting for it to post.)
    Macromedia jrunrandy said on Jun 30, 2005 at 9:45 AM :
    I checked and regret to say that this isn't supported. There
    is a bug for this issue,
    53122, but it hasn't been addressed as of CFMX 7.
    I think that this is going to be as official of a response
    from Macromedia/Adobe as you are going to get unless you open a
    trouble report yourself. I hope that this is enough to satisfy the
    requirements of your DBA. Otherwise, you are probably going to have
    to shell out the cash for an official trouble report to Adobe
    (unless you have paid support).
    Phil

  • Oracle 10gR2 RAC - ASM question

    Hi
    I have a question regarding the ASM storage. Let says I have a system here running Oracle 10gR2 RAC and would like to add a new/extend the current DATA disk group with more disk space. How do I do that? will it affect the existing data stored inside there?

    So to add a little more to the discussion. Let's say your storage administrator presents you a LUN and is nice enough to add a partition of say 7G. (/dev/sdo1).
    Now you need to take /dev/sdo1 stamp it and alter your storage group.
    For illustration purposes I shall use rac1 and rac2 as my dual instance RAC and add to the asm group ARCH.
    As root on rac1
    /etc/init.d/oracleasm createdisk ARCH2 /dev/sdo1
    then run
    /etc/init.d/oracleasm listdisks
    to make sure ARCH2 shows up.
    On rac2 you run
    /etc/init.d/oracleasm listdisks
    You don't see ARCH2 so then run
    /etc/init.d/oracleasm scandisks
    then
    /etc/init.d/oracleasm listdisks
    Now you should see ARCH2
    Ok the asm stamps are in sync now.
    Back to rac1
    su - oracle
    set ORACLE_SID to asm instance and use sqlplus
    sqlplus / as sysasm
    If you query V$ASM_DISK you will see your disk with a header_status of PROVISIONED
    that's good ...
    NOw while still in sqlplus
    Let's bump up the asm_power_limit so rebalancing runs faster
    alter system set asm_power_limit=5 scope=both ;
    If your asm instance are sharing the same spfile you only need do this on one instance; otherwise run the command both on all asm instances.
    Lastly
    ALTER DISKGROUP ARCH ADD DISK 'ORCL:ARCH2' ;
    Now you can query V$ASM_OPERATION and watch ASM do it's magic of rebalancing.
    That's it. All done while the DB is up and running.
    How does that work for you?
    -JR jr

  • Solaris 10 + Oracle 10gR2 RAC question

    Hello everyone
    Has anyone come across the case where the CRS services of Oracle cause
    the public interface to get turned off and then restored at random
    time intervals? To elaborate, we have a 2 node cluster database.
    Solaris 10, Oracle 10gR2 RAC with patch 10.2.0.3 applied. No SUN
    clustering is involved. When the cluster software is down (nodeapps,
    asm, database instances all down) /var/adm/messages show nothing. When
    we start nodeapps on the 2 nodes(thus initiating some form of
    communication between the nodes), at random time intervals we get
    "interface ce0 turned off and interface ce0 restored" in /var/adm/
    messages. When we check the status of the RAC, we see that one node's
    vip has been assigned to the other. This on/off behaviour of the NIC
    can be eliminated only if we continuously PING it from a another
    client in the network.
    As a matter of fact, the RAC and the RDBMS work perfectly when we keep
    pinging the 2 nodes from an other client on the network. We even
    managed to run a long batch job, distributed on cluster managed
    services on the 2 instances, and it completed after 9 hours without
    any problems.
    Does anyone have a hint on this behaviour? Is there some sort of
    timeout for the network cards? Some power saving features? Googling
    around I came across the new Containers feature available on Solaris
    10. Is there a way that I can verify that either RAC or the RDBMS is
    running in "container" mode ( since the solaris and Oracle
    installation was not performed by me)? Any other ideas?
    Thank you for reading

    Im an Oracle guy - not the SA type -
    But on ours - the SA configured this cluster incorrectly. We use veritas. instead of making ipmp groups for the interfaces - he built the cluster according to veritas docs. That is - he has two publics - on difference interfaces and different privates on different interfaces. oracle can only two interfaces - no matter if its a ipmp group or a device name. one is used for private- the other is used for public - So sure the veritas cluster filesystems will survive - but the Oracle Cluster will not - nodes will reboot -
    Is your system set up incorrectly as i described above? if it is - a quick test would be - turn down the other interfaces - and only leave the two interfaces you mention above up that you configured for Oracle CRS
    This other sharp sa was able to go through the arp table and see duplicate IPs - and the routing was attempted via an interface that oracle doesnt see. You can not define two different interfaces public - and two different interfaces for private -

  • Questions about free Download Oracle 10g, Database and Developer suite

    Hi everyone, got some questions..
    1) Is it possible to download free Oracle 10g and Developer suite? is a 30 day license trial or something like that?
    2) On windows systems which are the minimun requirements?, for example in a Pentium 4, 512Mb RAM, Windows XP Home edition is OK?
    3) Should I download Standard Edition? Personal?
    4) If I am trying to update my Oracle Developer knowledge (I was developer on 1999 with Oracle 7.3 and Developer 2000) what products do I have to install?? Oracle DB 10g, Developer Suite,Application Server too?, what else?
    Thanks guys!
    J.

    My answer you could find here Questions about free download Oracle 10g, Developer Suite

  • Using Clob with TopLink 9.0.4.5 and Oracle 10g RAC

    I am trying to store an XML file in a Clob type field of a DB table using TopLink 9.0.4.5 and Oracle 10g RAC and need some guidance about how to do it. I got some directions to start it with the Tip "How-To: Map Large Objects (LOBs) to Oracle Databases with OracleAS TopLink" but still need some more helps.
    When using the Oracle JDBC OCI driver, the tip gives the code block for a Clob field:
    DirectToField scriptMapping = new DirectToField();
    scriptMapping.setAttributeName("script");
    scriptMapping.setFieldName("IMAGE.SCRIPT");
    descriptor.addMapping(scriptMapping);
    As I understand, TopLink creates instances of the Descriptor class at run time for each of the descriptor files and stores them in a database session, where is the proper place (in SessionEvent of TopLinkSessionEventHandler?) for me to get a reference to such an instance of my Descriptor class in Java code so that I can add the above mentioned additional Mapping? Are the above String values of "script" and "IMAGE.SCRIPT" predefined in TopLink API? Can I accomplish the same thing just using the TopLink Workbench tool instead? If yes, please advise the detailed steps to do so.
    The tip also states to call the following code in case of using Clob:
    DatabaseLogin login = session.getLogin();
    login.useStringBinding();
    Should the above 2 lines of code be called after the following lines of code?
    SessionManager sessionManager = SessionManager.getManager();
    Server serverSession = (Server)sessionManager.getSession("MY_SESSION_NAME");
    Besides the above extra coding for the Session and Descriptor Mapping, is there any special handling in between Data model and DB table mapping? Can I map a Java String type to a DB Clob field using the Direct-to-field mapping?
    Appreciate any help.

    Never mind ....... I had already figured it out .....

  • Oracle 11.5.9 and Oracle 9i RAC fresh install

    How is there an Oracle 11.5.9 and Oracle 9i RAC fresh install

    No, except you upgrade your developer patchset which should not be an issue for the customized forms you have.
    Can you please explain more in detail about this option and i will be thankful. Appreciate your help.Please see (Upgrading Developer 6i with Oracle Applications 11i [ID 125767.1]) for the steps you need to follow to upgrade your developer patchset.
    Your custom reports should work find after this upgrade, and in case you have any issues you can try to compile those forms again -- How to Generate Form, Library and Menu for Oracle Applications (11i and R12) [ID 130686.1]
    Thanks,
    Hussein

  • Question about Communication with Oracle 7

    Hi,
    Generally we use Oracle Snapshots for Communication, but since Oracle 9.2.0.5 do not work with Oracle 7.1.5.2.4. we are thinking about do use Oracle Interconnect for this Link.
    Now I have the following two Questions about Communication with Oracle 7:
    1. Is an Adapter for Oracle 7.1.5.2.4 available?
    2. From your experience, does it make sense to install Oracle Interconnect for implementation of only one read only Link with 3 Tables if an OAS for BI is available?
    Thanks,
    Hannes

    1. The Oracle database adapter is for Oracle 8i and up. I checked the code needed in the database and doubt that will work in Oracle 7.
    1. The other option Advanced Queuing also needs 8i and up.
    2. For me it doesnt make sense that you want to connect to Oracle 7. Oracle 7 is unsupported and should not have to be developed against. Also the license costs for Oracle Interconnect ~17K without any discount is a bit steep for read only links to three tables. Having the OAS means you wont have to pay another additional ~17K for the apps server.

  • Upgrade Oracle 10gR2 RAC to 11gR2 RAC

    Hi Gurus,
    I got a requirement to upgrade my existing environment from Oracle 10gR2 RAC to 11gR2 RAC. My environment details are as follows
    Operating system RHEL 5.5
    Cluster version 10.2.0.4
    ASM version 10.2.0.4
    Database version 10.2.0.4
    Storage HP EVA (Multipathing)
    Could any one please specify the links or documents to complete this task!
    Thanks & Regards,
    Venkat

    HI!
    In my practise we have hardware to move 10g -> 11g.
    We upgrade our DB's -> install Grid 11g on new server, move DB 10g, Upgrade 10g -> 11g.
    You should work on this topic's:
    Oracle® Database Upgrade Guide 11g Release 2 (11.2)
    NEW FEATURES 11gr2
    Complete Checklist for Manual Upgrades to 11gR2
    Oracle Recommended Patches
    Oracle Clusterware - ASM - Database Version Compatibility
    How to Download and Run Oracle's Database Pre-Upgrade Utility
    Best Practices to Minimize Downtime During Upgrade
    Things to Consider Before Upgrading to 11.2.0.2 Grid Infrastructure
    Different Upgrade Methods For Upgrading Your Database
    All in you hands!!!

  • A question about grub and USB

    Hi All
    I have a quick question about grub and USB that I can't quite find the answer to by searching.   Most of the FAQs discuss booting a full linux dristribution from USB. My situation is this.  I am getting a new computer with two drives, the second will be arch and the first will be Vista (for my wife).  I want the computer to boot the same way that my wife's machine boots at work so I don't want to install grub on the MBR.  So, is there a way to have all of the grub config files and kernels installed on the second drive and simply install to grub boot loader to the MBR of a USB stick?  My goal would be to simply plug the USB stick into the new PC and boot arch from the second drive. 
    Thanks
    Kev

    i cant say for hp's
    havent worked on any in a while
    recent machines have been coupleof dell's , vaio & emachine
    which dells do offer it at least the ones i tried , my laptop does(dell)
    all home pc's are built by me which do offer to boot individual drives
    what hp you getting it may tell in specs
    are both discs sata? if so it might not offer this option with 2 drives of same interface
    check your power supply alot of these preconfigured machines put cheap under reated power supplies in there
    & will burn your motherboard i just replaced PS(250 watt) & mobo(845gvsr) in an emachines <cheap stuff<
    i hope you researched the pc before buying ie : mobo, power supply are the biggest concerns
    i find it much more benificial to build my own machine gives me peace at mind. the cost is sometimes more in $ but not always , your biggest expense is time researching hardware
    if you live in usa the best places to start looking are bensbargains.net & pricewatch.com
    i am not affiliated with either & niether sell the hardware they are just advertisers a place to buy
    for costomized machines that i would trust is unitedmicro.com theyll asemble & test before shipping
    i have gotten 2 machines so far from them with NO PROBLEMS with hardware (knock knock)
    you may want to consider this in your next venture for pc

  • I have a Macbook Pro june 2011... I have 8GB ram but I only have 256mb VRAM... I've read some other questions about this and I realized... Why do I not have 560mb of VRAM since I have 8GB of RAM? Is there any way to get more VRAM to play games on steam?

    I have a Macbook Pro june 2011... I have 8GB ram but I only have 256mb VRAM...
    I've read some other questions about this and I realized... Why do I not have 560mb of VRAM since I have 8GB of RAM?
    Is there any way to get more VRAM to play games on steam?
    I've learned  by reading other topics that I can't upgrade my graphics card on my Macbook Pro because it's soldered into the motherboard or somthing like that, but please tell me if there is any way to get more video ram by chaning some setting or upgrading something else. I'd also like to know why I only have 256MB of VRAM when I have 8GB of RAM, since I have 8GB of RAM I thought I was supposed to have 560mb of VRAM...
    So the two questions are...
    Is there any way to upgrade my VRAM, so that I can play games on steam?
    Why do I only have 256MB VRAM when I have 8GB total RAM?
    Other Info:
    I have a quad core i7 Processor.
    My graphcics card is the AMD Radeon HD 6490M.
    I am also trying to play games on my BOOTCAMPed side of my mac, or my Windows 7 Professional side.
    THANK YOU SO MUCH IF YOU CAN REPLY,
    Dylan

    The only two items that a user can change on a MBP are the RAM and HDD (Retinas not included).  You have what the unit came with and the only way you will be able to change that is to purchase a MBP with superior graphics
    If you are very much into gaming, the I suggest A PC.  They are far superior for that type of application to a MBP.
    Ciao.

  • A few questions about MacBooks and Parallels Desktop.

    I have a few questions about MacBooks and Parallels Desktop.
    1) I understand I need at least 1GB of RAM to run Parallels Desktop but what about the hard drive, is the stock 60GB drive big enough?
    2) Related to question 1, even if it was big enough to allow me to install and run Windows would the 60GB drive be enough if I wanted to install a Linux distribution as well?
    3) This has nothing to do with Parallels Desktop but thought I'd ask it here anyway, do Apple Stores carry just the stock MacBooks, or do they carry other configurations?
    Thanks
    Keith

    1. Depend on how intensive you use that HD for saving data on both Mac OS and XP. For standard installation on both OS X and XP, the space of 60 Gb is enough.
    2. Same answer as no 1. You can install all three on that HD space, but the extra spacce available will be less and less for your data. You can save your data on external or back up on cd/dvd and erase it from the HD to keep the free space.
    Remember to leave at least 2 or 3 Gb for virtual memory usage.
    3. Just call them, maybe they don't have it in store stock, but by appointment they might configure one for you before your pick-up date.
    Good Luck

  • One question about Pricing and Conditions puzzle me for a long time!

    One question about Pricing and Conditions puzzle me for a long time.I take one example to explain my question:
    1-First,my sale order use pricing procedure RVAA01.
    2-Next,the pricing procedure RVAA01 have some condition type,such as EK01(Actual Costs),PR00(Price)....,and so on.
    3-Next,the condition type PR00 define the Access Sequences PR00 as it's Access Sequences.
    4-Next,the Access Sequences PR00 have some Condition tables,such as:
         table 118 : "Empties" Prices (Material-Dependent)
         table 5 : Customer/Material
         table 6 : Price List Type/Currency/Material
         table 4 : Material
    5-Next,I need to maintain Condition tables's Records.Such as the table 5(Customer/Material).I guess the sap would supply one screen for me to input the data of table 5.At this screen,the sap would ask me to select one table,such as table 5.When I select the table 5,the sap would go to the screen to let me input the data of table 5.But when I use the T-CODE VK31 or VK32 to maintain Condition tables's Record,I found it's total different from my guess:
    A-First,I can not found one place for me to open the table,such as table 5,to let me input the data?
    B-Second,For example,when I select the VK31->Discounts/Surcharges->By Customer/Material,the sap show the grid view at the right side.At the each line of the grid view,you need to select the Condition Type at the first field.And this make me confused very much.Why the sap need me to select one Condition Type but not the Condition table?To the normal logic,it ought not to select Condition table but not the Condition Type!
    Dear all,I'm a new one in sd.May be this is a very stupid question.But it did puzzle me for a long time.If any one can  explain this question in detail and let me understand the concept,I will appreciate him/her very much.Thank you.

    Hi,
    You said that you are using the T.codes VK31 or VK32.
    These transaction codes are used to enter condition records for standard condition types. As you can see a grid left side having all the standard condition types like price, discounts, taxes, frieghts.
    Pl check using T.code VK11 OR VK12 (change mode)
    Here you can enter the required condition type, in the intial screen. (like PR00, MWST, K004, K005 .....etc)
    After giving the condition type, press enter or click on Combinations icon on top of the screen. Then you can see all the condition tables which you maintained for that condition type. Like as you said table 118, table 5, table 6 and table 4.
    You can select any table and press enter, then you can go into the screen in which you have all the field cataglogues you maintained for that table. For example you selected combination of Customer/Material (table 5) then after you press enter then you can see customer field on top, and material fields.
    You can give all the required values and save the conditon record.
    Hope this is clear.
    REWARD IF HELPFUL.
    Regards,
    praveen

  • 2 question about GPU and Lens correction ,cs5

    Hi
    i have 2 questions about Gpu and lens correction in Cs5
    1)Filter->lens correction->search online
    i get often and almost every connection time out at the first click on search online , at the second click i get no online profile
    is it normal?
    2) question is about Gpu
    it run faster , but talking about ajustament layer
    like saturation or vibrance for example
    i found with the gpu on , a light slow refresh compared with gpu off
    i have set cache  levels 6 ,history 20
    i guess are the defaul
    well i add a saturation layer and move the saturation slide ,increase o decrease saturation
    with Gpu Off , the changes are immedially , i mean i can see in real time the increase o decrease of saturation
    with Gpu On it takes a few(very few) time more
    again is normal ?
    don't be angry , i'm going to buy cs5 and i'm unsecure ... the price make a big role
    thanks

    For what it's worth, I also see a timeout on the first [ Search Online ] click, after about half a minute delay.  Second click turns up results immediately.  This happens each time Lens Correction is started, even without restarting Photoshop, and in both 32 and 64 bit versions.  Also note that I started with one profile listed by default (though from the wrong camera) for my 40D with 28-135 zoom.
    I alsow noticed that I was seeing progress bar activity in the Lens Correction dialog while I was typing this (even though Lens Correction was NOT the active window) every time I hit the 'L' key.  Strange.
    Windows 7 x64.
    -Noel

Maybe you are looking for

  • How to use UNSPSC code in SRM MDM ?

    Hi, We are in migration from CCM 2.0 SRM MDM. In CCM , we are uploading the catalogs with UNSPSC and material group. Either any one is mandatory. If they give UNSPSC code in catalog, while uploading we are mapping to correspoding material group. But

  • Portal XML Component Error when pulling content from iFS

    Has anyone tried to use Portal's XML Component application to pull XML data out of iFS via URLs successfully? I'm using iFS 1.1.10 and 9iAS 1.0.2.2a. I've loaded an XML instance and XML style sheet in iFS (that parse fine in XMLSpy) and tried to disp

  • Map the Output of Two BLT's to an iGrid?

    Hi all,         Can i map the the output of two BLT's to one iGrid. Is it possible?? Thanks, Sushma.

  • Dm-crypt / LVM install issue [SOLVED]

    --SOLVED-- Jeez..  I've been doing encryption and lvm for a long time..  I can't believe I had a brain fart on the install..  LOL Well, I didn't think I'd need to ask for help this quick after coming back to Arch..  LOL But.... I'm attempting to inst

  • Permanently remove apps

    hi all, I found out that the latest version of Appstore in Iphone, will shows the previous apps that i purchased, even i already deleted it, Also in Itunes. I do not wish to see all this apps anymore, can someone advise me how to deleted it permanent