Error when changing database connection

I changed my connections.properties file to a database other than the one I used to develop my application. I was able to connect to the new database successfully from the application but when I tried to insert a new row I received the following error:
JBO-26041: Failed to post data to database during "Insert". SQL Statement "BEGIN INSERT INTO ITEMS (ITEM_ID, ITEM_STATUS, CATEGORY, SOURCE_TYPE, IMAGE_TYPE) VALUES (:1,:2,:3,:4,:5) RETURNING ITEM_ID INTO :6; END;".
ORA-06550: line 1, column 102: PLS-00103: Encountered the symbol "RETURNING" when expecting one of the following...
Does anyone know what is causing this problem?
Thanks,
Joanna.
null

Your new database connection must be pointing to an older database which doesn't support the returning clause. I believe this was added in the 8.x series.
Rob
null

Similar Messages

  • Error when changing database time zone

    Hi all,
    I have Oracle 9.2.0.1.0 on Windows 2000 Pro. I try to change the time zone of the database using
    ALTER DATABASE SET TIME_ZONE = '+01:00'
    but it fails with error ORA-02231.
    Am I missing something?

    This is an expected behaviour, it's just that the message text was not meaningful.
    Basically if there is a TSLTZ column in the database, user is not allowed to change the database time zone. This is because it will invalid their existing TSLTZ data.
    You should either perform ALTER DATABASE SET TIME ZONE before creating any tables with TSLTZ columns, or drop the TSLTZ columns first before doing the ALTER DB statement.
    According to Bug 2435266, the error message has now been changed to
    ORA-30079: cannot alter database timezone when database has TIMESTAMP WITH LOCAL TIME ZONE columns

  • Error when testing database connection

    Hi,
    I've downloaded v 3.0 and when i enter the basic data and test conection, it gives me following error:
    nosuchmethoderror oracle.i18n.text.oraboot.getcharsetmaxcharlen (Ljava/lang/string;)Ljava/lang/string;
    What can i do?
    v2 worked well, but i deleted it...

    Try to create a batch file (datamodeler.bat) under Data Modeler installation folder and put the following two lines in it:
    set ORACLE_HOME=%CD%
    start datamodeler.exe
    Then double click on this file to start Data Modeler.
    Ivan

  • Getting Error when trying to connect to the Primavera database. PPM V7 SP3

    Hi Guys,
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailService' defined in class path resource [com/primavera/bre//com/primavera/bre/integration/intgconf.xml]: Invalid destruction signature; nested exception is org.springframework.beans.factory.support.BeanDefinitionValidationException: Couldn't find a destroy method named 'destroy' on bean with name 'mailService'
    I have looked into the intgserver.jar under P6IntegrationAPI/lib and looked the com.primavera.infr.srvcs.MailServiceImpl.java and can see that there is no destroy method whereas it is defined in the com.primavera.bre.intergration.intgconf.xml as below
    <!-- provides mail services -->
    <bean id="mailService" class="com.primavera.infr.srvcs.MailServiceImpl" init-method="init" scope="singleton" destroy-method="destroy"*+>
    <property name="adminManager"><ref bean="adminManager"/></property>
    <property name="threadPool"><ref bean="threadPool"/></property>
    <property name="settingsManager"><ref bean="settingsManager"/></property>
    </bean>
    I get the above error when trying to connect to the Primavera database. I use PPMV7 SP3 and I have installed the Integration API from EPPMV7 bundle.
    My demo's are working fine.
    Any help would be appreciated.
    Thanks,
    Kajal.

    Hi Marc,
    I am using a userid (is an admin)
    Using global login method and provided userid & password in integration settings.
    In the machine profiles, provided userid, password and domin.
    Not providing domain in weblogin.
    With all the above I am still getting error "Could not authenticate the specified user. %0" for HFM application
    And with the same settings I am not getting any error to connect to essbase cube.
    Any suggestions?
    Thanks
    Krishna

  • When changing database directory in lk6.5, no alarms are logged anymore.

    When changing database directory in lk6.5, no alarms are logged anymore. Traces are running ok, only any query in MAX concerning alarms, will result in an empty response

    Hi Ryan,
    I tried many ways. First as you described. Second; delete all databases (with MAX) and start lookout, hoping lk would make al necessary settings.
    I tried short path name, long path name. All the same results; database will be made (or manually with Max or automatically by lk), all traces works, only NOT the Alarm logging. (database isn't corrupted, while a query done in MAX don't result in an error, just empty result).
    I the meantime I found something;
    C:\Documents and Settings\my name\my documents\Databse --> traces works, alarms not
    C:\Program Files\National Instruments\Lookout 6.5\Database --> all works
    So it seams that specificly "my documents" does'nt work for alarms, just for traces (????)
    I also found the following message when trying to export the alarms; "The given Citadel database is not currently configured to log alarms to a relational database." Does this ring a bell?

  • Error when opening RFC Connection

    Hello SAPers,
    I have configured PDA in my ECC6.0 --- XI (ABAP+JAVA) Which was successful.
    In my Web Dyno Pro Content Administrator
    I have performed the JCO Destinations test which was successful
    when I go to the URL
    http://server:port/webdynpro/dispatcher/sap.com/isisrsrsmenapp/MainApp
    entered the store number
    In the next menu
    Inventory Lookup when I enter the Article number and press Go Button
    It is giving me error " Error when opening RFC Connection "
    Rest of them working perfectly...
    Do I need to do any configuration In Visual Admin?
    Could anyone advice
    Thanks In Advance
    HariKrishna

    Thanks it got solved it was an error in RFC, I have changed the RFC now it is working fine
    Thanks
    Hari

  • Oracle Fatal error when trying to connect through sqlplus

    Hi,
    I am getting the below error when trying to connect to instance through sqlplus
    Database version is :10.2.0.3
    Operating system= Solaris Operating System (SPARC 64-bit)
    OS version=5.10
    [lscbd07p2*BMC]-\ORACLE>sqlplus
    SQL*Plus: Release 10.1.0.4.0 - Production on Fri Nov 9 07:48:24 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: /as sysdba
    ld.so.1: oracle: fatal: relocation error: file /u01/app/oracle/product/db/10.1.0.4/lib/libjox10.so: symbol kststop_: referenced symbol not found
    ERROR:
    ORA-12547: TNS:lost contact
    Enter user-name:
    Could you all please give me suggestions in order to solve this problem.
    Thanks
    Mannu

    Have you recently patched/upgraded? This sounds like there might have been a problem relinking the executables / libraries, and/or a permissions problem. For example you may be referencing a 32 bit library with your 64 bit client.
    I believe I recently read a similar case - check Metalink for this symptom.
    HTH
    Regards Nigel

  • ORA-12560: TNS:protocol adapter error when trying to connect

    hopefully somebody can help me out... the problem i'm having is connecting to the scott/tiger database. i keep getting :
    "ORA-12560: TNS:protocol adapter error" when trying to connect to it. it worked previously, but i unistalled oracle 8i personal and reinstalled it. now it doesn't let me connect. what's going on?
    thanx,
    uriah

    You can run the net8 assistant to set up your tnsnames.ora file.
    start/programs/oracle/network administration/net8 assistant
    When you are done it should look something like this:
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
         (PROTOCOL = TCP)
         (Host = )
         (Port = 1521)
    (CONNECT_DATA = (SID = ORCL))
    Bev

  • Workspace Error 8001: The Database Connection could not be found

    We had to reboot all our windows servers recently and since then all the database connections in the database base manager in workspace are gone.
    I can see all the existing reports but cannot use any of them as I dont have any connections.
    Also I cannot create any new connections
    I get the error 8001: The Database Connection could not be found: 13cbd63_12b5e2a8b73_-7f8f when I try to create a new connection.
    Not sure what the problem is.
    Any suggestions?

    Hi Pat,
    It loks like your Biplus relational DB is corrupted, try with those steps:
    1. De-register BI+ from Shared Services (Config Utility->Hyperion Reporting and Analysis > Deregister from Shared Services)
    2. Configure against the backup database (Drop and recreate tables option).
    3. Re-register BI+ with Shared Services.
    4. Re-deploy BI+.
    5. Test Workspace and add new connections.
    Regards.

  • I keep getting an unknown error when trying to connect to the store. I ran diagnostics and it says secure link to itunes store failed.

    I keep getting an unknown error when trying to connect to the store. I ran diagnostics and it says secure link to itunes store failed. I've tried all suggestions from apple and nothing will work.
    Please Help

    I received this email from Apple and this corrected the problem for me...  I only had to reset the iTunes cache
    1) Open iTunes
    2) At the top menu, click File > Preferences (iTunes > Preferences on a Mac)
    3) In the Preferences menu, click the Advanced tab
    4) In the Advanced menu, you should see a button that says "Reset Cache". Please click this button.

  • Change database connection for FRS Report

    currently we are using ASO BSO model and all FRS reports are retrieve against BSO Database.Now we are converting to ASO only model. can i use the same report against ASO database .
    There is a option of chang database connection under tool in workspace . will this work or do i have to make all reports again
    can you please help me with this
    thank you

    IN some cases even if the report has additional dimensions it will work. After you change the connection. Open the report in designer. The new dimensions will automatically update. Save the report and you should be good to go. If dimensionality is exactly the same you don't even have to do that, just change the connection, point ot the new database and run the report.

  • Errors when trying to connect CRM 7.0 to Enterprise Search

    Hi!
    I encountered 2 errors when trying to connect to a CRM 7.0 system as a backend system from Enterprise Search Cockpit.
    The first error is related to ESH_INT_GET_TREX_DESTINATION with a message of ESH_OM_OBJ_MODEL_REP 517:
    http://img39.imageshack.us/img39/9722/eserrors1.jpg
    The second error is related to "Errors during data cluster import from remote system":
    http://img97.imageshack.us/img97/7976/eserrors2.jpg
    I don't know if these two errors are related, but any help or suggestions will be greatly appreciated!!
    Thank you!
    Regards,
    Paul

    4.0 should be fine. My initial thoughts were on the script targetting a framework lesser than 3.5. Am bummed about the error cause in the line
    ClientContext clientContext =
    new ClientContext(client);
    it just creates an instance of the ClientContext class. It should have nothing to do with permissions cause it is not even trying to connect to the sharepoint site. So it looks like it can't find the assembly. Can you place the asembly
    under the Microsoft.Net\Framework folder of your machine. SSIS looks for custom assemblies in this folder on design time (Refer
    this) Worth a try hey!
    http://btsbee.wordpress.com/

  • Error number 207 error type SPECIFIC_CODE IMPORT ABAP phase error when install database instance

    IMPORT ABAP phase error when install database instance
    Error number 207 error type SPECIFIC_CODE.
    In phase   "Import ABAP" the installation halts with error. Can anyone please tell me what error should I search for and (possibly) what is the solution? 
    Thanks in advance
    synxcaccmg.cpp: 133: PSyUser CSyAccountMgtImpl::getUser(iastring sNameOrSID) const
    syxxccache.cpp: 267: CSyAccountCache::getUserImpl(name="IboSap-PC\nspadm", sid="", create=false)
    syxxccache.cpp: 276: CSyAccountCache::getUserImpl(name="IboSap-PC\nspadm", sid="", create=false, ISyProgressObserver* )
    synxcuser.cpp: 119: CSyUserImpl::CSyUserImpl(const CUserData&, bool)
    Account user="IboSap-PC\nspadm" does not exist.
    Failed action:  with parameters
    Error number 207 error type SPECIFIC_CODE

    It is not easy, really , it has taken many hours and at the End I got the problems,.
    so I have decided to pay 20 $ every month, and I can get an access IDES to SAP, ERP, ABAP.
    without any problem.  In ABAP, I have only Sflight ,SBOOK etc. but MARA, and others tables, dont exist, .
    I know, some students have not enough money, so what can we do? every one get problem with installaion and others after installaion, with server, 3 days work, and NSP becomes RED. Yellow, etc.
    anyway. thank you for all.
    Best Regards.

  • There was an error when attempting to connect to the Windows Live Calendar service.

    I keep getting a message when I want to check my email you are not connected (but I am,as I can get in my Webbrowser) and the following error message  
    There was an error when attempting to connect to the Windows Live Calendar service. If the error persists, check to see if there's an upgrade of Windows Live Mail available or contact a service representative.
    Can anyone help me, no sense sending me an email, I cannot get into my email.
    Lucienne1

    Hi,
    Try installing Windows 2012 Live Essentials here.
    You will have to set up your Pop 3 or IMAP email account after installing the updated version per above.
    Are you using an Internet Service Provider Email  account or a cloud based (IMAP) Email account?
    Pop 3 accounts will require incoming and outgoing server addresses and any additional security settings required by your ISP. If you don't have the required settings for Pop 3 you will have to contact your ISP for those.
    Jaco
    ****I am not an HP employee****
    Errare humanum est.

  • Keep getting sync service error when trying to connect my iphone 5S.

    Keep getting sync service error when trying to connect my iphone 5S. It freezes itunes and I can't do anything else. I see that there is an update for my phone and I need to back up, upload new apps, etc before installing. I plug my phone in and get this error every time. I am using a Win 7 SP1

    Howdy Susie48825,
    It sounds like you are getting an error that mentions the sync services when you connect your phone to your computer and so you cannot sync your device. I would use the troubleshooting from the following article that  mentions an error regardign the sync services named:
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert
    http://support.apple.com/kb/ts2690
    Start with these steps:
    1. Check that iTunes is up-to-date
    Ensure that you have updated to the latest version of iTunes.
    2. Reset Sync History
    Resetting your Sync History is a simple step which may resolve some syncing issues. If this works, iTunes will prompt to Merge or Replace the information on your device when you next attempt to sync. To reset your Sync History:
    Disconnect your device.
    Open iTunes.
    From the Edit menu, choose Preferences.
    Click the Devices tab.
    Click the Reset Sync History button, and then reconnect your device.
    If this resolves the issue, and you know all of your contacts, calendars, bookmarks and notes are on your computer:
    Reset the Sync History again using the steps above.
    Select the device in iTunes and click the Info tab.
    Scroll down to the Advanced section, and under "Replace information on this iPhone/iPad/iPod touch" select Contacts or Calendars.
    Click Apply.
    If the issue persists, and you know all your contacts, calendars, bookmarks and notes are on your iPhone, iPad, or iPod touch:
    Remove all of the contact and calendar information from Outlook.
    Select the device in iTunes and click the Info tab.
    Scroll down to the Advanced section, and under "Replace information on this iPhone/iPad/iPod touch" make sure Contacts and Calendars are not selected.
    Click Apply.
    There are additional steps to use in the article if needed, but these will get you started.
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

