IDENTITY_INSERT is set to OFF.

I have a dynamic site.
When I insert an integer (a whole number) in a raw materials purchase table, I get the following message:
Error Executing Database Query.
[Macromedia][SQLServer JDBC Driver][SQLServer]Cannot insert explicit value for identity column in table 'tblRawMatlPurch' when IDENTITY_INSERT is set to OFF.           
When I change to or insert a numeric, decimal, or money value, I get the following message:
Raw Materials Decision
Company:  Grande
You have NOT successfully submitted the Raw Materials Decision form
Please note that the purchase amount must be a whole number, please do not enter a decimal for this number.
Return to correct
I have two programs: one is in the secure section, and the name is secure/raw_materials_decision_action, indicating that the raw material purchase variable (rawMat) is a money variable. Giving this information I set it in SQL as a money variable. Here is the file:
<!---  get Company Name --->
<cfquery name="getCompany" datasource="#application.dsn#">
  Select companyName
  From tblCompNames
  Where companyID=<cfqueryparam cfsqltype="cf_sql_integer" value="#getAuthUser()#">
</cfquery>
<cfparam name="form.changes" default="">
<cfset error = "">
<!--- All users must have raw materials associated with city and product when user profile created --->
<!--- update action --->
<cfif form.changes NEQ "">
<!---  go through changes - if they changed cost or selling price, will contain cost_id --->
  <cfloop index="x" list="#form.changes#">
  <cfif trim(x) NEQ "">
  <cfset thisSalesOrderID = trim(x)>
  <cfset thisRawMatID = form["rawMatID_#thisSalesOrderID#"]>
  <cfset thisCity = form["cityID_#thisSalesOrderID#"]>
  <cfset thisProduct = form["productID_#thisSalesOrderID#"]>
  <cfset thisPurchase = form["purchase_#thisSalesOrderID#"]>
  <cfif thisPurchase NEQ "" AND (not isNumeric(thisPurchase) OR thisPurchase CONTAINS ".")>
  <cfset error = "yes">
  </cfif>
  <cfif error EQ "">
  <cfquery name="getRow" datasource="#application.dsn#">
  Select *
  From tblRawMatlPurch
  WHERE SalesOrderID=<cfqueryparam cfsqltype="cf_sql_integer" value="#thisSalesOrderID#">
  </cfquery>
  <cfif getRow.RawMat NEQ thisPurchase>
  <cfif getRow.recordCount NEQ 0 AND trim(thisPurchase) NEQ "">
  <cfquery name="updateRow" datasource="#application.dsn#">
  Update tblRawMatlPurch
  Set CityID = <cfqueryparam cfsqltype="cf_sql_integer" value="#thisCity#">
  , ProductID = <cfqueryparam cfsqltype="cf_sql_integer" value="#thisProduct#">
  , RawMatID = <cfqueryparam cfsqltype="cf_sql_integer" value="#thisRawMatID#">
  , RawMat = <cfqueryparam cfsqltype="cf_sql_money" value="#trim(thisPurchase)#">
  WHERE SalesOrderID=<cfqueryparam cfsqltype="cf_sql_integer" value="#thisSalesOrderID#">
  </cfquery>
  <cfelseif getRow.recordCount NEQ 0 AND trim(thisPurchase) EQ "">
  <cfquery name="deleteRow" datasource="#application.dsn#">
  Delete From tblRawMatlPurch
  WHERE SalesOrderID=<cfqueryparam cfsqltype="cf_sql_integer" value="#thisSalesOrderID#">
  </cfquery>
  <cfelseif getRow.recordCount EQ 0 AND thisPurchase NEQ "">
  <cfquery name="insertRow" datasource="#application.dsn#">
  Insert Into tblRawMatlPurch
  (SalesOrderID,companyID,cityID, productID,RawMatID,RawMat)
  VALUES
  (<cfqueryparam cfsqltype="cf_sql_integer" value="#thisSalesOrderID#">,<cfqueryparam cfsqltype="cf_sql_integer" value="#getAuthUser()#">, <cfqueryparam cfsqltype="cf_sql_integer" value="#thisCity#">, <cfqueryparam cfsqltype="cf_sql_integer" value="#thisProduct#">,<cfqueryparam cfsqltype="cf_sql_integer" value="#thisRawMatID#">,<cfqueryparam cfsqltype="cf_sql_money" value="#trim(thisPurchase)#">)
  </cfquery>
  </cfif>
  </cfif>
  </cfif>
  </cfif>
  </cfloop>
