The table has total different value than what I inserted!

Hi, I have a table named "cfg2" and the structure of the table is like this.
Name Null? Typ
UID NOT NULL VARCHAR2(30)
S1 VARCHAR2(10)
S2 VARCHAR2(10)
UIDFLAG NOT NULL NUMBER(1)
I inserted "UID" values from 1 to 100 with preparedstatement. The code looks like this.
String query = "insert into cfg2 values (?,?,?,0)";
ps = conn.prepareStatement(query);
for (int i =1; i <=100; i++)
String ii = String.valueOf(i);
ps.setString(1, ii);
ps.setString(2, "blaHi");
ps.setString(3, "blaHa");
ps.execute();
conn.commit();
The strange thing is that the value of "uid" is different from what I inserted. When I use "select * from cfg2", then it shows exactly the values which I inserted. Like this.
UID S1 S2 UIDFLAG
1 blahi blaha 0
2 blahi blaha 0
3 blahi blaha 0
..... Until the UID is 100.
But I can't get any special line, using "select ...where uid like '3(for example)'". So I let only the UID values be shown, using "select uid from cfg2", and then the astonisching result came. All the uid values are 77, like this.
UID
77
77
77 .....
I deleted the table and established another table with the same structure and tested again. The result was always same. No matter what I insert into "UID", the value which I got was always 77. Does anybody have same or similiar experience? Any help is welcome. Thanks.

What is your source material? Is it H.264? FCP does not work correctly with that material.
Click on a source clip in the FCP Browser, and once selected, type Command + 9 to see the item properties for the clip. Either report those properties, or take a screen shot of the item properties, and post that here.
Next, click anywhere in your timeline, and then type Command + 0 {zero} to see your Sequence Settings. Either report those Sequence Settings, or take a screen shot of the Sequence Settings and post that here.
MtD