Maybe you are looking for

  • Exporting to JPEG as a batch

    Hi, I'm working on a project where I'm exporting a large number of InDesign pages to JPEGs. I'll have to repeat the process several times as I make edits (therefore having to replace the old ones). Everytime you replace all the pages you have to say

  • Is the version PHP 5.2.6 fully compatible with version OCI8?

    Good Morning everybody: The different versions of PHP and OCI8 under oracle documentation are: To PHP 5.2.7: OCI8 1.2.5 (Oracle Client 8i, 9i, 10g, 11g) To PHP 5.2.7: OCI8 1.2.5 (Oracle Client 10g, 11g) To PHP 4.3.9: OCI8 1.3.4 (Oracle Client 9iR2, 1

  • Digital audio-in to line-out?

    Hello all, I've just got myself a PS3 and am wanting to route the digital audio from my PS3 to the Mac and out to my speakers. I have the optical cable going in the digital-out of the PS3 and in to the digital-in of my Mac Pro. Looking at the Sound p

  • Itunes and cd drive

    when i put a cd in the disk drive, itunes won't recognize it and transfer it into the library. does anyone know what i need to do?

  • RAC Installation

    hi i m trying to install 9i RAC on windows 2000....installation guide realy doesnt work....according to installation guide i created logical drives on my single hard disk and down loaded CLUSTER FILE SYSTEM pack from oracle website.....next step is t