</cfif>
However, I have a second program in the files section: the raw material decision, which indicates that the variable must be an integer (a whole number).
<!---  Text Content for Raw Materials Decision Form
  DO NOT CHANGE ANY FORM NAMES OR ADD NEW FORM NAMES
  <input type="text" name="DO NOT CHANGE". . .>
  See raw_materials_decison_es.html for Spanish version of this file --->
<!---  User can enter just one purchase
  - the next time they use this screen it will show blank city/product/raw material purchases
  error message if they do not enter numeric value --->
<!---  get Materials for this company --->
<cfquery name="getMaterials" datasource="#application.dsn#">
  SELECT SalesOrderID, CityID, ProductID, RawMatID
  FROM tblRawMatID
  WHERE CompanyID=<cfqueryparam cfsqltype="cf_sql_integer" value="#getAuthUser()#">
  ORDER BY cityID, productID, rawMatID
</cfquery>
<!--- set Company name --->
<cfset thisCompany = getCompany.companyName>
<table width="600" border="0" cellpadding="5" align="center">
  <cfoutput>
  <tr>
  <td colspan="5" align="right">
  <a href="logout.cfm" style="text-decoration:none; font-weight:bold;">LOGOUT</a>
  </td>
  </tr>
  <tr>
  <td colspan="5">
  <h2>Raw Materials Decision</h2>
  <h5>Company:  #thiscompany#</h5>
  </td>
  </tr>
  </cfoutput>
<!---  Action display --->
<cfif form.changes NEQ "">
  <!--- Error Message - if there --->
  <cfif error NEQ "">
  <tr>
  <td colspan="5">
  <p>
  You have NOT successfully submitted the Raw Materials Decision form
  </p>
  <p>
  Please note that the purchase amount must be a whole number, please do not enter a decimal for this number.
  <br /><br />
  <a href='Javascript: history.back();'>Return to correct</a>
  </p>
  </td>
  </tr>
  <cfelse>
  <tr>
  <td colspan="5">
  <p>
  Thank you for your submission.
  </p>
  </td>
  </tr>
  </cfif>
<!---  START FORM --->
<cfelse>
  <!---  Show Materials already entered when Company set up --->
  <form action="raw_materials_decision.cfm" method="post" name="materials">
  <!---  changes hold the ID for any values that are changed to minimize time to check for changes
  - uses onChange in form input to send ID --->
  <input type="hidden" name="changes" value="" />
  <!--- top column headings for table --->
  <tr>
  <th>
  City
  </th>
  <th>
  Product
  </th>
  <th>Raw Materials</th>
  <th>
  Price</th>
  <th align="center">
  Purchase
  </th>
  </tr>
  <cfoutput query="getMaterials">
  <cfquery name="getCity" datasource="#application.dsn#">
  Select cityName
  From tblCities
  Where cityID = <cfqueryparam cfsqltype="cf_sql_integer" value="#getMaterials.cityID#">
  </cfquery>
  <cfquery name="getProduct" datasource="#application.dsn#">
  Select productName
  From tblProductCategories
  Where productID = <cfqueryparam cfsqltype="cf_sql_integer" value="#getMaterials.productID#">
  </cfquery>
  <cfquery name="getMaterial" datasource="#application.dsn#">
  Select rawMatDescription
  From tblRmatCategory
  Where rawMatID = <cfqueryparam cfsqltype="cf_sql_integer" value="#getMaterials.rawMatID#">
  </cfquery>
  <cfquery name="getPrice" datasource="#application.dsn#">
  Select rawMatPrice
  From tblRawmatPrices
  Where rawMatID = <cfqueryparam cfsqltype="cf_sql_integer" value="#getMaterials.rawMatID#">
  AND cityID= <cfqueryparam cfsqltype="cf_sql_integer" value="#getMaterials.cityID#">
  </cfquery>
  <cfquery name="getPurch" datasource="#application.dsn#">
  SELECT RawMat
  FROM tblRawMatlPurch
  WHERE companyID=<cfqueryparam cfsqltype="cf_sql_integer" value="#getAuthUser()#">
  AND cityID = <cfqueryparam cfsqltype="cf_sql_integer" value="#getMaterials.cityID#">
  AND productID = <cfqueryparam cfsqltype="cf_sql_integer" value="#getMaterials.productID#">
  AND rawMatID =  <cfqueryparam cfsqltype="cf_sql_integer" value="#getMaterials.RawMatID#">
  </cfquery>
  <tr>
  <td>
  #getCity.cityName#
  <input type="hidden" name="cityID_#salesOrderID#" value="#cityID#" />
  </td>
  <td>
  #getProduct.productName#
  <input type="hidden" name="productID_#salesOrderID#" value="#productID#" />
  </td>
  <td>
  #getMaterial.RawMatDescription#
  <input type="hidden" name="rawMatID_#salesOrderID#" value="#RawMatID#">
  </td>
  <td>
  #dollarFormat(getPrice.rawMatPrice)#
  </td>
  <td align="center">
  <input  name="purchase_#salesOrderID#" type="text" value="#getPurch.rawMat#" size="12" onchange="document.materials.changes.value=document.materials.changes.value + ', #salesOrderID#';" />
  </td>
  </tr>
  </cfoutput>
  <!--- blank space before submit button --->
  <tr>
  <td colspan="5">
  <br />
  </td>
  </tr>
  <!--- submit buttons --->
  <tr>
  <td colspan="5">
  <input type="submit" value="Submit Raw Materials" />
  <input type="reset" value="Reset">
  </td>
  </tr>
  </form>
