Data Manipulation with Browsers

Environment:
Development PC
- OS: Windows NT 4.0 SP3
- JDev 2.0 Build 184
Server
- OS: Sun Solaris 7
- Oracle 8.1
we develop an Applet with INSERT, UPDATE, DELETE-commands and get
following problems:
After Insertion of a new record, we have a round robin effect
after rereading, e.g. first column = last column, second col. =
first col. a.s.o.
During Deletion, we get the message NO_ROWS_EFFECTED, although
we
execute the method
QueryDataSet queryDataSet1;
queryDataSet1.deleteRow();
database1.saveChanges(queryDataSet1);
database1.commit();
Could anyone help us ?
with best regards Uwe
null

Environment:
Development PC
- OS: Windows NT 4.0 SP3
- JDev 2.0 Build 184
Server
- OS: Sun Solaris 7
- Oracle 8.1
we develop an Applet with INSERT, UPDATE, DELETE-commands and get
following problems:
After Insertion of a new record, we have a round robin effect
after rereading, e.g. first column = last column, second col. =
first col. a.s.o.
During Deletion, we get the message NO_ROWS_EFFECTED, although
we
execute the method
QueryDataSet queryDataSet1;
queryDataSet1.deleteRow();
database1.saveChanges(queryDataSet1);
database1.commit();
Could anyone help us ?
with best regards Uwe
null