Similar Messages

  • SQL SERVER 2014 - Project consistency check failed. The following inconsistencies were detected: package.dtsx. has a different ProtectionLevel than the project.

    I am getting the following error when I right click on a package in solution explorer and execute using SQL Server 2014:
    Project consistency check failed. The following inconsistencies were detected: package.dtsx. has a different ProtectionLevel than the project.
    Luckily my solution only has 10 packages.  I have verified and re-verified that everyone is set to dontsavesensitive.
    I have verified and re-verified that the solution has the protection level to dontsavesensitive.
    What on earth is going on here?  I am using windows authentication and have no need for the package to save any sensitive information, nor should there be any.
    Can someone please help me out here?
    The Degenerate Dimension

    Hi MMiligan,
    Just as the error message said, the exactly issue is that the package package.dtsx has a different ProtectionLevel property value than the project.
    So please double check the value of project ProtectionLevel property, like DontSaveSensitive, then make sure all packages in the project use the same ProtectionLevel value.
    If there is still an error message indicated that some packages use a different value, please right-click the indicated package to select View Code, then make sure there is a line like below(the DontSaveSensitive
    protection level corresponds to the value of 0):
    DTS:ProtectionLevel="0"
    The following similar thread is for your reference:
    http://stackoverflow.com/questions/18705161/protection-level-changed-mid-project-now-project-wont-build
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • "Show List of values"  showing different values than "Preview List of values for the same dimension Object

    Hi All, 
    I have a dimension object in Business Layer which is showing a different values than the original database values. When I right click on the object and select "Show List of Values its showing values which are not related to the original values in the database but if I right click on the same object and select "Preview List of Values" it shows the right values present in the database. Any suggestions on how to rectify. It was working good and many reports have been built using that particular dimension.
    Is there any way to fix the problem without the deleting the object or recreating another similar object as the object has been used in several reports, so by deleting or recreating the object may break the reports.
    Please help!

    Hi
    A  list of values is a list that contains the data values associated with an object, Lists of values inserted in the data foundation are inherited by any business layer based on the data foundation.
    Right click on the object and select  “Show Values”… Display all the DB values including null
    Preview List of Values – also display same values...getting differnece meens...Check weather using any Static List of Values.
    If you uncheck the Associated list of values check box "Preview List of Values" options is disabled.
    For best practice …LOV is disabled for un-necessary dimension objects
    Also If you have Db access check the correct data by
    SELECT
    Distinct Schema name. Table/View name. Object name
    FROM
    Schema.name. Table/View name

  • Address Book contact preview shows a different date than what is input in the birthday field.

    When opening the address book and clicking on an entry, the preview pane at the bottom shows a different date than the date that is entered in the birthday field. It shows the day before the actual date that is entered. See images below:
    Thanks!

    Thunderbird numbering is based on the Extended Support Releases, which are provided every seven "regular" cycles (thus after 7 6-week cycles = every 42 weeks) to minimize fallout from new features hitting the releases to frequently. Initially, those release were issued to organizations only which require some kind of internal review or certification of software prior to deployment.
    Currently we are in the "37.0" cycle and 38 beta 1 has just been released (but doesn't have the fix yet). Meaning, the next release after 31.6.0 won't be 31.7.0 but 38.0 already, followed by 38.1.0 up to 38.6.0, the continuing with 45.0, etc.
    Confusing, yes, but that's what they came up with.

  • Good night,  I ended up making a purchase at Apple, but my credit card operator called me to confirm the values ​​and was told different values ​​than bought.  Purchases appeared as:  $ 159.70 (protocol 604627) $ 137.00 (protocol 604538) $ 105.39 (protoco

    good night,
    I ended up making a purchase at Apple, but my credit card operator called me to confirm the values ​​and was told different values ​​than bought.
    Purchases appeared as:
    $ 159.70 (protocol 604627)
    $ 137.00 (protocol 604538)
    $ 105.39 (protocol 604468)
    $ 0.01 (protocol 615633)
    Could you check what is happening? Because I had to cancel my card for security.
    Sincerely,

    np33td33 wrote:
    My purchases were:
    macBookPro
    office 2011
    iwork
    ilife
    and these purchases did not appear in the system credit card
    Call Apple at 1800MYAPPLE.  We just deal with MacBook Pro issues, and we have nothing to do with Apple.  Please read what others have posted.

  • I have an old iphone4 that I want to give to a friend that has a different carrier than I. I'm havaing difficulty understanding the instructions from Apple.  Why do I need to restore my phone if I have already updated my iphone 6

    I have an old iphone 4 that I want to give to a friend that has a different carrier than I.  Why do I want to restore my old phone to "unlock" it.  I erased all data when I updated my new phone.

    If you have arranged with your carrier to unlock you iPhone, and they have sent you an e-mail telling you that it has been unlocked and to follow instructions to unlock, then you will need to restore in order to complete the unlock.

  • When I try to login to the AppStore to update my apps om my iPhone 5s it has a different username than mine. How do I change it. It is correct when I go to settings/itunes

    When I try to login to the AppStore to update my apps om my iPhone 5s it has a different username than mine. How do I change it. It is correct when I go to settings/itunes

    Delete those applications and then download them from the desired Apple ID. This may require repurchasing paid applications.
    (101801)

  • "target document has a different depth than source document." help?

    as of yesterday i have been recieveing an alert when i try to move a jpeg into a new photoshop doc stating that my target document has a different depth than my source document and will (which it definiately does) result in lower than expected quality. i have no idea how to fix this. please help.
    Photoshop specs: CS6; RGB; 16 bit; Res 300 pixels/inches; size: letter; (advanced setting - don't know what these are) color profile: sRGB IEC61966-2.1; Pixel aspect ratio: square pixels
    don't know if i accidentally messed with something i shouldn't have or what. any help is appreciated. thank you in advance.

    There's GOT to be something to fix. I've been getting that message all night -- when I say "yes" and then try to SAVE the document, it won't give me the option to "save for web."
    I started completely from scratch, and still got the error window, and it still wouldn't let me "save for web."
    So -- let's begin again -- what needs to be fixed?

  • Moveing average price after posting invoice with different value  than GR

    Hello all
    I have a question as in subject.
    If I will post goods receipt and after this I would like to post an invoice in MIRO with different value than in goods receipt , the MAP on my stock will change about this different???

    Hi,
    Your MAP will get recalculated as the price difference will change the total value of the stock and the stock quantity will remain the same
    MAP=Total value/Total stock
    Hope this will help you
    Reward if useful
    Thanx and Regards
    SHYAM.R

  • Search cannot be executed because the table has pending changes

    I'm getting the following error ..... The search cannot be executed because the table has pending changes that would be lost .... in the following scenario ....
    My 1st page is a search page with resulting rows from which the user can select specific rows to process ..... next button will populate the VO for the 2nd page by manually looping thru the selected rows in the VO of the 1st page. Loop logic is in the AM and it calls a method in the VORowImpl that uses setAttributeInternal .... the 2nd page displays the selected rows .....
    Pressing the back button of the 2nd page will display the 1st page and if the user tries to do a new search .... the error shows up.
    Any suggestions on how to handle this?
    Thank you.

    It seems to me that you are using the same VO on both the pages. If that is the case try to use separate VO for each page.
    And as suggested by Sumit, Never use/ rely on browser back button. Instead put a Back button on the second page through you can handle the event yourself rather than leaving on the mercy of browser.
    --Saroj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Error: "The search cannot be executed because the table has pending changes that would be lost."

    Hello,
    I'm working a developing an OA page that will displays the contents of an Oracle table and allows the user to update records in a table as needed.
    When I hit submit button to save the changes in the update page, the control goes back to main page (where all the table records are displayed). It displays the updated record with the new information.However when I hit "Go" button on the mainPG, I get the error "The search cannot be executed because the table has pending changes that would be lost. and the changes are not committed.
    ANy suggestions on where I should look will be greatly appreciated.
    Posting code for my controller
    =======================
              if ( pageContext.getParameter("saveRate") != null )
              personam.invokeMethod("saveRateToDatabase");
    Code from my AM
    =============
        public void saveRateToDatabase()
          getOADBTransaction().commit();
          System.out.println("40--After commit has been executed");
    Code from my VORowImpl
    ===================
    package cggv.oracle.apps.gl.server;
    import oracle.apps.fnd.framework.server.OAViewRowImpl;
    import oracle.jbo.domain.Date;
    import oracle.jbo.domain.Number;
    import oracle.jbo.server.AttributeDefImpl;
    // ---    File generated by Oracle ADF Business Components Design Time.
    // ---    Custom code may be added to this class.
    // ---    Warning: Do not modify method signatures of generated methods.
    public class xxCggGlRatesVORowImpl extends OAViewRowImpl {
        public static final int RATEID = 0;
        public static final int FROMCURRENCY = 1;
        public static final int TOCURRENCY = 2;
        public static final int FROMCONVERSIONDATE = 3;
        public static final int TOCONVERSIONDATE = 4;
        public static final int USERCONVERSIONTYPE = 5;
        public static final int CONVERSIONRATE = 6;
        public static final int MODEFLAG = 7;
        /**This is the default constructor (do not remove)
        public xxCggGlRatesVORowImpl() {
        /**Gets the attribute value for the calculated attribute RateId
        public Number getRateId() {
            return (Number) getAttributeInternal(RATEID);
        /**Sets <code>value</code> as the attribute value for the calculated attribute RateId
        public void setRateId(Number value) {
            setAttributeInternal(RATEID, value);
            //populateAttribute(RATEID, value);
        /**Gets the attribute value for the calculated attribute FromCurrency
        public String getFromCurrency() {
            return (String) getAttributeInternal(FROMCURRENCY);
        /**Sets <code>value</code> as the attribute value for the calculated attribute FromCurrency
        public void setFromCurrency(String value) {
            setAttributeInternal(FROMCURRENCY, value);      
        /**Gets the attribute value for the calculated attribute ToCurrency
        public String getToCurrency() {
            return (String) getAttributeInternal(TOCURRENCY);
        /**Sets <code>value</code> as the attribute value for the calculated attribute ToCurrency
        public void setToCurrency(String value) {
            setAttributeInternal(TOCURRENCY, value);
        /**Gets the attribute value for the calculated attribute FromConversionDate
        public Date getFromConversionDate() {
            return (Date) getAttributeInternal(FROMCONVERSIONDATE);
        /**Sets <code>value</code> as the attribute value for the calculated attribute FromConversionDate
        public void setFromConversionDate(Date value) {
            setAttributeInternal(FROMCONVERSIONDATE, value);      
        /**Gets the attribute value for the calculated attribute ToConversionDate
        public Date getToConversionDate() {
            return (Date) getAttributeInternal(TOCONVERSIONDATE);
        /**Sets <code>value</code> as the attribute value for the calculated attribute ToConversionDate
        public void setToConversionDate(Date value) {
            setAttributeInternal(TOCONVERSIONDATE, value);       
        /**Gets the attribute value for the calculated attribute UserConversionType
        public String getUserConversionType() {
            return (String) getAttributeInternal(USERCONVERSIONTYPE);
        /**Sets <code>value</code> as the attribute value for the calculated attribute UserConversionType
        public void setUserConversionType(String value) {
            setAttributeInternal(USERCONVERSIONTYPE, value);
        /**Gets the attribute value for the calculated attribute ConversionRate
        public Number getConversionRate() {
            return (Number) getAttributeInternal(CONVERSIONRATE);
        /**Sets <code>value</code> as the attribute value for the calculated attribute ConversionRate
        public void setConversionRate(Number value) {
            setAttributeInternal(CONVERSIONRATE, value);
        /**Gets the attribute value for the calculated attribute ModeFlag
        public String getModeFlag() {
            return (String) getAttributeInternal(MODEFLAG);
        /**Sets <code>value</code> as the attribute value for the calculated attribute ModeFlag
        public void setModeFlag(String value) {
            setAttributeInternal(MODEFLAG, value);      
        /**getAttrInvokeAccessor: generated method. Do not modify.
        protected Object getAttrInvokeAccessor(int index,
                                               AttributeDefImpl attrDef) throws Exception {
            switch (index) {
            case RATEID:
                return getRateId();
            case FROMCURRENCY:
                return getFromCurrency();
            case TOCURRENCY:
                return getToCurrency();
            case FROMCONVERSIONDATE:
                return getFromConversionDate();
            case TOCONVERSIONDATE:
                return getToConversionDate();
            case USERCONVERSIONTYPE:
                return getUserConversionType();
            case CONVERSIONRATE:
                return getConversionRate();
            case MODEFLAG:
                return getModeFlag();
            default:
                return super.getAttrInvokeAccessor(index, attrDef);
        /**setAttrInvokeAccessor: generated method. Do not modify.
        protected void setAttrInvokeAccessor(int index, Object value,
                                             AttributeDefImpl attrDef) throws Exception {
            switch (index) {
            case RATEID:
                setRateId((Number)value);
                return;
            case FROMCURRENCY:
                setFromCurrency((String)value);
                return;
            case TOCURRENCY:
                setToCurrency((String)value);
                return;
            case FROMCONVERSIONDATE:
                setFromConversionDate((Date)value);
                return;
            case TOCONVERSIONDATE:
                setToConversionDate((Date)value);
                return;
            case USERCONVERSIONTYPE:
                setUserConversionType((String)value);
                return;
            case CONVERSIONRATE:
                setConversionRate((Number)value);
                return;
            case MODEFLAG:
                setModeFlag((String)value);
                return;
            default:
                super.setAttrInvokeAccessor(index, value, attrDef);
                return;
        /**Gets xxCggGlRatesEO entity object.
        public xxCggGlRatesEOImpl getxxCggGlRatesEO() {
            return (xxCggGlRatesEOImpl)getEntity(0);

    Hi,
    Check these links:
    Oracle Apps: Search cannot be executed because the table has pending changes that would be lost
    Re: Getting error in search page search cannot be executed
    http://jneelmani.blogspot.in/2009/11/oaf-search-cannot-be-executed-because.html
    --Sushant

  • "Error:The search cannot be executed because the table has pending changes that would be lost", after DELETE

    Good day,
    On Search Page, I have searched for the record(s) then deleted a record and got confirmation message i.e. Record has deleted. Next when I search for any record I'm getting below error.
    Error
    The search cannot be executed because the table has pending changes that would be lost.
    Could you please help me to fix this issue. Your response is highly appreciated.
    Item properties:
    Item Style : Image
    Action Type: Fire Action
    Event : delete
    Below is the code using in CO and AM
    Controller (processFormRequest):
    if ("delete".equals(pageContext.getParameter(EVENT_PARAM)))
              // The user has clicked a "Delete" icon so we want to display a "Warning"
              // dialog asking if she really wants to delete the employee. Note that we
              // configure the dialog so that pressing the "Yes" button submits to
              // this page so we can handle the action in this processFormRequest( ) method.
              String visit_id = pageContext.getParameter("visit_id");
              String employeeName = pageContext.getParameter("last_name") + ", " + pageContext.getParameter("first_name");
              MessageToken[] tokens = { new MessageToken("EMP_NAME", employeeName)};
              OAException mainMessage = new OAException("FND", "XXXX_EMP_DELETE_WARN", tokens);
              // Note that even though we're going to make our Yes/No buttons submit a
              // form, we still need some non-null value in the constructor's Yes/No
              // URL parameters for the buttons to render, so we just pass empty
              // Strings for this.
              OADialogPage dialogPage = new OADialogPage(OAException.WARNING,
                mainMessage, null, "", "");
              // Always use Message Dictionary for any Strings you want to display.
              String yes = pageContext.getMessage("AK", "FWK_TBX_T_YES", null);
              String no = pageContext.getMessage("AK", "FWK_TBX_T_NO", null);
              // We set this value so the code that handles this button press is
              // descriptive.
    dialogPage.setOkButtonItemName("DeleteYesButton");
              // The following configures the Yes/No buttons to be submit buttons,
              // and makes sure that we handle the form submit in the originating
              // page (the "Employee" summary) so we can handle the "Yes"
              // button selection in this controller.
    dialogPage.setOkButtonToPost(true);
    dialogPage.setNoButtonToPost(true);
    dialogPage.setPostToCallingPage(true);
              // Now set our Yes/No labels instead of the default OK/Cancel.
    dialogPage.setOkButtonLabel(yes);
    dialogPage.setNoButtonLabel(no);
              // We need to keep hold of the employeeNumber and employeeName.
              // The OADialogPage gives us a convenient means
              // of doing this. Note that the use of the Hashtable is 
              // most appropriate for passing multiple parameters. See the OADialogPage
              // javadoc for an alternative when dealing with a single parameter.
              java.util.Hashtable formParams = new java.util.Hashtable(1);
    formParams.put("visit_id", visit_id);
    formParams.put("empName", employeeName);
    dialogPage.setFormParameters(formParams);
              pageContext.redirectToDialogPage(dialogPage);
        else if (pageContext.getParameter("DeleteYesButton") != null)
              // User has confirmed that she wants to delete this employee.
              // Invoke a method on the AM to set the current row in the VO and
              // call remove() on this row.
              String employeeNumber = pageContext.getParameter("visit_id");
              String employeeName = pageContext.getParameter("empName");
              Serializable[] parameters = { employeeNumber };
             // OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("deleteEmployee", parameters);
              // Now, redisplay the page with a confirmation message at the top. Note
              // that the deleteEmployee() method in the AM commits, and our code
              // won't get this far if any exceptions are thrown.
              MessageToken[] tokens = { new MessageToken("EMP_NAME", employeeName) };
              OAException message = new OAException("FND",
                "XXXX_EMP_DELETE_CONFIRM", tokens, OAException.CONFIRMATION, null);
    pageContext.putDialogMessage(message);
    Application Module:
      public void deleteEmployee(String visit_id)
            // First, we need to find the selected employee in our VO.
            // When we find it, we call remove( ) on the row which in turn
            // calls remove on the associated EmployeeEOImpl object.
            int empToDelete = Integer.parseInt(visit_id);
              OAViewObject vo = (OAViewObject)getNonEmployeesSummaryVO1();
        NonEmployeesSummaryVORowImpl row = null;
            // This tells us the number of rows that have been fetched in the
            // row set, and will not pull additional rows in like some of the
            // other "get count" methods.
           int fetchedRowCount = vo.getFetchedRowCount();
            // We use a separate iterator -- even though we could step through the
            // rows without it -- because we don't want to affect row currency.
            RowSetIterator deleteIter = vo.createRowSetIterator("deleteIter");
    if (fetchedRowCount > 0)
              deleteIter.setRangeStart(0);
              deleteIter.setRangeSize(fetchedRowCount);
              for (int i = 0; i < fetchedRowCount; i++)
                row = (NonEmployeesSummaryVORowImpl)deleteIter.getRowAtRangeIndex(i);
                // For performance reasons, we generate ViewRowImpls for all
                // View Objects. When we need to obtain an attribute value,
                // we use the named accessors instead of a generic String lookup.
                // Number primaryKey = (Number)row.getAttribute("EmployeeId");
                Number primaryKey = row.getVisitId();
                if (primaryKey.compareTo(empToDelete) == 0)
                  // This performs the actual delete.
                  row.remove();
                    getTransaction().commit();
                  break; // only one possible selected row in this case
            // Always close the iterator when you're done.
            deleteIter.closeRowSetIterator();
          } // end deleteEmployee
    Thanks,
    Ravi

    Hi
    Check this link Getting error in search page search cannot be executed
    Regards,
    Dilip

  • How to dump table to the flat file, if the table has NVARCHAR data type fie

    I need to dump the table to the text file. The table has NVARCHAR data type field and simple select * from table_name does not work. What do I have to do? Do I need convert NVARCHAR to VARCHAR and if yes, then how?
    Thanks,
    Oleg

    I need to dump the table to the text file. The table has NVARCHAR data type field and simple select * from table_name does not work. What do I have to do? Do I need convert NVARCHAR to VARCHAR and if yes, then how?
    Thanks,
    Oleg

  • Last time the table has been accessed flag

    Is there any easier way to "log" when was the last time every table has been accessed than this ones:
    -Audit all on every table and just check sys.aud$ when was the last time the table has a session rec (action# = 103)
    -Place a trigger on every table to log the last access
    If you wonder why I need it is beacause I have around 200 tables, some of them quite heavy, and probably half of them are not being used anymore so I want to backup and delete those tables from the database.
    Thanks

    Easier than
    audit select on table <your_table> by access;and later query DBA_AUDIT_TRAIL?
    Don't think so.

  • Issue Differences between the table of totals (ZFXX00T)  and detail (ZFXX00

    Hi,
    Currently I have a issue in the FI-SL module with Differences between the table of totals (ZFXX00T)  and detail (ZFXX00A). And I do not Know why. Please your help or comments.

    did you try ERP Financials forum yet? a lot of FI-SL has been replaced with SAP Ledger FAGLFLEXA and T tables.
    @greg_not_so

Maybe you are looking for

  • Discount from incoming payment

    Dear sir, I set up account for cash discount granted - 64147 I entried an invoice (FB-70) at 25.07.2008 with customer DM01 and payment term 002 (within 14 days2% discount, within 30 days due net) I also process F-28 (incoming payment - partial paymen

  • Mini with antique Radius Pivot, please?

    I'm still using a Radius Pivot, in portrait mode, at times. (For you youngsters, that's a VGA color display that physically rotates -- the entire CRT in its case -- 90 degrees). Nobody's made drivers for Macintosh systems for years, so it's only usef

  • WRT150N connects to Wii but doesn't accept a Wii update.

    I've updated my WRT150N to the latest firmaware (1.51.3) and the router connects fine to my PC via hardwire. My router is also seen by other wireless devices (laptop, Archos) the Wii even detects it and the Wii internet test passes. But the problem I

  • Screen now has a yellow tinge...

    Last night I started up my G5. I clicked on mail and while moving the arrow to select an email my screen changed to a yellowish tinge. My computer works fine otherwise. I have tried fixing it in preferences, with no luck. Have I clicked on something

  • HT1923 why is itunes not installing correctly. keep getting error 7

    I keep getting a message saying something about my apple mobile device (error 7) when I am trying to install itunes on my laptop