Shipping instructions / Shipping attention database insert bug

I'm 99.99% confident I've found a bug with BC's saving of data.
I'm inserting into an order shipping instructions via the API using an entity ID, the bug happens IF the form contains "shipping attention" and no "shipping instructions" (aka details in the admin tool).
How to reproduce:
1. The checkout form where you enter your credit card details make sure it has shipping attention added to it, but no shipping instructions.
2. Order something, DO NOT enter anything in shipping attention (keep it blank).
3. Submit.
At this point there is no problems, shipping instructions will be kept intact (if there is data in there). Now do the same thing but enter in something for shipping attention.
It will save the shipping attention but destroy what was in "shipping instructions" (aka details in admin tool). I would assume since shipping instructions is not part of this form it should not destroy or overwrite any other sections of data in the database.
I worked around it by saving the shipping attention via the API and nuking the form value before submitting the form (to BC), I spent about 2 days figuring this out, I first thought is was a timing issue but found this out by trial and error, it is definitely an issue you should look into. Happy to show example code if you need it.

Adobe: Bug? Not a bug? Don't care?

Similar Messages

  • How to use the mirrored and log shipped secondary database for update or insert operations

    Hi,
    I am doing a DR Test where I need to test the mirrored and log shipped secondary database but without stopping the mirroring or log shipping procedures. Is there a way to get the data out of mirrored and log shipped database to another database for update
    or insert operations?
    Database snapshot can be used only for mirrored database but updates cannot be done. Also the secondary database of log shipping cannot used for database snapshot. Any ideas of how this can be implemented?
    Thanks,
    Preetha

    Hmm in this case I think you need Merge Replication otherwise it breaks down the purpose of DR...again in that case.. 
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Error - '.' expected - while database insert thru JSP & javabeans & JDBC

    I get the following error when i try to compile the below mentioned code in JDEVELOPER 10.1.2
    Error : '.' expected
    ===================
    have error in my code. I am trying to do a simple database insert program using javabeans and jsp. I get a value to be inserted in database through the jsp page in a text box and would like to be inserted into database using beans The connection to database and mysql query are in java file.
    Here is the code.
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@ page language="Java" import="java.sql.*" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
    <html>
    <head>
    </head>
    <body>
    <form name="form1" action="beancode" method="POST">
    Emp ID: <input type="text" name ="emplid"> <br><br><br>
    <input type = "submit" value="Submit">
    <jsp:useBean id="sampl" class="beancode" scope="page">
    <jsp:setProperty name="sampl" property="*"/>
    </jsp:useBean>
    </form>
    </body>
    </html>
    I know i might have made a mistake here in using the bean. Here is the java code which does the insert part.
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    * @author Trainees
    public class beancode
    private String employid;
    private Connection con = null;
    private ResultSet rs = null;
    private PreparedStatement st = null;
    /** Creates a new instance of beancode */
    public beancode()
    try
              Class.forName("org.gjt.mm.mysql.Driver");
              Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/sample?user=user&password=password");
    catch(Exception e)
              System.out.println(e.getMessage());
    public void setemployid(String empid)
              employid = empid;
         public String getemployid()
              return (employid);
    public void insert()
    try
    String s1="insert into samp values('"+employid+"')";
    st = con.prepareStatement(s1);
    st.executeUpdate();
    st.clearParameters();
    st.close();
    catch(Exception m)
    }

    It's pretty hard to spot any errors the way it's currently formatted. But, you're trying to call the beancode when submitting your form, but the beancode isn't a servlet. Try to find a working example, run it, and then change it to implement your requirements.
    The following example shows you have to use the jstl sql tags: http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jsps/jstlsql.html. If you want to do an insert when a user submits a form, you need 2 pages. The first will contain your form, the second will insert the record.
    (once you've got that running, look for some examples using an mvc framework, and how to use bind variables with jdbc)

  • Cross Database Insert on rows

    Is there a standard way to insert rows into a table and get the last inserted value for the identity column back ?
    e.g. Oracle does'nt support IDENTITY or AUTONUMBER on insert as a sequence is desired. This creates a huge problem for writing cross database insert code.
    Most of the times the last value inserted for the identity column has to be returned so it can be used in a database transaction.
    Say User wants to insert data into an User table which has the following columns...
    user_id int (PK) Auto generated number
    firstname VARCHAR(20)
    lastname VARCHAR(20)
    In Sybase or SQL Server The user would just call
    insert into User (firstname,lastname) values ('John', 'Doe') and then call select @@identity to get the last value of the PK inserted.
    However in Oracle the insert method first needs to know the name of the sequence from where the value of the PK needs to be obtained. Then it has to use that value to insert row in the table.
    If the sequence is Seq_User
    select Seq_User.nextval from dual and then
    insert into User (user_id,firstname,lastname) values (last_value, 'John', 'Doe')
    Now if a user has written code using JDBC for Sybase and the Database is migrated to Oracle, He has to go changing all his inserts!!!
    Is there a way to write cross database code so that user does not have to worry about changing his code for all the inserts?
    Any help is greatly appreciated.
    Thanks,

    This has been discussed here already.
    As far as I know there is no standard way.
    Maybe you can make an own "standard" solution by doing your logic in a stored procedure which returns the new ID value.
    So you can move all DBMS specific stuff into the stored procedure.
    Of course there's a need of adapting this to each target DBMS.
    Can you reduce the number of needed SPs by making them more generic?
    Very similiar solution - if you like it more - would be to make generic methods, in a base class or interface and overwritten/reimplemented for each target DBMS.
    There could be a good use of inheritance and polymorphism in this task which SPs don't provide (except for those DBMSses who allow Java-coded SPs, but that would be platform dependant again).

  • Flexible database insert

    hi all!
    after hours of trials, searching this forum and others now the very important question: I use the database-connectivity kit with labview 8.5 and want to create a flexible database-insert procedure. I easily want to insert row by row of a 2-dim array, by knowing the specific amount of columns for the chosen table. 
    my idea is: a gui for database-table view and editor function for any table in the database. What I did is, you can currently view each table in the database, change something inside. now i buffer the whole information of the changed table, delete the content in the database and write the changed buffered content back by using the INSERT - VI.
    I always get the error message, that the number of columns is not equal to the number of parameters.I don't want to bring in the code specific information for a table, because my programm should work with any table in the database. 
    ... is there anyone of you, who is able to help me out ? I get crazy by this time ...
    i added the vi in the attachement, unfortunatelly it is  a bit in german/englisch, sorry for that.
    thx a lot !
    energymix
    Attachments:
    tabellen_admin.vi ‏58 KB

    Database will return error if you right any empty string to it and in the code the table is written directly  without  parsing the table string for empty strings.  I suspect that there might be some extra empty cells are there in the table that is creating the problem.  So just parse the entire table for blank spaces -> truncate the entire table to the size the database expects->Update the data in the database.
    Hope this helps.
    With regards,
    JK
    (Certified LabVIEW Developer)
    Give Kudos for Good Answers, and Mark it a solution if your problem is solved.

  • Duplicate messages/database inserts despite XA

    I have a simple test application which reads a single message at a time from WebSphere MQ, calls a tux service to insert into a database and writes an output MQ message (again via a tux service). The app is duplicating database inserts and MQ puts despite it being configured to use XA.
    I am running with AUTOTRAN=Y and can see the XA transactions in the trace.
    If I cause a DB failure (oracle 11g -> dataguard with fast start failover) , the servers exit and are re-started (this appeared to be the best way of cleaning up) however I get duplicates, despite the XA trace implying the global transaction was rolled back:
    124530.tuxtestmachine!s_mq.1016002.1.0: gtrid x0 x4aec30de x8d3: ...MQ Read->GPU POC TEST MSG18313<0> <<<<<<MQGET here
    124530.tuxtestmachine!s_mq.1016002.1.0: gtrid x0 x4aec30de x8d3: ...................calling <getu>
    124530.tuxtestmachine!server.864336.1.0: gtrid x0 x4aec30de x8d3: getu started
    124530.tuxtestmachine!server.864336.1.0: gtrid x0 x4aec30de x8d3: ..Input<GPU POC TEST MSG18313>
    124530.tuxtestmachine!server.864336.1.0: gtrid x0 x4aec30de x8d3: Conver string
    124530.tuxtestmachine!server.864336.1.0: gtrid x0 x4aec30de x8d3: .............................getu<GPU POC TEST MSG18313->GPU POC TEST MSG18313>
    124530.tuxtestmachine!server.864336.1.0: gtrid x0 x4aec30de x8d3: getu complete
    124530.tuxtestmachine!s_mq.1016002.1.0: gtrid x0 x4aec30de x8d3: ..returned from getu
    124530.tuxtestmachine!s_mq.1016002.1.0: gtrid x0 x4aec30de x8d3: ..calling mqwrite
    124530.tuxtestmachine!s_mq.1016002.1.0: gtrid x0 x4aec30de x8d3: ...................calling <mqwrite>
    124530.tuxtestmachine!s_mqwrite.651446.1.0: gtrid x0 x4aec30de x8d3: TRACE:at: { tpservice({"writemq", 0x10, 0x20077930, 22, 0, -2147483648, {0, -2, -1}})
    124530.tuxtestmachine!s_mqwrite.651446.1.0: gtrid x0 x4aec30de x8d3: ...in mqwrite
    124530.tuxtestmachine!s_mqwrite.651446.1.0: gtrid x0 x4aec30de x8d3: +++++Writing to MQ<GPU POC TEST MSG18313><GPU POC TEST MSG18313> <<<This is the MQPUT
    124530.tuxtestmachine!s_mqwrite.651446.1.0: gtrid x0 x4aec30de x8d3: TRACE:at: { tpreturn(2, 0, 0x20077930, 0, 0x0)
    124530.tuxtestmachine!s_mq.1016002.1.0: gtrid x0 x4aec30de x8d3: ..insert to database
    124530.tuxtestmachine!s_mq.1016002.1.0: gtrid x0 x4aec30de x8d3: ..............Calling dbinsert with <GPU POC TEST MSG18313><21>
    124530.tuxtestmachine!s_mq.1016002.1.0: gtrid x0 x4aec30de x8d3: ...................calling <db_insert>
    124530.tuxtestmachine!s_ora.897234.1.0: gtrid x0 x4aec30de x8d3: TRACE:xa: { /ò!(0x20019b74, 0, 0x0)
    124530.tuxtestmachine!s_ora.897234.1.0: gtrid x0 x4aec30de x8d3: TRACE:xa: } /ò! = -7
    124530.tuxtestmachine!s_ora.897234.1.0: gtrid x0 x4aec30de x8d3: TRACE:xa: { xa_open(0x2002035c, 0, 0x0)
    124530.tuxtestmachine!s_ora.897234.1.0: gtrid x0 x4aec30de x8d3: TRACE:xa: } xa_open = 0
    124530.tuxtestmachine!s_ora.897234.1.0: gtrid x0 x4aec30de x8d3: TRACE:xa: { xa_start(0x20019b74, 0, 0x0)
    124530.tuxtestmachine!s_ora.897234.1.0: gtrid x0 x4aec30de x8d3: TRACE:xa: } xa_start = 0
    124530.tuxtestmachine!s_ora.897234.1.0: gtrid x0 x4aec30de x8d3: ...Calling dbinsert<GPU POC TEST MSG18313>
    124530.tuxtestmachine!s_ora.897234.1.0: gtrid x0 x4aec30de x8d3: Database failure : ORA-25408: can not safely replay call <<<<As a result of the DB failure
    124640.tuxtestmachine!MQXA.778310.1.0: gtrid x0 x4aec30de x8d3: TRACE:xa: { xa_rollback(0x200196b4, 0, 0x0)
    124640.tuxtestmachine!TMS_ORA.1085652.1.0: gtrid x0 x4aec30de x8d3: TRACE:xa: { xa_rollback(0x2001a454, 0, 0x0)
    124640.tuxtestmachine!s_mq.1016002.1.0: gtrid x0 x4aec30de x8d3: !!!Error calling<db_insert><13>
    124640.tuxtestmachine!MQXA.778310.1.0: gtrid x0 x4aec30de x8d3: TRACE:xa: } xa_rollback = 0 <<<< This looks to me like a succesful rollback by the TMS
    124640.tuxtestmachine!TMS_ORA.1085652.1.0: gtrid x0 x4aec30de x8d3: TRACE:xa: } xa_rollback = -7 <<Resource manage unavailable, DB is still unavailable here
    124640.tuxtestmachine!TMS_ORA.1085652.1.0: gtrid x0 x4aec30de x8d3: TRACE:xa: { xa_open(0x20020c3c, 0, 0)
    124640.tuxtestmachine!TMS_ORA.1085652.1.0: gtrid x0 x4aec30de x8d3: TRACE:xa: } xa_open = 0
    124640.tuxtestmachine!TMS_ORA.1085652.1.0: gtrid x0 x4aec30de x8d3: TRACE:xa: { xa_rollback(0x2001a454, 0, 0x0)
    124640.tuxtestmachine!TMS_ORA.1085652.1.0: gtrid x0 x4aec30de x8d3: TRACE:xa: } xa_rollback = 0
    $
    Anyone with any ideas as to where I go from here ? Your time is much appreciated.
    Thanks.

    Hi Dan,
    Thanks for the question.
    Currently the Messaging Pattern implementation does not use/implement JTA/XA or Coherence transactions. It's much like regular JMS in that it provides it's own transaction framework, that neither uses JTA or XA. While the JMS specification provides an XA API, the implementation of this is optional, as are Queues or Topics.
    The original goal of the Messaging Pattern implementation was to demonstrate that JMS-like messaging is possible with Coherence. When we looked at constructing the Messaging example, most people we talked to said they didn't want JMS and especially they didn't want transactions. They simply wanted a simple messaging implementation. So it's initial goal was to demonstrate a high-scalable messaging layer. Unfortunately that meant no "real" transaction support, especially in terms of things like XA and/or JTA.
    That said given the way that the pattern is currently implemented one could easily implement an XA resource so that it could be used as a last resource. That's probably the quickest way to get what you would like at the moment.
    Of course I'm certainly interested in implementing XA support, but we know that is non-trivial. It's not currently on our roadmap for the pattern, but it could be. Our next release will provide persistent messaging, but we could investigate XA after that.
    -- Brian
    Brian Oliver | Architect | Oracle Coherence Engineering
    Oracle Fusion Middleware

  • Database.insert.vi

    I would like to now if the data saved using
    database.insert.vi
    are created/allocated statically or dynamically?

    Well, I for one do not understand your question. Whatever data you have is written to the table you specify. What do you mean by dynamic or static? Are you using the NI toolkit?

  • Ship-to address resets (bug?)

    Hello,
    I have had a problem with the DI API since version 2005A. We are currently on 2007A PL48. The shipping address will reset to its default if you modify any header data (except UDFs) through the DI API. Can someone verify this or let me know that I'm doing something wrong?
    Steps to reproduce via DI API:
    Add a sales order via DI API and set the "address2" field to "some address"
    The database will have "some address" in the table
    Now modify any field in the header including the ship-to address and save the document (using DI API)
    The database value will reset to the default shipping address/format for the BP
    Any input would be appreciated.
    -Dave

    I'll explain better with code this time. I created the order through the SBO client and did not modify the address fields (left defaults in place).
    TEST STEP 1)
    Dim B1Doc As SAPbobsCOM.IDocuments
    B1Doc = SAPCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
    B1Doc.GetByKey(12345)
    B1Doc.Address2 = "some address SHIPPING"
    B1Doc.Address = "some address BILLING"
    B1Doc.Update()
    NOTE: Both address values are set correctly.
    TEST STEP 2)
    Dim B1Doc As SAPbobsCOM.IDocuments
    B1Doc = SAPCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
    B1Doc.GetByKey(12345)
    B1Doc.Address2 = "some address SHIPPING #1"
    B1Doc.Address = "some address BILLING"
    B1Doc.Update()
    NOTE: B1Doc.Address reverts back to the default address
    TEST STEP 3)
    Dim B1Doc As SAPbobsCOM.IDocuments
    B1Doc = SAPCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
    B1Doc.GetByKey(12345)
    B1Doc.Address2 = "some address SHIPPING #2"
    B1Doc.Address = "some address BILLING"
    B1Doc.Update()
    NOTE: Both address values are set correctly.
    TEST STEP 4)
    Dim B1Doc As SAPbobsCOM.IDocuments
    B1Doc = SAPCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
    B1Doc.GetByKey(12345)
    B1Doc.Address2 = "some address SHIPPING #3"
    B1Doc.Update()
    NOTE: B1Doc.Address reverts back to the default address
    Do you not have this behavior? Am I doing something wrong? My only work around would be to save the document twice in order to update the address field back to what I want.
    This only occurs with the Address variable. You can run the same code and flip the Address and Address2 variables and you will see that the Address2 variable updates correctly every time.

  • Instructions for Oracle Database Server Version 10.2.0.4 Patch 49

    Hi !
    Before trying to do anything on the database by applying the patch I received from Oracle, I want to be sure to fully understand the readme file that is with the patch.
    Oracle 10g.
    Dataguard configuration
    I need to do CPU patch. I follow the patch instructions, but I have some questions about these steps to do:
    1. Back up the current database that is installed, the %ORACLE_HOME% directory and Oracle inventory under c:\Program files\oracle directory.
    Question: I suppose I have to do a rman backup right?
    2. Perform a clean shutdown of all Oracle services (databases, Oracle listeners, Oracle agents, and so on.) that run from the Oracle Home where you install this patch. Shutdown all MTS/COM+/.Net applications that access Oracle databases.
    Question: All that is required for a clean shutdown is done with a shutdown immediate command, right?
    I know my database is not RAC, but it certainly has an Automatic Storage Management. Is it stopped with the shutdown command?
    3. Stop all Oracle services, Recovery catalog, ODBC applications, and other applications that use Oracle Client. This may include Web servers that load the Oracle client in the mid-tier environment.
    Explicitly stop the Distributed Transaction Coordinator service (which is not an Oracle service) if it is running.
    Question : I shall have a look at the Services and stop all the services that were not stopped after the shutdown immediate command, right?
    4. Make sure no application are using the driver sqora32.dll
    Question: How to check that no application are using this driver?
    There are in the following preinstallation instructions notes for bug 8292378, data guard bug fix 8227106, bug 6798650 and bug 8866013.
    I see that bug 6798650 is for RAC only, so as my database is not RAC, I don't have to take into account this note.
    5. I have this for the Pre-install steps for Data Guard bug fix 8227106:
    Disable Fast-Start Failover if it is enabled.
    Stop the Data Guard broker observer.
    Disable the configuration.
    Stop the broker on all databases by setting the DG_BROKER_START initialization parameter to FALSE.
    Question: how can I disable fast-start failover?
    Next I look at the Installation Instructions:
    I have in the readme:
    - patch installation instruction for single instance
    - patch installation instruction for RAC (won't use it, as my database is not RAC)
    - installation instruction for Oracle Instant client :
    - installation instruction ODP.NET 1.x or 2.x : I see ODP.NET on the Oracle directories.
    Which patch installation instruction should I follow, according to my database configuration, single instance?
    Appreciate any help.

    1. Back up the current database that is installed, the %ORACLE_HOME% directory and Oracle inventory under c:\Program files\oracle directory.
    Question: I suppose I have to do a rman backup right?No, but yes... I mean, in the documentation is refering at directory, not database. When you use the patch, some files will be change, so if you need rollbackup you need a copy of your ORACLE_HOME and c:\Program files\oracle. Just copy this directories in another place.
    I mean yes because it's recommended backup database too.
    2. Perform a clean shutdown of all Oracle services (databases, Oracle listeners, Oracle agents, and so on.) that run from the Oracle Home where you install this patch. Shutdown all MTS/COM+/.Net applications that access Oracle databases.
    Question: All that is required for a clean shutdown is done with a shutdown immediate command, right?
    I know my database is not RAC, but it certainly has an Automatic Storage Management. Is it stopped with the shutdown command?No, all services, if you only run "SQL>shutdown immediate" you are only stopping database, not ASM, not Listener,....
    3. Stop all Oracle services, Recovery catalog, ODBC applications, and other applications that use Oracle Client. This may include Web servers that load the Oracle client in the mid-tier environment.
    Explicitly stop the Distributed Transaction Coordinator service (which is not an Oracle service) if it is running.
    Question : I shall have a look at the Services and stop all the services that were not stopped after the shutdown immediate command, right?srvctl stop service -d <database name> -s <Configured workload management service> -i <instance name>
    srvctl stop instance -d <database name> -i <instance name>
    srvctl stop asm -n <nodename>
    4. Make sure no application are using the driver sqora32.dll
    Question: How to check that no application are using this driver?http://superuser.com/questions/399659/how-can-i-identify-what-application-is-using-a-given-file
    5. I have this for the Pre-install steps for Data Guard bug fix 8227106:
    Disable Fast-Start Failover if it is enabled.
    Stop the Data Guard broker observer.
    Disable the configuration.
    Stop the broker on all databases by setting the DG_BROKER_START initialization parameter to FALSE.
    Question: how can I disable fast-start failover?are you using Data Guard? if not skip this step, if Yes:
    http://docs.oracle.com/cd/B19306_01/server.102/b14230/sofo.htm#BCGJEGAF
    Next I look at the Installation Instructions:
    I have in the readme:
    - patch installation instruction for single instance
    - patch installation instruction for RAC (won't use it, as my database is not RAC)
    - installation instruction for Oracle Instant client :
    - installation instruction ODP.NET 1.x or 2.x : I see ODP.NET on the Oracle directories.
    Which patch installation instruction should I follow, according to my database configuration, single instance?Only you know what configuration do you have.
    Probably "patch installation instruction for single instance", but be sure that this patch will apply in a database and not in a RAC or in a Client or ODP.NET

  • Setting primary key field value in jdoPrestore() not flushed to database ?BUG?

    Hello,
    When I set value of primary key field of a new instance in jdoPrestore() new
    value does not get flushed to database - old (default) value get stored
    instead. All other fields assigned in jdoPrestore() get successfully
    flushed except primary key one.
    Alex

    Abe,
    You fixed only part of the problem. Right now if I assign value to a PK
    field in jdoPreStore() it does get flushed but there is another issue - all
    other instances which referenced the one I assigned PK to will not get this
    PK value. Example A references B, in B.jdoPreStore() I generate id for B -
    b.id = 100. When A gets flushed it would not get 100 in its b_id field.
    Specs says:
    This method is called ***before the values are stored from the instance to
    the StateManager***.
    Data store fields that might have been affected by modified non-persistent
    fields should
    be updated in this method. This method is modified by the enhancer so that
    changes to
    persistent fields will be reflected in the data store.
    The context in which this call is made allows access to the
    PersistenceManager and
    other persistent JDO instances.
    I read it as callbacks should be invoked on ALL instances before they get
    stored to StateManager. Does Kodo invoke callbacks for all istances first
    and then store them to instance manager? Based on the problem I am having it
    does not look like it
    Alex
    "Abe White" <[email protected]> wrote in message
    news:[email protected]..
    I just confirmed this as a bug and fixed it. We should be able to post
    the new jars for you soon. Hang in there.

  • Dreamweaver CS5 Adds a table when an image is inserted  (Bug)

    See a copy of code below:
    <div id="2010"> <table width="1024" border="1" cellspacing="2" cellpadding="4">
      <tr>
        <td colspan="2"><h2>2010</h2></td>
        </tr>
      <tr>
        <td class="h3small">Creative</td>
        <td class="h3small">Nature</td>
      </tr>
      <tr>
        <td> </td>
      </tr>
                 </table>
                   <img src="http://lh5.ggpht.com/_vXF7OzR-lno/S7yxGE4MIcI/AAAAAAAADKI/BuJIPJxKi-E/s720/Cre%2040FordHan cock.jpg" alt="&quot; 40 Ford&quot; by David Hancock" />
                   <table width="1024" border="1" cellspacing="2" cellpadding="4">
                     <tr>
                       <td><img src="http://lh5.ggpht.com/_vXF7OzR-lno/TNTO7nXWwEI/AAAAAAAAFVw/RPAZGC_G1xs/s640/NatMountainVist aIRoberts.jpg" alt="&quot;Mountain Vista&quot; by Ines Roberts" /></td>
                     </tr>
    I have a table in which I'm inserting images. This is something I've done many times with Dreamweaver CS3. An example is the second table cell in the row above where nothing is inserted but the img src= statement. In the code above it, the row with two cells has been replaced by the initial table being closed, an img src= statement and a redifinition of the table. This is totally bogus.  The second statement was written in CS3 after I saw what CS5 was doing as a check to make sure that I was correct regarding what I felt I had done before.  This is a major bug as far as I'm concerned and there is no reason for em to use CS5 until this is fixed.

    Which operating system?
    I'm not entirely clear on what the issue is based on the description given, I'm afraid.
    It would help if you could offer a set of reproducible steps and tell us what results you get (compared to what should happen).
    If everyone (or several people with the same config and OS) gets the same results as you following exactly the same steps then a formal bug report can be filed with Adobe.

  • Database insertion problem

    Hello,
    I was wondering how to solve a problem at inserting new rows in a mysql database. I have a table named employees and one named addresses. In order to link an address to an employee I use an address_id at the employee table. Though, the addresses table is also used by so many other tables. The problem is that every time I insert an employee to the database (and therefore an address) I need to know the address_id so that I can insert it into the proper column in the employee row. The address_id is autonumerical. One solution I thought was to query the addresses table before the insertion to get the next address_id. Then use that number in the employees table. Though, I imagine that when the web applications is used by a large number of people at the same time, there are going to be some concurrency problems.
    What can be a better solution?
    Is there a better data model I could use for this matter?
    I hope I made myself clear in my writing,
    Thank you,
    Alfredo Fern�ndez A.

    Typically you do the followng.
    1. Start a transaction.
    2. Insert address - which also returns the id of the insertion.
    3. Insert the employee.
    4. Commit the transaction.
    Step 2 depends on what specific database you are using.
    It can also depends on the business rules for an address.

  • ERROR IN DATABASE INSERTION

    HI,
    i am trying to insert values in jsp into mysql database using beans....... but it doesn't shows any error or it doesn't inserts the value.. can any body help me out .
    abdul

    Not until we see some relevant code.
    Message was edited by:
    appy77

  • Php/MySQL database insert record issue...

    I have a php page that adds an "order" to a mysql database table (orders). One text field in the form is for tires/wheels. The description of the wheels often includes the " symbol for inches after a number....Everything submits fine, however when I look at the page that displays the orders all the data after the " symbol including the " symbol is gone... DOes anyone have any idea why this may be happening? It is requiring us to return and edit that area repeatedly. Any help is appreciated greatly. Thanks for your time.

    Ok, so just to summarize so I am understanding this correctly.  You have an ordering page for tires/wheels.  A customer places an order for tires/wheels and the data is submitted successfully and this includes a symbol for measurement (in.).  But on another summary page the symbol is returning a blank value.
    If this is correct we need to see:
    - First, the code that is inserting the symbol to the database table in question
    - Second, the query and code where you are printing the data to the screen.

  • Auto Increment ID Field Table in the Oracle Database (insert new record)

    I have been using the MySQL. And the ID field of the database table is AUTO INCREMENT. When I insert a new record into a database table, I can have a statement like:
       public void createThread( String receiver, String sender, String title,
                                 String lastPostMemberName, String threadTopic,
                                 String threadBody, Timestamp threadCreationDate,
                                 Timestamp threadLastPostDate, int threadType,
                                 int threadOption, int threadStatus, int threadViewCount,
                                 int threadReplyCount, int threadDuration )
                                 throws MessageDAOSysExceptionand I do not have to put the ID variable in the above method. The table will give the new record an ID number that is equivalent to the ID number of the last record plus one automatically.
    Now, I am inserting a new record into an Oracle database table. I am told that I cannot do what I am used to doing with the MySQL database.
    How do I revise the createThread method while I have no idea about what the next sequence number shall be?

    I am still very confused; in particular, the Java part. Let me try again.
    // This part is for the database table creation
    -- Component primary key sequence
    CREATE SEQUENCE dhsinfo_page_content_seq
        START WITH 0;
    -- Trigger for updating the Component primary key
    CREATE OR REPLACE TRIGGER DHSInfoPageContent_INSERT_TRIGGER
        BEFORE INSERT ON DHSInfoPageContent //DHSInfoPageContent is the table name
        FOR EACH ROW WHEN (new.ID IS NULL) // ID is the column name for auto increment
        BEGIN
            SELECT dhsinfo_page_content_seq.Nextval
            INTO :ID
            FROM DUAL;
        END;/I am uncertain what to do with my Java code. (I have been working with the MySQL. Changing to the Oracle makes me very confused.
       public void updateContent( int groupID, String pageName, int componentID,
                                  String content, Timestamp contentCreationDate )
                                   throws contentDAOSysException
       // The above Java statement does not have a value to insert into the ID column
       // in the DHSInfoPageContent table
          Connection conn = null;
          PreparedStatement stmt = null;
          // what to do with the INSERT INTO below.  Note the paramether ID.
          String insertSQL = "INSERT INTO DHSInfoPageContent( ID, GroupID, Name, ComponentID, Content, CreationDate ) VALUES (?, ?, ?, ?, ?, ?)";
          try
             conn = DBConnection.getDBConnection();
             stmt = conn.prepareStatement( insertSQL );
             stmt.setInt( 1, id ); // Is this Java statement redundant?
             stmt.setInt( 2, groupID );
             stmt.setString( 3, pageName );
             stmt.setInt( 4, componentID );
             stmt.setString( 5, content );
             stmt.setTimestamp( 6, contentCreationDate );
             stmt.executeUpdate();
           catch
           finally

Maybe you are looking for

  • How to use drop down menu in JTables

    Hi, i'm trying to add an drop down menu to my jtable so that people can select a set number of texts from an enum type. How can this be accomplished? My current Code: /** * Bill Huang * Started: Nov 07, 2007 * Dossier package packageSolo; import java

  • Trying to transfer a movie file from my ipod to my pc

    I am trying to put a movie file I have saved on my ipod classic and transfer it over to my pc. Now the ipod is set up to work with my macbook so when I hook it up to the pc it wants me to reformat it. I am using the ipod as an external storage so the

  • IPhoto won't fully launch after an automatic software update

    I've got iPhoto '09 version 8.1.2 (424) on a MAC OS X version 10.6.8 and recently went through an automatic software upgrade which seems to have stuffed iPhoto! When I double-click on the iPhoto icon from the Applications folder, it collapses into th

  • Global default setting for workbook

    Hi,, In BI 7.0 Version ,, I was creating a workbook template by my standard,, Add to logo,,, date,, and user name I save my workbook and then checking the perminent workbook setting,,, But that is restricted onyl my user ID,, so, i want to know about

  • Notes - stickies with ipods or blackberrys

    I can't seem to figure out how to save stickies as anything other than a text file - am I missing something? -I am using pocketmac to sync my blackberry notes and am wondering if "stickies" are the best thing to use -Also, where does the notes functi