Similar Messages

  • Data Manipulation with ContentHandlers

    Okay, I understand that when parsing with SAX, ContentHandlers work on the data thats parsed as it's parsed.
    What I'm having problems understanding it how to work on the data structurally. For example here is what I'm trying to achieve:
    I generate a DOM Document based on database results and other calculations.
    I want to use a SAXParser to extract data from this Document and create another object with the data.
    eg:
    <Data>
         <col>
              <name>Peter</name>
              <address>here</address>
              <age>23</age>
         </col>
         <col>
              <name>Paul</name>
              <address>there</address>
              <age>29</age>
         </col>
         <col>
              <name>Mary</name>
              <address>everywhere</address>
              <age>26</age>
         </col>
    </Data>From this tree, I want to construct other objects, eg
    personDetails.java
    public personDetails(String name, String address, int age){
         this.name = name;
         this.address = address;
         this.age = age;
    }How do I work at the <col> level to construct my class as it's parsed?
    startElement() occurs when it encounters any opening tag but I want access to all children of the current tag.
    I could do this with DOM, but would SAX be any faster?
    Cheers,
    Anthony

    Hi,
    yes you can reach it through SAX Parser. Do it as followed:
    1. define global variables for each of the tag elements name, address and age that you'll later assign to them the value of the tags and another global variable to which you'll assign the
    name of the current tag element each time the method startElement() is called. that means
    you'll assign to it the value of the second or third parameter of the method startElement().
    2. in the method characters() check which is the current element? if it is:
    a) col -> do nothing
    b) name -> assign to the global variable for name the value getting from the buffer
    c) address -> assign to the global variable for address the value getting from the buffer
    d) age -> assign to the global variable for address the value getting from the buffer
    you may probabily convert the value into the rigth type. you'll get only String value.
    3. in the methog endElement() check for the current tag element by comparing the value of
    the current element name returning by this method and the value of global variable for tag
    element name: if the value is
    a) col -> call your method personDetails() whith the value of the global variables
    b) othwise skip
    I hope this will fulfil you requirements.
    To your second question the answer is not easy. It's depend to many other factors but if
    you understood how DOM Parser and SAX Parser are working, you'll the answer to your
    question will be evident. I'll try to give you some tips:
    1. use DOM Parser if you have a relative small xml file it is simpler and flexible. the reason is
    that DOM Parser generates first a tree for your xml file before doing anything with it. that
    can cause memory problem but the advantage is that you can switch anywere in the tree.
    2. use SAX Parser for large xml file. SAX not generate a tree but parse the file top-down. So
    normaly you'll never get a memory problem unless your file it to large to be cached in the
    memory. You can parse any xml file without problem but you don't have the possibility to
    use effectively the xml structure to navigate througth the xml file.
    So I can say DOM is efficient for small xml file and for navigation througth the xml structure. But SAX is for large xml file. Maybe I omit something. Try to answer to your question by trying to understand the requirements of your programm.
    good luck!
    abaman
    Okay, I understand that when parsing with SAX,
    ContentHandlers work on the data thats parsed as it's
    parsed.
    What I'm having problems understanding it how to work
    on the data structurally. For example here is what I'm
    trying to achieve:
    I generate a DOM Document based on database results
    and other calculations.
    I want to use a SAXParser to extract data from this
    Document and create another object with the data.
    eg:
    <Data>
    <col>
    <name>Peter</name>
    <address>here</address>
    <age>23</age>
    </col>
    <col>
    <name>Paul</name>
    <address>there</address>
    <age>29</age>
    </col>
    <col>
    <name>Mary</name>
    <address>everywhere</address>
    <age>26</age>
    </col>
    </Data>From this tree, I want to construct other objects, eg
    personDetails.java
    public personDetails(String name, String address, int
    age){
    this.name = name;
    this.address = address;
    this.age = age;
    }How do I work at the <col> level to construct my class
    as it's parsed?
    startElement() occurs when it encounters any
    opening tag but I want access to all children of the
    current tag.
    I could do this with DOM, but would SAX be any
    faster?
    Cheers,
    Anthony

  • Manipulations with Date

    i need to do some manipulations with dates, as like the following psuedo code.
    date a=feb 14 2007;
    date b=jan 31 2007;
    date c=a+1; //this should do c=feb 15 2007
    boolean before=b<a;//this should do as before= true
    boolean after=b<a;//this should do as after=falsei searched in util.date of API. But some constructors that i cud use do this are deprecated.
    So any ideas..

    Date in general is deprecated.No, not at all. Just many of the methods are. Date
    serves one role and calendar another.fusk u jverd u no nothing you pile of sh!t u got no
    rite to correct me etc blah blah noob loses it :-)Good morning to you too. :-)
    I never use Date. when would you prefer it over
    Calendar?When I want to represent an instant in time without needing to worry about human imposed chunkification into months, days, etc. And I use SimpleDateFormat for going between human enterable/readable strings and the "raw" Date representation.
    The only time I use Calendar is when I want to do day/week/month/year math on it, like "first day of the month" or "add one week" or "midnight on the day represented by this Date."

  • Is there a way to name the .indd files created by a data merge with values in the CSV file

    I have a data merge document that is set to single Record per Document page and 1 page per document.  In my CSV file I have a field for Part Number.  If I run a data merge with 10 records I end up with 10 .indd files.  I need a way so that the resulting .indd files are named the same value that is in the Part Number field.

    Loic has provided a link for my original piece, and I've written up some follow-up pieces for indesignsecrets.com:
    http://indesignsecrets.com/data-merging-individual-records-separate-pdfs.php
    http://indesignsecrets.com/data-merging-individual-records-separate-pdfs-part-2-scripting. php
    So there are several ways to get unique name PDFs from an indesign Data Merge. However, none of these 3 articles will truly answer your question of how to get unique indesign filenames using the database. I can see a practical purpose for this as merging business cards directly to PDFs is great, but I can be guaranteed that while on proof, there will be alts to the business cards that need to be done outside the merge, meaning specific records need to be exported to indesign files for further manipulation.

  • Best Practice for Package Implementation of Data Manipulation

    Hi,
    Would like to ask which is better implementation for data manipulation (insert, update, delete) stored procedure for a single table.
    To create a single procedure with input parameter for the action such as 1 for insert, 2 for update and so on
    or
    to create separate procedures for each like procedure pInsData for insert, pUpdData for update...

    Hi,
    Whenever you create a procedure it resides as a seperate object in database.
    In my opinion its better to create a single procedure which takes care of all DML concern to a table, rather than creating different procedures for each DML.
    If your number of DML are more and interrelated then its better to create a package and put all related DML procedures in the package concern to one transaction or table. This is because whenever you will call a package entire package will be placed in the memory for a particular session. So if you create different procedures for DML then you need to call the procedures each time you want it to be executed.
    Twinkle

  • How to save data aquired with NI mydaq and save it in a data base using Labview?

    i have developped with labview an interface that can control automatic irrigation station using two sensors ( humidity sesonr and temperature sensor) so i want to save data aquired during a year in a data base so i can compare these results in the next year please help me to do that in my interface labview and thanks 
    Attachments:
    PFE.vi ‏223 KB

    There is a database toolkit for LabVIEW.  I don't think it is a free download however.  With the Data Manipulation toolkit, you can integrate with most databases that use the ODBC protocol.
    If you don;t need anything fancy, you can write the values out to file using the write/read spreadsheet VIs.  If the file is [COMMA] or [TAB] delimited, you can import it into your database with ease.
    Another approach is to format you output to a text file as SQL, and import the records that way.
    INSERT INTO TEMP_HUM_TBL (Temperature, Humidity, Txn_Date)
    VALUES (30, 95, 'Dec-24-2013');
    Machine Vision, Robotics, Embedded Systems, Surveillance
    www.movimed.com - Custom Imaging Solutions

  • How to solve "error occurred in the data manipulation engine"? 64bit Windows 7

    Hi all
    I'm having quite a testing time here trying to use the new SAP PA 2.0. After installation the software launches, the Automated Analytics seems to work fine but not the Expert Analytics.
    Steps as follows:
    Launch PA
    Choose and launch Expert Analytics
    Choose Try with Samples
    Open the Dairy Wholesaler file
    Error: An error occurred in the data manipulation engine. Check the manipulation parameters. (HDB 01001)
    I also get this same error when I try to create my own New Dataset.
    I’m on 64bit Windows 7 Pro
    Is there anyone who knows how to solve this problem. I've searched the SCN and online and have tried the following:
    1. Uninstall and re-install. Doesn't help
    2. Uninstall and delete old lumira related folders on the C drive e.g. the SAPPA and SAPVI folders on the C drive, then re-install.
    Much appreciated if anyone could shed some light on this. I've previously had Lumira working with no issues. I've since uninstalled Lumira, Predictive Analytics, and Infinite Insights (as PA 2.0 is all of this combined)
    Regards
    Ria

    In case anyone has the same problem, I found the the following helpful (taken from Error after upgrading to 1.18 ). The solution is for Lumira however its the same steps for PA2
    1.  You might want to try a ‘clean’ uninstall / reinstall . After uninstalling, try deleting these folders:
    C:\Users\Public\sapvi
    C:\Users\<user>\AppData\Local\SAP\Lumira
    C:\Users\<user>\AppData\Local\Temp\sapvi
    In this step I searched for every SAP related file in AppData in the Public, User, and my own username folder under \Users\
    2.  Next, to launch the application, explicitly click "Run as Administrator" on the install file

  • Creating Data Server with DB2

    Hello Experts,
    I am creating data servers with database DB2 in xMII 12.1
    This is the details:
    Connector : IDBC
    Connector type : SQL
    JDBC driver : com.inet.tds.TdsDriver
    Server Package : com.sap.xmii.Illuminator.connectors.IDBC
    Server Url : jdbc:inetdae:BGC125:5912?database=MD1&sql7=true
    When I am checking the status, it is coming stopped
    I had checked in NWA, and JDBC driver is green.
    Please help me on that.
    Regards,
    Dipak

    Thanks for the quick reply John. I am trying to get user and group information, and also doing some complex manipulation. I need this to verify user access and some other stuff. I will not always have access to HSS and cannot always export the information, thus the need to use the HSS java API.
    I'm trying to pull it out of HSS and put it into an Oracle table in a standard format where I'll use the information and do reporting off of it. I've developed a java class that does migrates the data over, but its crude and I'd like to move it into ODI with some of our projects that are currently doing the same thing with other ERP such as Ebiz and Peoplesoft.
    If I can recode some of the java in ODI, how would I go about doing that. Where would I include the libraries, etc.? is there a tutorial or a place where I can get started on that.
    Thanks for all the help.

  • Moving LR5 catalog (Irdata & Ircat) to a new hard drive and photos. Lost all meta data - How do I move meta data along with catalog?

    I moved LR5 catalog (Irdata & Ircat) to a new hard drive and photos. Lost all meta data - How do I move meta data along with catalog?
    The meta data for each image is missing.
    I have over 2,000 images. I don't want to go back through each image and add meta data.
    Is there some way to move everything?

    No, do not re-import your images. I assume you can see the thumbnails in the library module, just cannot access the full images, right? If this is the case there should be an exclamation mark in the top right corner of every one of your pictures and you only have to tell LR where the images are now.
    Click the exclamation mark of one of the images and a dialog window should pop-up, telling you that LR cannot find the file, but with an option to locate it. Press "Locate" and navigate to the folder on your new HD where the file is. If in the new external HD you kept the same folder structure that you had on the internal disk, LR will be able to find all your images and re-link them to the database without further intervention.

  • How can we view the data asociated with Request ID

    Hi All,
    I have data loaded in an ODS there are multiple files loaded in this ODS. Now i want to view data for a perticuler request OR i want to know how can we know the data associated with a perticular request.
    Please help me out.
    Thanks & Regards
    Amit Kumar

    Copy the request number (not request ID) from the ODS manage screen, Goto RSRQ give the request number and execute. it shows the monitor screen- now goto PSA from the top and check the data. But this possible only if you are loading data to PSA also along with ODS.
    Otherwise, Goto Display Data of ODS from the right click on it -- in the selection screen give the Request ID that you want to check the data. Then it displays only that request data.
    Hope this helps.
    Veerendra.
    Edited by: denduluri veerendra kumar on Dec 1, 2009 12:40 PM
    Edited by: denduluri veerendra kumar on Dec 1, 2009 12:43 PM

  • Updated my iphone4 with ios6.1 software. App store is not working. Tried rebooting, restoring, changing date, signing with another apple id etc. but no luck. can someone please help?

    Updated my iphone4 with ios6.1 software. App store is not working. Tried rebooting, restoring, changing date, signing with another apple id etc. but no luck. can someone please help?

    I guess I will wrap this up. I have abandoned iPhoto and viewing my Photo Streams using it and moved to Adobe products (Bridge + PS). So that's that.

  • Need Date manipulation in BI Publisher report template

    Hi All,
    I need date manipulation in BI Publisher report template for e.g sysdate+4 this means i need 4 days after todays sysdate.
    That menas if today date(sysdate) is 09/01/2008 then i need (sysdate+4) i.e 13/01/2008.
    Please help me.
    Thanks
    Edited by: user562690 on Jan 9, 2009 3:21 PM

    Hi M14,
    I have doubt on similar type.I have AgreementStartDate as
    <AgreementStartDate>12/03/2008 07:24:10</AgreementStartDate> in XML format.
    I am not able to apply same formula for thsi date format in similar manipulation.
    Please help me.
    TIA
    skr

  • I am trying to download the new episode of Game of Thrones on my iPad. We are currently travelling in Italy and have an unlimited pre- paid data plan with the Italian carrier Wind.  When I try download the episode through iTunes I get an error message

    Hi there, traveling through Italy with my iPad. Purchased a unlimited prepaid data plan with Italian carrier WIND.  Has been working excellent, but when I try to download a new episode of Game of Thrones, I get an error message which says that I have to connect to a wi fi network or download the episode on my MacBook.  Why can't I download using the microsim and prepaid data plan?  Any help will be great thank you!

    Unfortunately downloads larger than 20mbps require wifi due to most carriers having data limits. This "requirement" keeps people who are not familiar with data and what takes up a lot of data from going over.

  • How to load unicode data files with fixed records lengths?

    Hi!
    To load unicode data files with fixed records lengths (in terms of charachters and not of bytes!) using SQL*Loader manually, I found two ways:
    Alternative 1: one record per row
    SQL*Loader control file example (without POSITION, since POSITION always refers to bytes!)<br>
    LOAD DATA
    CHARACTERSET UTF8
    LENGTH SEMANTICS CHAR
    INFILE unicode.dat
    INTO TABLE STG_UNICODE
    TRUNCATE
    A CHAR(2) ,
    B CHAR(6) ,
    C CHAR(2) ,
    D CHAR(1) ,
    E CHAR(4)
    ) Datafile:
    001111112234444
    01NormalDExZWEI
    02ÄÜÖßêÊûÛxöööö
    03ÄÜÖßêÊûÛxöööö
    04üüüüüüÖÄxµôÔµ Alternative2: variable length records
    LOAD DATA
    CHARACTERSET UTF8
    LENGTH SEMANTICS CHAR
    INFILE unicode_var.dat "VAR 4"
    INTO TABLE STG_UNICODE
    TRUNCATE
    A CHAR(2) ,
    B CHAR(6) ,
    C CHAR(2) ,
    D CHAR(1) ,
    E CHAR(4)
    ) Datafile:
    001501NormalDExZWEI002702ÄÜÖßêÊûÛxöööö002604üuüüüüÖÄxµôÔµ Problems
    Implementing these two alternatives in OWB, I encounter the following problems:
    * How to specify LENGTH SEMANTICS CHAR?
    * How to suppress the POSITION definition?
    * How to define a flat file with variable length and how to specify the number of bytes containing the length definition?
    Or is there another way that can be implemented using OWB?
    Any help is appreciated!
    Thanks,
    Carsten.

    Hi Carsten
    If you need to support the LENGTH SEMANTICS CHAR clause in an external table then one option is to use the unbound external table and capture the access parameters manually. To create an unbound external table you can skip the selection of a base file in the external table wizard. Then when the external table is edited you will get an Access Parameters tab where you can define the parameters. In 11gR2 the File to Oracle external table can also add this clause via an option.
    Cheers
    David

  • Query To update a date column with a date of my interest

    All,
    How to update a column in a table which is in date format with a date of my interest??
    Pls suggest.

    Please detail :
    1. what exactly you are trying to do
    2. what exactly you have done
    Nicolas.