</cfif>
</table>
I understand there is a conflict between the secure/raw_materials_decision_action program and the raw materials decision program, except, that I do not know how to fix it.
Perhaps, I could change, the raw materials variable from money to integer. But, I am not sure this will solve the problem.
Alternatively, I could try to change the raw_materials_decision, specification, to accept a decimal, numeric, or money variable, but, I have been revieweing the file, and I do not know how to make this change.
It is not obvious to me.
Is there anyone who could help with this problem to find a best possible solution?
I would appreciate the assistance very much.
Thank you.

TL;DR. The error you are receiving is from SQL. Identity fields are auto-assigned by the SQL server and you are sending a prepopulated value, thus the error. I can't really tell you how to easily fix this because I'm not sure what the app is trying to do nor do I know the underlying database schema. The most likely solution is to not send the identity value in your insert query and then use select @@identity if you require the auto-assigned value.

Similar Messages

  • Unable to get the composite instance for the invocation. This could be because instance has not yet been created or because the audit level for the SOA infra has been set to Off

    I am on Oracle 11.1.1.7 BPM suite on W8 64 bit. I can't launch the flow trace and get the error "Unable to get the composite instance for the invocation. This could be because instance has not yet been created or because the audit level for the SOA infra has been set to Off".  I have set the audit level to development at the soa-infra>SOA Administration> Common Properties > Audit level set to development and Capture Composite Instance State is Checked.
    Can somebody advice.
    Thanks

    Can you please confirm me the following steps...
    Log in to the EM console, Expand soa-infra (soa_server1) , go to the partition where your composite is been deployed, Click on your composite, On the right, click on the dropdown Settings and choose Composite Audit Level. you can choose to set the Audit Level for this composite. If you choose Inherit, it will take the settings to what the server is being set to. Otherwise, we can override it by choosing Off, Production, or Development.
    Make sure your setting for that composite is not Off, keep inherit or production or development.
    Thanks,
    N

  • I am changing to iCloud on my iMac, MacBook Air and my iPhone. My iMac and MacBook both moved over to iCloud but my iPhone when I go to Settings and click on iCloud it shows my Mail setting turned Off. When I turn it on it wants me to create a new

    I am changing to iCloud on my iMac, MacBook Air and my iPhone. My iMac and MacBook both moved over to iCloud but my iPhone when I go to Settings and click on iCloud it shows my Mail setting turned Off. When I turn it on it wants me to create a new email address to turn on iCloud Mail. I already have to "me" accounts plus another email address and don't want to create another one. I don't understand why it's asking me to do this on my iPhone but didn't ask on my iMac or MacBook and is there a way around creating another @me.com email address?

    Hello Timmy790
    Try the suggestions in the article below to resolve the issue of seeing your old Apple ID on your iPhone.
    iOS 7: If you're asked for the password to your previous Apple ID when signing out of iCloud
    http://support.apple.com/kb/ts5223
    Regards,
    -Norm G.

  • SPOOLing in sql developer does not take into consideration SET ECHO OFF

    I'm running SQL Developer 3.1.07.42 on Windows 7 64 bit with java 1.7
    I have the following very simple script just to show the problem:
    SET ECHO OFF;
    SET FEEDBACK OFF;
    SET SERVEROUTPUT ON;
    SET VERIFY OFF;
    SET PAGES 0;
    SET HEAD OFF;
    SPOOL c:\test.sql
    SELECT 1, 2, 3 FROM DUAL;
    SPOOL OFF;
    /if I run it in TOAD 10.6.0.42 it creates the file with
             1          2          3This is as expected (by me)
    if I run the exact same query in SQL Developer 3.1.07.42 , it creates the file with:
    < SELECT 1, 2, 3 FROM DUAL
    1 2 3(the < above is actually ">" but the CODE formatting software is screwing ">")
    but I don't want the ECHOed command to be spooled. For the life of me, I cannot find a way to disable the ECHO from spooling in sql developer.
    Tried the same in 3.0.4 and 2.1.1 with the same (bad) result (plus some warning on some of the unsupported SET commands).
    Am I missing something obvious? Cause like this, the spool command cannot be used in sql developer to generate a CSV file for example, because of the echoed command. And windows doesn't come with SED by default so that is out. (plus that my original script is integrated into a much larger and complex set of scripts and the main script using them is executed from SQL Developer as a company policy (so that everybody uses the same tool and the code runs the same for everybody))
    Any ideas/suggestions are welcome
    Thanks.

    Hi Gary, you seem to have some extensive knowledge. I'd like to follow-up on this thread and try to understand why SQL Developer won't hide the code even though I'm already running the code as a Worksheet (I assume you mean Run Script F5 button in SQL Developer).
    I generally develop in SQL Developer that does a lot of dbms_output to echo data using a Spool command. When I'm in SQL Developer I can't get the code NOT to spool, it typically is echoed directly in the spool file at the top followed by the dbms_output data. If I save the sql file and run in in sqlplus it only outputs the data (good). If I use @C:\xyz_script.sql and hit F5 in SQL Developer it only outputs the data (per your previous answer) -- good.
    So why can't I hit F5 in SQL Developer in the script file and have it only output the data? It just doesn't work no matter how many "SETs" you turn-off.
    Looks like Echo, Term, Feed are supported in SQL Developer, maybe supported means something other than work.
    http://www.oracle.com/technetwork/developer-tools/sql-developer/sql-worksheet-commands-097146.html

  • Slow calc time with SET CREATEBLOCKONEQ OFF for block creation

    Hello everyone,
    I have a problem with the slow execution of one of my calc scripts:
    A simplified version of my calc script to calculate 6 accounts looks like this:
    SET UPDATECALC OFF;
    SET FRMLBOTTOMUP ON;
    SET CREATEBLOCKONEQ ON;
    SET CREATENONMISSINGBLK ON;
    FIX (
    FY12,
    "Forecast",
    "Final",
    @LEVMBRS("Cost Centre",0),
    @LEVMBRS("Products",0),
    @LEVMBRS("Entities",0)
    SET CREATEBLOCKONEQ OFF;
    "10000";"20000";"30000";"40000";"50000";"60000";
    SET CREATEBLOCKONEQ ON;
    ENDFIX
    The member formula for each of the accounts is realtively complex. One of the changes recently implemented for the FIX was openin up the cost center dimension. Since then the calculation runs much slower (>1h). If I change the setting to SET CREATEBLOCKONEQ ON, the calculation is very fast (1 min). However, no blocks are created. I am looking for a way to create the required blocks, calculate the member formulas but to decrease calc time. Does anybody have any idea what to improve?
    Thanks for your input
    p.s. DataStorage in the member properties for the above accounts is Never Share

    MattRollings wrote:
    If the formula is too complex it tends not to aggregate properly, especially when using ratios in calculations. Using stored members with member formulas I have found is much faster, efficient, and less prone to agg issues - especially in Workforce type apps.We were experiencing that exact problem, hence stored members^^^So why not break it up into steps? Step 1, force the calculation of the lower level member formulas, whatever they are. Make sure that that works. Then take the upper level members (whatever they are) and make them dynamic. There's nothing that says that you must make them all stored. I try, wherever possible, to make as much dynamic as possible. As I wrote, sometimes I can't for calc order reasons, but as soon as I get past that I let the "free" dense dynamic calcs happen wherever I can. Yes, the number of blocks touched is the same (maybe), but it is still worth a shot.
    Also, you mentioned in your original post that the introduction of the FIX slowed things down. That seems counter-intuitive from a block count perspective. Does your FIX really select all level zero members in all dimensions?
    Last thought on this somewhat overactive thread (you are getting a lot of advice, who knows, maybe some of it is good ;) ) -- have you tried flipping the member calcs on their heads, i.e., take what is an Accounts calc and make it a Forecast calc with cross-dims to match? You would have different, but maybe more managable block creation issues at that point.
    Regards,
    Cameron Lackpour

  • SET UPDATECALC OFF error.

    I have an script with the instruction "SET UPDATECALC OFF;" but if I edit the script from a Destkop Administration Services Console, the Check Syntax option marks the script with error due to this line. If I edit the same script using the Administration Services Console I installed in the same server I have the Administration Server doesn't show the error, can somebody explian me why this is happening? A. Rdz.

    The calc script is as follows:
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    /* Name:               Pyear.CSC
    Author:               XXXXXXXXXXXXXX
    Date of last modification:     XXXXXXXXXX
    Description:          Prepares prior year for a new year. Copies Local and US Dollars from "Current Year" Scenario of closing year to the "Prior Year"
                        scenario of the new begining year.
    SET CACHE DEFAULT;
    SET UPDATECALC OFF;
    SET AGGMISSG OFF;
    FIX(Local, "US Dollars", Euros, "Comp Dlls Curr.", "Comp Dlls Prior", "XXXXXXXXXXXXXX")
    DATACOPY "Current Year"->&Prior_Year TO "Prior Year"->&Curr_Year ;
    ENDFIX;
    Edited by: user5170363 on Oct 28, 2009 3:08 PM
    I installed Administration Services Server in my computer and the problem gone but I don't think this should be the solution, please let me know your comments.

  • Composite state is set to "off"

    I have two composites which both use an OA Adapter to dequeue messages from ECX_OUTBOUND (the XML Gateway outbound queue). In order to prevent interference between the two composites, I shut down one (called UpdatePerson) using Enterprise Manager. When I examine the diagnostic log, I find that when a message is enqueued, UpdatePerson attempts something, as seen in the messages below. Is it correct then to assume that there is a runtime overhead to having composites that are shutdown but not undeployed? How significant is this overhead?
    [2011-09-15T03:55:03.122-04:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.bpel.engine.agents] [tid: orabpel.engine.pool-5.thread-17] [userId: <anonymous>] [ecid: 0000J9ZZs1a6qI05zzc9yW1ERs3F000002,1:33006] [APP: soa-infra] Done finding 0 expirable work items for the bpel engine
    [2011-09-15T03:55:03.146-04:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine] [tid: orabpel.invoke.pool-4.thread-14] [userId: weblogic] [ecid: 4496859cf93daf8e:3a6dd332:132638f2af0:-8000-000000000001ce98,0:1:100000229] [APP: soa-infra] [composite_name: UpdatePerson] [component_name: UpdatePersonBPEL] [component_instance_id: 30114] Unhandled exception for ComponentDN=default/UpdatePerson!2.0*soa_d3851fa7-aabe-4235-868e-3d507c5da21f/UpdatePersonBPEL CompositeInstanceId=30011 ComponentInstanceId=30114
    [2011-09-15T03:55:03.148-04:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine] [tid: orabpel.invoke.pool-4.thread-14] [userId: weblogic] [ecid: 4496859cf93daf8e:3a6dd332:132638f2af0:-8000-000000000001ce98,0:1:100000229] [APP: soa-infra] [composite_name: UpdatePerson] [component_name: UpdatePersonBPEL] [component_instance_id: 30114] This exception occurred because the fault thrown in the BPEL flow was not handled by any fault handlers and reached the top-level scope. Root cause : [[
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{
    summary=<summary>oracle.fabric.common.FabricInvocationException: Message Router for default/UpdatePerson!2.0*soa_d3851fa7-aabe-4235-868e-3d507c5da21f is not able to process messages. The composite state is set to "off". The composite can be turned "on" by using the administrative consoles.</summary>
    ,detail=<detail>Message Router for default/UpdatePerson!2.0*soa_d3851fa7-aabe-4235-868e-3d507c5da21f is not able to process messages. The composite state is set to "off". The composite can be turned "on" by using the administrative consoles.</detail>
    ,code=<code>null</code>}
    ---------------------------

    I think I have already provided you a reference on this error earlier -
    SOA-20001: Message Router for {0} is not able to process messages.
    Login to SOA EM console and "Start up" and "Activate" your composite (default/EBIZ_Sync_SummaryOrders!2.0). You may refer section "7.4.2 Managing the State of an Application from the SOA Composite Application Home Page" at -
    http://docs.oracle.com/cd/E23943_01/admin.1111/e10226/soacompapp_deploy.htm#CHDDFEGH
    Regards,
    Anuj

  • The composite state is set to "off". The composite can be turned "on"

    Hello,
    I had deployed a composite in weblogic 10.3 from Jdeveloper 11.1.1.6.I am grtting this error.
    Can you help me to sort this out and this is in Active state only.
    oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : Message Router for default/EBIZ_Sync_SummaryOrders!2.0*soa_a882c40a-6e1e-440c-88c2-eea3ee854c13 is not able to process messages. The composite state is set to "off". The composite can be turned "on" by using the administrative consoles.

    I think I have already provided you a reference on this error earlier -
    SOA-20001: Message Router for {0} is not able to process messages.
    Login to SOA EM console and "Start up" and "Activate" your composite (default/EBIZ_Sync_SummaryOrders!2.0). You may refer section "7.4.2 Managing the State of an Application from the SOA Composite Application Home Page" at -
    http://docs.oracle.com/cd/E23943_01/admin.1111/e10226/soacompapp_deploy.htm#CHDDFEGH
    Regards,
    Anuj

  • HT4207 "archive" set to "off" and deleted notes still show in the "all mail" folder...

    I have "archive" set to "off" and deleted notes still show up in the "all mail" folder, any solutions?

    Sometimes the Junk Email rule is damaged.  An example of this can be seen here:
    http://support2.microsoft.com/kb/2655142/en-us
    I would try a couple of things:
    Try enabling the Junk Mail Filter, restart outlook, disable it again, and restart.
    Or you may find that the just removing the junk mail rule manually using MFCMAPI may do what you want.
    One last thing to look into...  Does the mailbox do Exchange ActiveSync with a Samsung Android device?  If so check here:
    http://www.slipstick.com/outlook/moves-email-junk-folder/

  • Safari was very slow in opening up Google sites.  I found a discussion thread that suggested changing the "Configure IPv6" setting to "Off" in the System Preferences, Network, Advanced, TCP/IP section.  That seems to work well.  Are there any risks?

    Safari was very slow in opening up Google sites.  I found a discussion thread that suggested changing the "Configure IPv6" setting to "Off" in the System Preferences, Network, Advanced, TCP/IP section.  That seems to work well.  Are there any risks to leaving the Configure IPv6 setting to Off?

    Nope. You can always reverse that if you choose.

  • Set autocommit= off in JDBC driver

    Hi,
    i'm running jdev v. 11.1.2.4 and deploying a simple ADF application on glassfish against a mySQL database v 5.1.....
    when i commit my changes to the database i receive an exception:
    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
        at java.lang.Thread.run(Thread.java:722)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Can't call rollback when autocommit=true
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        a|#]
    it's pretty obvious what is causing it but how do i set autocommit off in JDev?
    I've looked into bc4j.cfg but don't see any indications here. is it related to the JDBC pool on glassfish? and as such not a JDev/ADF problem?
    Kim

    I found out.
    please look here
    oracle.jbo.DMLException: JBO-26065: Error during commit
    Kim

  • Missing SET DEFINE OFF exporting tables

    Another minor bug exporting tables using the insert option is that no “SET DEFINE OFF” is created.
    If values in the exported tables contains *“&”* characters, the user is asked to edit values.
    Example:
    1. Create a table with such a value:
    SET DEFINE OFF;
    CREATE TABLE FOO (COMPANY VARCHAR2 (64));
    INSERT INTO FOO VALUES ('Meier & Co');
    2. Exporting this table creates:
    -- Datei erstellt -Freitag-April-15-2011
    -- DDL for Table FOO
    CREATE TABLE "FOO"
    (     "COMPANY" VARCHAR2(64)
    REM INSERTING into FOO
    Insert into FOO (COMPANY) values ('Meier & Co');
    3. Running in SQLPlus:
    SQL> @export.sql
    Tabelle wurde erstellt.
    Geben Sie einen Wert f³r co ein:
    Regards
    Marc
    Version:
    Java(TM)-Plattform     1.6.0_23
    Oracle-IDE     3.0.04.34
    Versionierungsunterstützung     3.0.04.34

    Thank you. As a new SQL Developer user, I didn't know what it should have been, but I found out I needed to edit the output before I could use it to load data.
    Skip

  • [WebLogic Sybase Type 4 JDBC Drivers] set ANSINULL off

    Hi,
    I am having some issues with the Weblogic JDBC Driver for sybase and the ANSINULL functionality.
    It appears that the stored procedures from a third party whose system we are trying to integrate with do ot function properly due to the fact that Weblogic will turn the ANSINULL handelling on.
    I have been reading that we need to run the command 'set ANSINULL off' before we run the stored procedure. Only problem is that the stored procedure is wrapped up in the Spring framework and I see no oppotunity to run this.
    Also readin I've found that the DataDirect connector for Sybase will accept in the URL a string 'InitializationString=set ANSINULL off;' I have tried to set this and it appears to make no difference to the result.
    So I was wondering if this InitializationString works with the weblogic driver?
    Or is there another way I can globaly set ANSINULL off for the Sybase connection. (we also have a number of Oracle connections that are working fine)
    Thanks in advance for any advice
    IV

    Ian Vellosa wrote:
    Hi,
    I am having some issues with the Weblogic JDBC Driver for sybase and the ANSINULL functionality.
    It appears that the stored procedures from a third party whose system we are trying to integrate with do ot function properly due to the fact that Weblogic will turn the ANSINULL handelling on.
    I have been reading that we need to run the command 'set ANSINULL off' before we run the stored procedure. Only problem is that the stored procedure is wrapped up in the Spring framework and I see no oppotunity to run this.
    Also readin I've found that the DataDirect connector for Sybase will accept in the URL a string 'InitializationString=set ANSINULL off;' I have tried to set this and it appears to make no difference to the result.
    So I was wondering if this InitializationString works with the weblogic driver?
    Or is there another way I can globaly set ANSINULL off for the Sybase connection. (we also have a number of Oracle connections that are working fine)
    Thanks in advance for any advice
    IVHi. What version of WebLogic? IN recent ones we have a pool property 'initSQL'
    which you can set. We will run whatever SQL you give, on every pool connection
    when it is created. That would do it.

  • Audio is set to off and I can't activate (box is grey - inaccessible)

    Hi,
    I've updated to 10.8. Ever since there's no sound available. Audio ist set to "off" and activation box is grey and inaccessible. Does anyone have a suggestion to solve this problem?
    Have an iMac with OSX 10.8
    20"
    2,66 Intel Core 2 Duo
    4GB RAM
    350 HD

    Most likely you'll need to call. It sounds like that line is designated as the primary line. Should be an easy quick change.

  • EQ is set to off

    EQ is currently set to off, how do i set it to on?

    Settings>EQ.
    Set what you'd like.

Maybe you are looking for

  • Next Button not Working in Captivate 5

    This next slide button was working to advance the slide until I added 2 advance actions. One to show an object with audio attached. The other to hide the object. So three buttons: I with the audio, 1 to play the audio (with advance action) and 1 to s

  • Preview Email Attachment

    When i recieve an email with an attachment i will preview it by highlighting the attachment and using the space bar to show a preview.  Sometimes i will blow it up (pinch to zoom on my trackpad) but whenever i zoom it out, the screen will go black af

  • Why can't I paste exact form of the text from pdf document?

    Dear List Members, I have a pdf document - it's scientific paper, containing some Fortran codes. I wanted to copy these codes into text file, in order to compile them and run. But after pasting, some characters are not copied in exact form. For examp

  • Keep getting popup that says "Firefox requires that you type your Kerberos password"

    While using Firefox, a window will start popping up asking me to type in my Kerberos password. The fields they give are for Name, Realm and Password. Does anyone know how to make this stop? If I keep clicking "Cancel," it will eventually stop popping

  • Upping the number of Recent Files shown in menu?

    There used to be a preference for this in CS2, but I can't find where to up the number of Recent Files shown in the File menu. Is this still possible?