Confuse about using commitchanges

dear friends....i have some problem using commitchanges methode in netbeans 5.5.1 using oracle database 10g. the problems :
1. when i inserting first record to database, it's still okay, but when i inserting
the second record, netbeans replace the first record that i insert with the
second record twice.
my code looks like :
public String addBTN1_action() {
//getSessionBean1().setrk(rk);
getSessionBean1().setMode("ADD");
textField1.setValue("");
textField3.setValue("");
textField4.setValue("");
textField5.setValue("");
textField6.setValue("");
getBody1().setFocus("form1:textField1");
return null;
public String saveBTN1_action() {
try {
if(getSessionBean1().getMode().trim().equalsIgnoreCase("ADD")){
getSessionBean1().getTestRowSet().setConcurrency(ResultSet.CONCUR_UPDATABLE);
String test1 = textField1.getText().toString();
String test2 = textField3.getText().toString();
String test3 = textField4.getText().toString();
String test4 = textField5.getText().toString();
String test5 = textField6.getValue().toString();
RowKey rk = testDataProvider.appendRow();
testDataProvider.setCursorRow(rk);
testDataProvider.setValue("ID", getSessionBean1().getrk(), test1);
testDataProvider.setValue("CUSERID", getSessionBean1().getrk(), test2);
testDataProvider.setValue("CKDUNITKEY", getSessionBean1().getrk(), test3);
testDataProvider.setValue("CNOPO", getSessionBean1().getrk(), test4);
//testDataProvider.setValue("DTGLPO", getSessionBean1().getrk(), v_dtgllhr);
testDataProvider.setValue("NPOGROSS", getSessionBean1().getrk(), test5);
testDataProvider.commitChanges();
testDataProvider.refresh();
log("update: changes committed");
info("Update committed");
} catch(Exception e) {
log("update: cannot commit changes ", e);
error("Cannot commit changes: " + e.getMessage());
return null;
i would be appreciate if anyone could help me, thanks before
null

Everything here : https://www.sdn.sap.com/irj/sdn/adobe
Summary: installed with NW7.0, you must configure it. See config guide how to check it.

Similar Messages

  • Utterly Confused About Usefulness of Actionscript

    I am utterly confused. I am trying to create series dynamically, meaning that I will have a dataset that looks SOMETHING like the following:
    [Bindable]
    private var arrayOne:ArrayCollection = new ArrayCollection([
    {time:1,day:3,typeA:{wip:10,proj:15},typeB:{wip:15,proj:9},typeC:{wip:20,proj:20}},
    {time:1,day:2,typeA:{wip:12,proj:14},typeB:{wip:13,proj:12},typeC:{wip:12,proj:17}},
    {time:1,day:1,typeA:{wip:15,proj:14},typeB:{wip:12,proj:10},typeC:{wip:5,proj:9}},
    BUT, the only thing I know for sure is that there will be a time and day value. TypeA, TypeB, and TypeC are product types, and they MIGHT or MIGHT NOT be in my dataset, simply depending on the result of a SQL query. So I need to be able to create chart series for typeA, typeB, and/or typeC (or any other type that I may not even know about yet) given that they appear in my dataset.
    I know I need to use dataFunction, since I actually need to access the 'wip' for any given product type. I have found out that 'item' is the row of the data array that is currently being accessed, so in my dataFunction I need to return something like 'item.(series).wip'. But that isn't allowed.
    private function dataFunc(series:Series, item:Object, fieldName:String):object
              if(fieldName == "yValue")
                   return item.(series).wip
    I am dealing with a dataset like the one I posted at the top of this post BUT I don't know what my product types will be, they could be anything. Yet I need to create a series for each product type. Actionscript seems incapable of handling this as far as I have seen thus far. I hope I am incorrect. If anyone can help please chime in!

    Anyone from Adobe? I might be able to figure this out on my own but I can't seem to understand how dataFunction works.

  • Confusion about using non-Apple prod. on my powerbook with AE base station

    I have a G5 and an base station. Always worked fine.
    Then I wanted to add a USB wireless "card" to my powerbook 12 inch G4. The salesman said they are not well supported by Apple. So i found an IO DATA Ethernet Converter WN-G54/C which promises MAc compatibility.
    Problem is the instruction book is Japanese only and I see no Eng one on the net. Probablty not released yet.
    On the other hand, assume these all must work sort of the same.
    Cannot get it to work, though it seems to recognize something.
    Just to make sure..can I NOT connect to my Aiport base station with a mac connected via a product like this ethernet converter, which seems to allow such connections?
    And do I just igore the IO data settings and try to configure it through the Airport application? It seems the airport connection is for apple cards to connect to apple or non apple networks.
    But here i think I have to use the IO data ethernet converter application to connect to the apple or other networks?
    Anyway, I JUST realized my Powerbook has an Apple airport card in it, as i tried to turn it on even without the IO data in,s o this is a mute point for now.
    but if i ever need the IO data (it seems it may have a stronger ability to pull in the signal as it has a big antenna on it), i would like to undersatnd how it works.
    Thanks!
    paul

    No-one has any idea about this?

  • HELP! Can't verify or repair HD - confused about using Start Up Discs

    Hi there:
    Never had a problem then yesterday my iMac made the sound it does when its "thinking" and froze. I forced shut down by pushing the "start" button on the back.
    I then tried Disc Utility to verify my HD and it stopped and said:
    "Invalid node structure. The Volume HD needs to be repaired. Error: The underlying task reported failure on exit. 1 HFS volume checked. Volume needs repair."
    On researching, I see that I am supposed to shut down and use my "start up" discs that came with the computer - but these are 2 years old. I am now running the latest update of 10.4.11 (not whatever it was back 2 years ago.)
    I also got nervous that I should back up my important documents & apps before I do anything just in case. So this morning, I made Burn folders and tried to burn to 2 CD-RWs. They did burn, but for whatever reason, the finished CDs say that they are "read only" and that I don't have permissions to change that (even though I am the only user and administrator, etc).
    What am I doing wrong?
    I even tried changing the permissions on one CD-RW before I burned to granted RW permissions to anyone and all the contents....which looked fine but after the CD still said I have no permissions.
    HELP!!!!
    Can I start up from the original install disc and repair without it reverting back to all the old whatever permissions & updates etc., that were on that 2 year old start up disc?
    What am I doing wrong when burning to a CD-RW? Why do they show that I have only read only and can't change?
    When I try to do "Get Info" and it says to unlock the little lock, I do and nothing happens - no prompt with a password or anything that lets me change it.
    Any help you can give about how best to use Disc Utility to verify & repair my HD (if I can indeed use the 2 year old start up CD without a problem) and what I am doing wrong to make my CDs RW?
    Thank You!!!!!!

    CD-RWs - which should mean that I can burn to them but they should be erasable/re-writable - yes?
    Yes indeed.
    But when I burned 2 of these today, the resulting discs "info" states they are "read only" and I have no permissions to change anything...
    Aha, the Standard for appendable CD/DVDs was never finalized, so on the Mac, once you burn you're done burning, unless you used create Sessions which will make it look like 2 or more CDs when mounted, or erase and start over with the write.
    The real answer is a Firewire drive to back it all up at once...
    http://eshop.macsales.com/search/firwire+drives
    Many come with Backup Software, or...
    Get carbon copy cloner to make an exact copy of your old HD to the New one...
    http://www.bombich.com/software/ccc.html
    SuperDuper...
    http://www.shirt-pocket.com/SuperDuper/
    Or the most expensive one & my favorite, Tri-Backup...
    http://www.tri-edre.com/english/tribackup.html
    I just wanted to know if there is some other place where these disc burning permissions are being automatically set up and if its something I am supposed to do there, or before or after burning to make this not do that.
    I just wanted to know if there is some other place where these disc burning permissions are being automatically set up and if its something I am supposed to do there, or before or after burning to make this not do that.
    Nope, you're doing it right, it just doesn't work like a Floppy or HD is all.

  • I'm confused about using local fonts in my Edge Animate designs...

    http://blogs.adobe.com/edge/2012/01/27/web-fonts-and-edge-together-at-last/
    According to the above blog, it should be possible to have Edge Animate recognize local fonts, but a few moderators are saying it's not yet possible... (I did try the method above and it did not work, but it seems like a reputable blog...) this is a screenshot of what I tried to do with the code from above:
    The "Welcome" "Portfolio" etc is styled using @font-face in my original html document that I imported into Edge, but the "Test" div I want to have the same style - I want to be able to create new divs within Edge and keep the same fonts...
    So.... is there a way to use local fonts in Edge, or no?
    Thanks all,
    Aza

    Yes it is possible, apologies if my other answer mislead you.
    In your case it appears to be a case of incorrect reference.
    In your Asset > Font dialog creation process you reference your font family with underscores separating the title
    example: 'waukegan_ldo_extended', Tahoma, sans-serif
    BUT, in your .css files, your fontface reference does not.
    example: font-family: 'waukegan ldo extended';   << notice no underscores
    These two references should match exactly. As a tip, I would recommend to use a single word like WaukeganLdoExtended.
    hth
    Darrell

  • Question about using email when using computer at internet cafe

    I am confused about using email when using my computer at an internet cafe.
    Of course - I use the internet cafe's wifi connection/network.
    How does this effect my email?
    what do I have to do to use my email when logged on at an internet cafe?

    zxcvbnm1 wrote:
    I am confused about using email when using my computer at an internet cafe.
    Of course - I use the internet cafe's wifi connection/network.
    How does this effect my email?
    what do I have to do to use my email when logged on at an internet cafe?
    You don't give enough information to do more than discuss the issue in general terms.  
    You should be able to read your email wherever you can get an internet connection.
    To send email, it depends on the email provider you are using.  Gmail and other web based mail should not have any issues.  However, if you are attempting to use an account that uses your ISP's mail servers, you will probably not be able to send mail.  You may want to check with your ISP in that case, to see if they offer webmail.  
    Hope this may have answered your question.

  • I am confused about something.  How do I read a book on my MacBook Pro?  I can't find the iBook app anywhere, which is what I use on my iPad.  The book I want to read is in my iTunes but I can't click on it.  My iBook library does not show up in iTunes.

    I am confused about something.  How do I read a book on my MacBook Pro?  I can't find the iBook app anywhere, which is what I use on my iPad.  The book I want to read is in my iTunes but I can't click on it.  Some of my iBooks show up in my iTunes but they are "grayed" out.  The only books that respond in iTunes are audiobooks and that's not what I'm looking for.  Is this a stupid question?

    Nevermind - I answered my own question, which is I CAN"T READ ANY BOOKS I purchased in iBooks on my MacBook Pro.  If I want to read on my mac I have to use Kindle or Nook.  Which means any book I've already purchased through iBooks has to be read on my iPad.  Kind of a drag because there are times when it's more convenient for me to read while I'm sitting with my Mac.

  • I'm confused about the apple ID transition from my aol screen name. Does it continue to use my aol email as my apple ID, converting it somehow or do I need to provide a new email address or just create a new username for the apple ID?

    I'm confused about the transition to an apple ID that doesn't use my aol email to sign in. The instructions are vague and ambiguous. Any help would be appreciated.

    OK, so if your current Apple ID using your AOL Username (like johndoe), then you need to log onto Manage your Apple ID and EDIT that AOL Username to a valid email address: Apple - My Apple ID
    If you have an AOL email address (like [email protected]), and you are not using that as another Apple ID, you can change the AOL Username Apple ID to that. Otherwise, you can change it to any valid email address (which you will have to verify when you change to it).
    Hope that clears it up. Post back if it doesn't!
    Cheers,
    GB

  • If I download a video from my video camera to a new (current 1/12) iMac 21 inch, how can I burn it to a DVD using the computer itself. Is this possible? Do I need to buy additional software. Two salespeople at the Apple were a little confused about this.

    If I download a video from my video camera to a new (current 1/12) iMac 21 inch, how can I burn it to a DVD using the computer itself. Is this possible? Do I need to buy additional software. Two salespeople at the Apple were a little confused about this. Thank you.

    The DVD recorder I'm referring to is one I've use for years. It is not attached to my aging iMac in any way. I simply play the video from my camcorder (mini-dv tape based Canon HV20)  into the DVD recorder and create a DVD that can be played in any DVD player. I can only do minimum editing so what goes in is what I get. This has been fine for creating dupes of the various things I shoot.
    If I buy a new iMac (21 inch), I'd like to be able to download the video to the iMac through iMovie, work with it to whatever degree I wish, and burn it to a DVD that can also be played in any DVD player -- or to use as a master to dupe copies.
    What I'm understanding from you and others is that this would be possible if Apple had included iDVD in the software that comes with the iMac, or if I purchase the iLife Family Pack, or buy the correct version of Toast. I'm hoping I can persuade Apple to sell me an iMac with iDVD installed.
    Essentially I want to move from a basic process of creating DVD copies to the more sophisticated process of creating one from an iMac.
    Thank you again for your help and wisdom.

  • I'm horribly confused about student licensing and commercial use

    As the title says I'm horribly confused about student licensing and using it for commercial use.
    I currently have a Student Licensing version of Adobe Creative Suite 4 that I purchased through my school's journeyEd portal.
    Seeing how CS5 is now out I was browsing looking at prices (why not upgrade while I'm still a student, right?) and while browsing I bumped into one source that says that Student Licensing can not be used for commercial purposes, and this is when the confusion started. I remember reading before that we are able to use student licensing for commercial purposes, okay time to google search. I found one Adobe FAQ that says I can. .
    http://www.adobe.com/education/students/studentteacheredition/faq.html
    " Can I use my Adobe Student and Teacher Edition software for commercial use?
    Yes. You may purchase a Student and Teacher Edition for personal as well as commercial use. "
    and I found this old thread;
    http://forums.adobe.com/thread/314304
    Where an poster listed as an employee of Adobe states
    "There is no upgrade from the CS3 Educational Edition to the comparable CS3 editions sold in non-academic environments. If you have an educational version of for CS3 obtained legitimately (i.e., you qualified for the educational version when you obtained it), you may continue to use that software for the indefinite future, even for commercial use! You cannot sell or otherwise transfer that license, though! When the next version of the Creative Suite is released, you will have two choices: (1) If you still qualify for the educational version, you can buy a copy of that next version (there is no special upgrade pricing from one educational version to another; the price is already very low) or (2) you can upgrade from the educational version of CS3 to the full version of the next version of the Creative Suite as an upgrade from CS3 at the prices published at that time. "
    Okay cool, hmm what this? Adobe is asking me if I want to IM with live costumer service agent, sure why not? Then the conversation started and I asked her my question about using my CS4 license for commercial use, she asks for my product code and email to verify my product, then informs me I can purchase the upgrade version of CS5 and use that for commercial, okay great, but not really answering my question. I reword it and give her a link to that FAQ page it goes like this. ..
    "[CS Rep] : [My name], I would like to inform you that Adobe Student and Teacher Editions are not allowed for
    commercial use.
    [CS Rep] : However, you can upgrade your current software to a normal upgrade version, and you can continue
    using it for commercial purpose.
    [Me] : Then is the FAQ page mistaken? Because it is very misleading if it is. But thank you for the information.
    [CS Rep] : You are welcome.
    [CS Rep] : I apologize for the misleading information in the FAQ."
    . .And after that, I went back to being confused.
    SO my questions are. . . Can I or can't I use my Adobe Creative Suite 4 student licensing for commercial purposes? and If I purchase a Student Licensing of CS5 can I use that for commercial purposes as well?
    Sorry for the long post, I just want to be perfectly clear on what I can and can not do with my purchase.

    The rules differ in various parts of the world. In North America you can use it for commercial work.
    There are no student/academic upgrades. The pricing is so low that in many cases you're better off buying another full student license but you are eligible for upgrade pricing for commercial versions once you're out of school.
    You may not transfer the student license in any way.
    Bob

  • Questions about Using APIs to import Bills and Routings - AND COSTS

    Hi Forum - the following is a back-and-forth with a customer about use of APIs - Inventory developer suggested I post the question here. Note the 2nd question - and thanks for any assistance.
    SR# 7332152.994 ALCOA
    Instructions given to ct:
    Q1 - Can I load the bill header and components at the same time?
    You should be able to load the bill header and components at the same time. Customer loads bill and component data inserting enough "other" data for each so that the bill sequence id will be derived. For the component record, the assembly item, org and alternate_bom_designator values will be used by BMCOIN to derive the bill_sequence_id.
    Example:
    INSERT INTO BOM_BILL_OF_MTLS_INTERFACE
    ORGANIZATION_CODE,
    ITEM_NUMBER,
    ALTERNATE_BOM_DESIGNATOR,
    PROCESS_FLAG,
    TRANSACTION_TYPE
    VALUES
    'M1',
    '&PARENT_ITEM',
    NULL,
    '1',
    'CREATE'
    INSERT INTO BOM_INVENTORY_COMPS_INTERFACE b
    ORGANIZATION_CODE,
    ASSEMBLY_ITEM_NUMBER,
    ALTERNATE_BOM_DESIGNATOR,
    COMPONENT_ITEM_NUMBER,
    OPERATION_SEQ_NUM,
    COMPONENT_QUANTITY,
    EFFECTIVITY_DATE,
    PROCESS_FLAG,
    TRANSACTION_TYPE
    VALUES
    'M1',
    '&PARENT_ITEM',
    NULL,
    '&COMPONENT_ITEM',
    1,
    1,
    trunc(SYSDATE),
    1,
    'CREATE'
    Hi Aruna, some additional information that may be useful:
    We can load/create the bill header and components at the same time using the scripts given (as above)
    Required Data for Creating a Routing : assembly_item_id,
    organization_id, routing_type, transaction_type, process_flag
    And following scripts can be used to load routing header and operations equences.
    INSERT INTO BOM_OP_ROUTINGS_INTERFACE
    (assembly_item_id,
    organization_id,
    routing_type,
    transaction_type,
    process_flag)
    VALUES (2255800,207,1,'Create',1);
    INSERT INTO BOM_OP_SEQUENCES_INTERFACE
    (assembly_item_id,
    organization_id,
    operation_seq_num,
    Department_code,
    effectivity_date,
    transaction_type,
    process_flag,
    operation_description)
    VALUES
    (2255800,207,100,'ASSEMBLY',
    to_date('24-FEB-2009'),'Create',1,
    'Paint Wagon');
    Q2: One more question, can an expense item can be added to the bill and can contribute the cost.
    As there is a confusion of what I asked, below I am rephrasing my question
    By an Expense Inventory Item, I mean an item that is just tracked for quantity only i.e.,Checking the attributes - Inventory Item, Stockable, Transactable under Inventory Tab and not checking the attribute - 'Inventory Asset Value'.
    My question here is, For these Expense Inventory Items, What is the difference between having the 'Costing enabled' attribute turned ON as opposed to having it UNCHECKED
    *Q3 I have tried to load the items and I could only load 1st level of components but could not load second level of bom at the same time.
    While inserting I have inserted plan level too.
    Please let me know if I have to do anything different to load second level.*
    Thanks
    James

    You may want to look at using the more4apps bill of materials wizard, an excel based solution for uploading assemblies and their components.

  • Questions about Using Lightroom and Print Studio Pro

    I want to use Print Studio pro via the lightroom plugin since as I understand it, that is the only way to ensure a 16-bit file is being passed to the printer (on Windows).  However, I am a little confused about how the image is being rendered.  Is lightroom applying a default output sharpening to the file before handing it off to Print Studio Pro or Does Print Studio Pro manage resolution and Output sharpening based on the media and print size you choose?  
    So basically I am wondering if there is any output sharpening being applied, and when is it applied.  The possibilities I think would be:
    Lightroom is applying a default output sharpening when rendering the file to TIF for Print Studio Pro (If this is the case, what setting is being applied and is it possible to change it?)
    Print Studio Pro is applying output sharpening based on media type and print size, or applying a generiz amount of sharpening that does not take into account media or size.
    No Sharpening is being applied.  In this case, I should probably be exporting this file manually with output sharpening applied and then opening in Print Studio Pro
    The other question I have is if when using the plugin is the TIF file that is being generated in 16-bit pro-photo to ensure the maximum amount of color data?
    Because if Print Studio Pro is not applying sharpening I think it may just be better to print through the lightroom tool even though it renders down to 8-bit because the amount of control I have via the lightroom print module would be far more advantageous than any color data I am losing by printing in 8-bit.
    Anyone know the answer to all this?

    I had similar questions when I first got my Pro-100.
    1. You can call up PSP from any module, so I assume it is ignoring print module settings.
    2. If I select a Saved Print, which adjusts the print module settings specific to that print, and the open PSP the paper settings in PSP are not what is in LR, supporting the "ignore" conclusion.
    3. I ran some test prints using LR to print at three different output sharpening settings (Off, Standard, High) to ensure I could see a difference (I did).
    4. I ran four test prints: LR-Standard, XPS driver, LR-Standard regular driver, PSP using standard driver and PSP using XPS driver. I couldn't see any difference between the four prints.
    Since LR is such an easy printing process I haven't seen a reason to use PSP.
    John Hoffman
    Conway, NH
    1D Mark IV, Rebel T5i, Pixma PRO-100, MX472

  • Confuse about the injecting entity in EJB 3.0?

    Hi all,
    I have an customersBean which is inherit from customersRemote and my problem is i' am little confuse about injecting the entity(customer).
    Where can you apply the EntityManagerFactory is it outside on EJB or Inside the EJB? means outside EJB is use the web application or java application. i have and example.
    this is inside on EJB...............
    public class CustomersBean implements com.savingsaccount.session.CustomersRemote {
    @PersistenceContext(unitName="SavingAccounts")
    EntityManagerFactory emf;
    EntityManager em;
    /** Creates a new instance of CustomersBean */
    public CustomersBean() {
    public void create(int id, String name, String address, String telno, String mobileno)
    try{
    //This is the entity.
    Customer _customer = new Customer();
    _customer.setId(id);
    _customer.setName(name.toString());
    _customer.setAddress(address.toString());
    _customer.setTelno(telno.toString());
    _customer.setMobileno(mobileno.toString());
    em = emf.createEntityManager();
    em.persist(_customer);
    emf.close();
    }catch(Exception ex){
    throw new EJBException(ex.toString());
    in web application, i'm using the @EJB in customer servlets.
    public class CustomerProcessServlet extends HttpServlet {
    @EJB
    private CustomersRemote customerBean;
    blah blah inject directly coming request field from jsp.
    }

    Hi all,
    I have an customersBean which is inherit from customersRemote and my problem is i' am little confuse about injecting the entity(customer).
    Where can you apply the EntityManagerFactory is it outside on EJB or Inside the EJB? means outside EJB is use the web application or java application. i have and example.
    this is inside on EJB...............
    public class CustomersBean implements com.savingsaccount.session.CustomersRemote {
    @PersistenceContext(unitName="SavingAccounts")
    EntityManagerFactory emf;
    EntityManager em;
    /** Creates a new instance of CustomersBean */
    public CustomersBean() {
    public void create(int id, String name, String address, String telno, String mobileno)
    try{
    //This is the entity.
    Customer _customer = new Customer();
    _customer.setId(id);
    _customer.setName(name.toString());
    _customer.setAddress(address.toString());
    _customer.setTelno(telno.toString());
    _customer.setMobileno(mobileno.toString());
    em = emf.createEntityManager();
    em.persist(_customer);
    emf.close();
    }catch(Exception ex){
    throw new EJBException(ex.toString());
    in web application, i'm using the @EJB in customer servlets.
    public class CustomerProcessServlet extends HttpServlet {
    @EJB
    private CustomersRemote customerBean;
    blah blah inject directly coming request field from jsp.
    }

  • Confused about logical table source

    Hi,
    I'm confused about logical table source(LTS), there are 'General', 'Column Mapping', 'Content' tabs in
    LTS, in General tab ,there are some information,like 'Map to there tables' and 'joins',
    just here, we have created relationships in physical layer and BMM layer, so I would like to ask what's the use of the 'joins' here?

    Hi Alpha,
    Valid query, when you establish a complex join it is always between a logical fact and dimension table.Consider a scenario,
    Example:w_person_dx is an extension table not directly joined to a fact but joins to a dimension w_person_d.
    When you model the person_d tables in BMM, you ll have a single logical table with w_person_d as source.If you have to pull columns from both w_person_d and w_person_dx tables in a report, you add dx table as inner join to persond table in the general tab.Now when you check your physical query, you can see the inner join fired between the two dimensions.
    Rgds,
    Dpka

  • Confused about transaction, checkpoint, normal recovery.

    After reading the documentation pdf, I start getting confused about it's description.
    Rephrased from the paragraph on the transaction pdf:
    "When database records are created, modified, or deleted, the modifications are represented in the BTree's leaf nodes. Beyond leaf node changes, database record modifications can also cause changes to other BTree nodes and structures"
    "if your writes are transaction-protected, then every time a transaction is committed the leaf nodes(and only leaf nodes) modified by that transaction are written to JE logfiles on disk."
    "Normal recovery, then is the process of recreating the entire BTree from the information available in the leaf nodes."
    According to the above description, I have following concerns:
    1. if I open a new environment and db, insert/modify/delete several million records, and without reopen the environment, then normal recovery is not run. That means, so far, the BTree is not complete? Will that affact the query efficiency? Or even worse, will that output incorrect results?
    2. if my above thinking is correct, then every time I finish commiting transactions, I need to let the checkpoint to run in order to recreate the whole BTree. If my above thinking is not correct, then, that means that, I don't need to care about anything, just call transaction.commit(), or db.sync(), and let je to care about all the details.(I hope this is true :>)
    michael.

    http://www.oracle.com/technology/documentation/berkeley-db/je/TransactionGettingStarted/chkpoint.html
    Checkpoints are normally performed by the checkpointer background thread, which is always running. Like all background threads, it is managed using the je.properties file. Currently, the only checkpointer property that you may want to manage is je.checkpointer.bytesInterval. This property identifies how much JE's log files can grow before a checkpoint is run. Its value is specified in bytes. Decreasing this value causes the checkpointer thread to run checkpoints more frequently. This will improve the time that it takes to run recovery, but it also increases the system resources (notably, I/O) required by JE.
    """

Maybe you are looking for

  • Basic question .... How can I set up a page for visitors to enter data?

    Is it possible in iWeb 08 to set up a page that visitors enter data in specific fields and allow me to retrieve that information? Like filling out a form, then emailing the form to my .mac mail. Thanks.

  • Error while importing a Spport package - SAPKA64021

    When importing the SP - SAPKA64021 it shows an error saying Object R3TRFUGRRHPA_REPORTING is in repair status. Therefore it cannot be imported. But the same function group is a standard function group. Please help to solve this issue... Points will b

  • Macbook pro retina makes me very angry and sad

    I order mbp retina online on Jun 11 then I recieved it on Jun 18 ! unfortunaely, when I opened the box and checked the computer, I suddenly found that there was a screw loosen. what a terribly bad quality it was!!! I applied for return and replacemen

  • Session Problem in Login and Logout

    When the user successfully login to the system, a session would be created the code in LoginServlet:      HttpSession session = request.getSession(true);      session.setAttribute("username", username); then when the user try to logout, the sesssion

  • Programmatically update Combo box won't update its Local variable

    Hello all, I followed a tutorial from NI website and programmatically edit items in a combo box. It worked successfully but not for the Local variables. Local variables still retain items that it had before. Any suggestions ? Thanks ! Solved! Go to S