Maybe you are looking for

  • Printing a view

    hi How to print a view in NW 2004s? Please provide me steps and code for the same. Regards, Arun Srinivasan

  • Report Painter - Format group for columns in more than one section

    How do have different decimals for columns in different sections. For. e.g I have three sections one for quantity (I do not need decimals) two for dollars (I do not need decimals) three for formula dollar upon quantity (I need to have two decimals) I

  • MASS MAINTENANCE FOR MATERIAL-RELATED EXCISE DUTIES FIELDS - T CODE

    Dear Experts, Is there any separate t code available to  MASS MAINTENANCE FOR MATERIAL-RELATED EXCISE DUTIES FIELDS ? I got this POINT from ECC 6.0 features in Solution browser. Please help me on this. MASS MAINTENANCE FOR MATERIAL-RELATED EXCISE DUT

  • How to enable Logical Disk Free Space

    Hi  I have installed SCOM 2012R2 and configured monitoring for Windows 2012 R2 HyperV cluster. i think i configured most of the part but i could not able to see my logical disk free space. I treid to enable In Monitors --> Windows Server 2012 Logical

  • Why do I get a cross domain error mesage when trying to enter a portal?

    I am trying to enter an employee self help section. The relevant site info is as follows: https://aalawp.aaacooper.com:9600/lawson/portal/ I have tried to also type the above info in the browser section with no success. I used to be able to access th