Wrong date in database.

Last I was programming and something strange happend. I made the following statement:
"INSERT INTO nietzwemmers(leerling_ID, datum)  VALUES("+IDs[i]+", "+sdf.format(new java.util.Date())+")"Everything goes well, until I go and look in my database. There I don't find the date of today, but the date of somewhere in 1905. Strange, milenium bug you say, thought that too, but no. On a recent computer I have the same problem. And I know that the problem lays in the jdbc:odbc connection , or even later, because when I print the date in the console, the correct date is displayed.
Anyone an idea?
P.S. I use Win XP, a recent java version, 1.4.*, and mircosoft acces some version.

You're having these problems because you're passing either a numeric representation of a date, or a string representation of a date, and the driver and/or database is doing implicit datatype conversions for you from number to date or string to date. The conversion rules change depending on wheter you start with a number or a string.
You can avoid these sorts of type conversion problems by using PreparedStatement, and sending the database an actual Date, and thereby avoid dependencies on implicit conversions (and the work of converting it yourself only to have the driver convert it back).
This might not work with Access (I've never tried it with that), but it really should, it works on most real databases...
// prepare the statement outside the loop
final String sql = "INSERT INTO nietzwemmers(leerling_ID, datum)  VALUES(?, ? )"
PreparedStatement pstmt = connection.prepareStatement(sql);
// do this outside the loop if you want all records from array ID to have the same time
// do this inside the loop if they should have the exact moment the
pstmt.setDate(2, new java.util.Date() );
// loop through the values of i...
while ( ....
  // Long or Int or whatever numeric type is appropriate
  pstmt.setLong(1, IDs);
pstmt.execute();
A nice side effect is that it can drastically reduce the amount of temporary strings that are generated, thereby reducing the amount of time spent in garbage collection. (Whether it actually does or not depends on the driver implementation.)

Similar Messages

  • Report returns wrong data when run on server

    Hi,
    I'm runing CRS XI R2 on Windows Server 2003 SP2.  When I refresh a report in the Crystal Reports XI Designer, I'm getting correct data.  But when I schedule the report to run on the server it returns wrong data.  The data is different from what I see when I refresh it from the designer.  In the report I have running totals set up to count customers that meet a certain criteria.  The report is very large.  It take almost 2 hours to refresh.
    I was wondering what is causing the difference in running total data between refreshing it on the designer and running it on the server.  Is it returning wrong data b/c of it not reading all the records?  Should I be making any changes to the server settings?  I saw that under pageserver, there are options for  setting the 'Minutes Before an Idle Report Job is Closed' and 'Database Records To Read When Previewing Or Refreshing a Report".  Do either of those have anything to do with the report returning incorrect data when being scheduled to run on the server?
    Thanks,
    Kim

    Hi Xuandao,
    You would need to Use Cell Binding and Trigger concept to accomplish this.
    Its simple, however, you would have to work on a trial and error basis to understand this concept as implementing the same is subject to your dashboard and WEBI Design.
    Open you LiveOffice.
    Insert your WEBI, Now, go to Object Properties of your WEBI, select the second tab that says Prompt, Here, it lists the prompts that you have for your WEBI. This would also enlist your BEx variables as well. Select this BEx variable and click on the button that says Prompt at the bottom of this window. Here, select choose Excel Data Range and click on the cell select button on the right (small button that lets you choose what cell you want to bind this prompt to), Now select a free cell that would not be even populated later on when you run the dashboard say A1 (remember the value that you select). Click on OK and again OK. The WEBI Refreshes and you can see all the prompt values at the cell A1. These are all the possible values stored for your BEx prompt variables (these values are fetched from BW system dynamically).
    Now, save this LiveOffice, Go to you dashboard. Connect your dashboard to your Live office. Go to Data-> connections-> Now, select the WEBI and in the right hand pane  go to Usage tab, here, Click on Trigger cell button on the right hand side and select A1 in you LiveOffice.
    It should work fine.
    Let me know.
    Rgds,
    Sreekul Nair

  • TRUNC() giving wrong data in different versions of Oracle DB

    Hi All,
           I have two oracle data base versions. I need to insert into one temp table with select statement. When i use the same query in both environment am getting different results. Can you please help me on that.
    Version:1
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    Version: 2
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE 10.2.0.5.0 Production
    TNS for IBM/AIX RISC System/6000: Version 10.2.0.5.0 - Productio
    NLSRTL Version 10.2.0.5.0 - Production
    Query we used:
    insert into my_temp_table
    select v_name,trunc(d_charge_date)
    from table1;
    my_temp_table structure:
    v_name               varchar2(30),   
    d_charge_date     date;
    Note: Date columns represented with mm/dd/yyyy format....
    in table1 i have data like this....
    v_name
    d_charge_date
    xxx
    12/2/2012
    yyy
    10/23/2010
    abc
    9/29/2013
    after the insertion into temp table am getting the result like below...
    select * from my_temp_table;
    If i run this query in version 1 am getting the correct data..
    v_name
    d_charge_date
    xxx
    12/2/2012
    yyy
    10/23/2010
    abc
    9/29/2013
    but if i run the same insert query in version 2 getting the wrong data
    v_name
    d_charge_date
    xxx
    12/2/2011
    yyy
    12/2/2011
    abc
    12/2/2011
    If i remove the trunc from the insertion statement i didn't get the wrong data like above...
      I don't know the exactly reason. So can you please help me to identify this cause...

    Hi i think the global temporary table having this issue in version b what i have mentioned above.
    insert into /*+append*/global_temporary_temp
    (v_policy_no,n_seq_no,d_next_chgdue_date,v_charge_freq,v_cntr_stat_code,v_iu_au_base,d_cntr_start_date)
    select distinct a.v_policy_no,a.n_seq_no,trunc(a.d_next_chgdue_date),a.v_charge_freq,b.v_cntr_stat_code,c.v_iu_au_base,b.d_cntr_start_date
    from table_a a,table_2 b,table_3 c
    where a.v_status = 'A'
    and a.v_charge_freq is not null
    and trunc(a.d_next_chgdue_date) <= trunc(sysdate)
    and b.v_cntr_stat_code in ('NB010')
    and a.v_policy_no = b.v_policy_no
    and a.n_seq_no = b.n_seq_no
    and a.v_plri_code = c.v_plan_code
    and a.v_parent_event_code = c.v_parent_event_code
    and a.v_charge_pcode = c.v_charge_pcode
    and a.v_charge_code = c.v_charge_code

  • APEX Error: Current version of data in database has changed since user init

    Hi:
    APEX 4.1
    I have a page with 2 regions. The first region is built with custom SQL using the APEX APIs. I have a process the can successfully update records.
    I built the second region with the tabular form wizard. This created the multi row update process.
    I created a region button and the two process respond to that button: process for first region, then process for the second region.
    When I add data to the second region and click the region button, I get the following error:
    Current version of data in database has changed since user initiated update process. current row version identifier = "A884FA378C851786DDFE3A33709CB23C" application row version identifier = "9ED06A0F09F80F054AB781CA24CC4CBF"
    I know it has something to do with these two types of regions being on the same page, because when I create a page of just the table form, the data is updated.
    Can anyone suggest what I might be doing wrong?
    Thanks.

    Hello
    If you try update the same data from 2 places you will got this message because:
    Apex forms have locking mechanism.
    1. During fetch data to form apex calculate checksum from every items on the forms.
    2. Before update process apex again fetch data from database (in background) and calculate checksum again if checksum from point 1 is the same like this checksum APEX realy update data with new item values. If no, You will got your error (apex secure You, You realy don't know what you update).
    According this if you change data which you use in the form between 1 and 2 point you will got this "error". You can check it for example if you change data from SQL/Plus or from other form.
    Probably you forget about this locking mechanism during designe your process from APEX API <- successfully update records (maybe successful but you don't know what you updated) : )
    If I helped You please check correct or helpful :)

  • Reading file and dump data into database using BPEL process

    I have to read CSV files and insert data into database.. To achieve this, I have created asynchronous bpel process. Added Filed Adapter and associated it with Receive activity.. Added DB adapter and associated with Invoke activity. Total two receive activity are available in  process, when tried to Test through EM, only first receive activity is completed, and waiting on second receive activity. Please suggest how to proceed with..
    Thanks, Manoj.

    Deepak, thank for your reply.. As per your suggestion I created BPEL composite with
    template "Define Service Later". I followed below steps, please correct me if I am wrong/missing anything. Your help is highly appreciated...
    Step 1-
    Created File adapter and corresponding Receive Activity (checkbox create instance is checked) with input variable.
    Step 2 - Then in composite.xml, dragged the
    web service under "Exposed Services" and linked the web service with Bpel process.
    Step 3 - Opened .bpel file and added the DB adapter with corresponding Invoke activity, created input variable. Web service is created of Type "Service" with existing WSDL(first option aginst WSDL URL).
    and added Assign activity between receive and invoke activities.
    Deployed the composite to server, when triedTest it
    manually through EM, it is promting for input like "subElmArray Size", then I entered value as 1 with corresponding values for two elements and click on Test We Service button.. Ptocess is completing in error. The error is
    Error Message:
    Fault ID
    service:80020
    Fault Time
    Sep 20, 2013 11:09:49 AM
    Non Recoverable System Fault :
    Correlation definition not registered. The correlation set definition for operation Read, process default/FileUpload18!1.0*soa_3feb622a-f47e-4a53-8051-855f0bf93715/FileUpload18, is not registered with the server. The correlation set was not defined in the process. Redeploy the process to the containe

  • URGENT: Requery data from database is not working...

    Using ADF 11.1.2.1.0
    when i commit page
    In the database I have a trigger that modify the column values.
    These new values aren't returned.
    In backing bean action method, after execute commit method:
    I try executeQuery = data isn´t update
    I try also executeQuery then clear cache from entity = data isn´t update
    I try also InvalidateCache from DCIteratorBinding then executeQuery = data isn´t update
    I try Rollback = data isn´t update
    After page is rendered with wrong data.. if
    execute rollback = data is update
    clearCache from entity = data is update
    executeQuery = data insn´t update
    invalidateCache from DCIteratorBinding = data isn´t update
    how can i get the modified values, this ADF work crazy ?
    regards.

    Here we go Timo
    I override isUseReturningClause and test application again:
    after commit page:
    All InputText, OutputText inside table = show updated data
    All inputListOfValues = dont update date.
    I convert inputListOfValues into outputText (same value attribute) = show updated  data.
    now problem seem to be in LOV?

  • Cache manager give me a wrong date

    This is my problem:
    I move RPD file and Catalog from DEV instance to PROD instance to have same dashboard and reports in both instances, but when I access to Interactive Dashboard, and check Cache Manager in Administration Tool, it keep a wrong date, instead of give me 2010 year, it gives me 3910 year, and because of this I can not run some reports in my dashboard.
    I want to notice that not only move RPD and Catalog, I also change information in NQSConfig file, like reposiroty pointing to my RPD, I also change information in instanceconfig.xml file, like CatalogPath, to pointing to the Catalog I moved.
    So, if you can help me with this issue, I really appreciate it.
    Regards,
    Arnulfo

    Hi Nico, thanks for your quick answer but this error is not related with the browser cause we have the following situation:
    1.- First we delete all rows from the following table afiandwh.s_nq_acct that have "3910" as year date
    2.-Then we run this query: select count(*) from afiandwh.s_nq_acct where to_char(start_ts,'YYYY')='3910'
    And the result is 0 rows
    3.-So after that we entered to OBIEE Administration tool and in the physical layer we entered to OBI Usage Tracking and then in Table
    S_NQ_ACCT we made an "Update Row Count" and when it finished we run again the query of step 2 and we had 1 new registry in the
    database with "3910" date .
    So BI Server is generating these wrong dates, any idea why this could be happening?

  • Access Table displays the wrong data

    I have successfully used Migration Workbench to migrate my tables and data into an oracle 10g database.
    I chose Modify Access Database from the MWB options in order to continue to use Access as the Frontend.
    At this point the forms do not work.
    What I noticed is that the oracle link tables _R have the wrong data in them when opened via Access.  But if I query the oracle db the data is correct.  I added a primary key but this did not help. Any suggestions ?
    Also I had to re load the code modules that run the application they disappeared during the migration process. Is that normal?
    Thanks for your help

    The table had the wrong columns and the wrong data, basically it was mapped to the wrong table.
    I checked the properties from the table detail window, much more helpful than right clicking on the object and choosing properties which only show you the DSN connection. The detailed description as shown below shows the table is incorrect
    ODBC;DSN=marilyn2;DBQ=ORCL ;DBA=W;APA=T;EXC=F;FEN=T;QTO=T;FRC=10;FDL=10;LOB=T;RST=T;GDE=F;FRL=F;BAM=IfAllSuccessful;MTS=F;MDI=F;CSR=F;FWC=F;PFC=10;TLO=0;;TABLE=BODYSHOP_EXTRACT.CONTRACTS_INFORMATION_TABLE.
    Can I just delete the linked table and import the correct table using Link Manager? Or do I need to use OMWB & Modify Access through the tool?
    Last question for today thanks

  • Failed to post data to database during "Update": SQL Statement

    Hi,
    I'm getting this error while trying to update a VO via BCBrowser or UI.
    Failed to post data to database during "Update": SQL Statement
    This is a simple & straight forward default VO created on Entity Object (Database Table)
    On the same table & with same DB credentials, I could successfully update the record.
    Any Guess, on what went Wrong??
    Thanks in Advance for any help.
    p.s Jdev 11.1.1.6
    Log:
    oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Update": SQL Statement "BEGIN UPDATE CAR CarEO SET SEL_ITEM=:1 WHERE TXN_NO=:2 AND LOGID=:3 AND SEQNO=:4 RETURNING DELIVERY_MODE, CERTIFICATION_REQ, SOFT_COPY_IND, SELITEM INTO :5, :6, :7, :8; END;".
      at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:583)
      at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8575)
      at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6816)
      at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3290)
      at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3093)
      at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2097)
      at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2378)
      at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1615)
      at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1417)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
      at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
      at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
      at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
      at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:111)
      at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:118)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
      at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
      at java.awt.Component.processMouseEvent(Component.java:6289)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      at java.awt.Component.processEvent(Component.java:6054)
      at java.awt.Container.processEvent(Container.java:2041)
      at java.awt.Component.dispatchEventImpl(Component.java:4652)
      at java.awt.Container.dispatchEventImpl(Container.java:2099)
      at java.awt.Component.dispatchEvent(Component.java:4482)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
      at java.awt.Container.dispatchEventImpl(Container.java:2085)
      at java.awt.Window.dispatchEventImpl(Window.java:2478)
      at java.awt.Component.dispatchEvent(Component.java:4482)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
      at java.awt.EventQueue.access$000(EventQueue.java:85)
      at java.awt.EventQueue$1.run(EventQueue.java:603)
      at java.awt.EventQueue$1.run(EventQueue.java:601)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
      at java.awt.EventQueue$2.run(EventQueue.java:617)
      at java.awt.EventQueue$2.run(EventQueue.java:615)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.sql.SQLException: Invalid column type
      at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterInternal(OracleCallableStatement.java:150)
      at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:399)
      at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:581)
      at oracle.jdbc.driver.OracleCallableStatementWrapper.registerOutParameter(OracleCallableStatementWrapper.java:1765)
      at oracle.jbo.server.OracleSQLBuilderImpl.bindUpdateStatement(OracleSQLBuilderImpl.java:2243)
      at oracle.jbo.server.EntityImpl.bindDMLStatement(EntityImpl.java:10524)
      at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:412)
      ... 52 more

    The issue is resolved now.
    new Columns added to the Database table, after creating Entity Object. These latest changes were not picked up in Entity Object.
    I found this difference after comparison of entity object with DB Table.
    And when I added those new columns to EO & VO, I'm not getting this error anymore.
    Thanks to all who tried to help

  • Can not get data from database

    hi all,
        there is a problem ,  when i write like below :
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
              WHERE bukrs = p_bukrs
                AND hkont = p_hkont.
    p_bukrs , p_hkont are all on the selection screen , and p_bukrs = 1200 another is eq blank. i can not find any data , but with the same condition i can find some data in database , when i debeg i found that p_hkont is initial.
        when i write like this :
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
              WHERE bukrs = p_bukrs .
    this time i can find the data like the database.
        so , does someone know where the problem is , why i can not get data ?
    kind regards
    kevin

    hi,
    if u r  using bukrs and hkont as parameters in selection screen then
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
    WHERE bukrs = p_bukrs
    AND hkont = p_hkont.
    this will work.
    if u r using then as select-option then the above does n't work.
    bcoz select-options work as internal table bcoz of that u have use the query like this
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
    WHERE bukrs IN p_bukrs
    AND hkont IN p_hkont.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Edited by: Alvaro Tejada Galindo on Aug 15, 2008 5:25 PM

  • Can not find product , sku attributes data in database table

    Hi there,
    I find it really strange to find data in database related to product and sku. I set up the commerce reference store and store is up and running fine. Catalog is fine too. I am not able to find data related to sku attributes in database.
    I have a product_id xprod2511 which has 11 child skus such as xsku2511_1, xsku2511_2 and so on. sku xsku2511_1 is blue color and size 4. When I search for this two sku attributes (color and size) information in dcs_sku_attr table with sku_id as xsku2511_1, no rows returned. In fact, I looked into few other sku tables but I am not able to find the information about color and size of a sku in any database table.
    this is the query I am running:
    select * from dcs_sku_attr where sku_id = 'xsku2511_1'
    Can someone please let me know the table name where this information regarding color and size resides in?
    Thanks a lot.

    In dyn/admin If you try and view the definition file of ProductCatalog repository, then under sku item descriptor you would see the color and size property which would be under some table tag, that table tag table name should be the table holding these values.
    the other question(may be silly) is that I hope that you are executing sql in correct schema, that is cata or catb schema (select * from catA.dcs_sku_attr) where the actual product catalog data resides.

  • Downloads with Safari show wrong date

    Hi, this is my first post and I'm stumped.
    When I download a file (i.e. PDF) via Safari on either my Imac or Macbook (4.03 and 4.02) both running Leopard 10.5.7 it shows up in my downloads folder with the wrong date: wrong year, month, and day.
    When I download the same file with Firefox the download date is correct.
    Does anyone have any suggestions to remedy this annoying problem? Thanks.

    Ok. I just downloaded a PDF via Safari that shows the creation date as: 23/12/08 1:10 AM.
    Same file downloaded via Firefox shows date correctly: today at 9:16 PM.
    The date from Safari has been all over the map... 03, 07, 00 etc. all different.
    Message was edited by: i-Mack

  • Wrong Dates in Sent Folder

    After doing a clean install of 10.5 and importing all of my mail messages from my .mac account, I noticed that many of the messages in my sent folder had the wrong date. Apparently they were marked with the date on which I first synchronized my 10.5 Mail with my .mac account. I've since tried to rebuild that folder, and when I do that, those problematic messages show up as sent "Today" at the time I rebuilt, even though many of them are nearly a year old. Any suggestions as to what might be causing this? I've read several threads regarding problems with the sent folder, but none with this specific date problem.
    Thanks.
    One more thing...
    All sent message show up with the correct date when I access the sent folder online through .mac.
    Message was edited by: James Casey1

    I tried several experiments and noticed that if you move the messages in "sent messages" with wrong dates to another folder (for example to the "inbox") then they get back to their correct date.
    Apparently rebuilding mail boxes at this point doesn't fix anything, as if you move the messages into "sent messages" again then the date gets wrong again.
    Funny enough, when the message is back into "sent messages" and appears there with the wrong date, if you make a text search FROM THE INBOX on all folders in the search results these messages will appear as located in "sent messages" with THE RIGHT DATE!!! Doing the same search when you are in "sent messages" will show the message with the wrong date!!!
    So I am now sure there is BIG BUG in Mail about this.
    So unless Apple fix this, I guess the only way is to put all the messages from your "sent messages" with wrong dates in a folder where they appear with the correct date, save or export your "sent messages" folder messages, delete entirely your "sent messages" folder, and reload all you "sent messages" again.
    However I have no safe procedure for this and it won't prevent the bug to reoccur later on...

  • IPhoto imports photos with wrong dates even if the dates are fine on the camera

    Hi!
    When I import photos with iPhoto, sometimes it imports them with wrong dates, even the dates are fine on the camera. It puts dates such as 2032. Does anyone know how can I fix that. As far as I know there is no way to change dates of the photos.
    Thanks!

    well that is very confusing since if the date is correct on the camera it will be correct in iPhoto
    and as to
    As far as I know there is no way to change dates of the photos.
    Try looking through your iPhto menus - two commands - adjust time and date and batch change time and date - asjust is used to correct incorrect dates like a comera setting -   Batch change for missing dates like with scans
    LN

  • How to store data into database by reading sql statements from text file

    how to write java program for storing data into database by reading sql statements from text file

    Step 1: Create a property file to add various queries.
    Step 2: Read the properties file using ResourceBundle
    Step 3: Use the jdbc to execute the query read from the property file.
    So in future if you need to change query no need do any modifications in java program. But depends on how you use the property file.

Maybe you are looking for

  • Mac mini does not recognize M-Audio Fast Track Pro device.

    I recently installed M-Audio Fast Track Pro with the latest driver for (10.9.2). I'm running the OSX mavericks 10.9.2. The installation succeed but once i connected the device and turn it on, my mac does not recognized it and it shows "device not con

  • MacBook Pro crashes randomly - a f'in mystery!

    Alright, so I have got a MacBook Pro 13-inch mid 2012 with the 2,5Ghz i5 processor. The machine came with 4GB DDR3 1600Mhz ram, wich I first upgraded to 8GB, and thereafter upgraded to 16GB 1600Mhz. The problem started to occur even before the upgrad

  • Manually moving music onto/off of my iPod

    How do I manually move music onto/off of my iPod? I tried to check the user book, but it was printed for an older version of iTunes, and wasn't very helpful.

  • Display Job ID and Department ID using set operators

    I am trying to produce a list with the following output from table employees. This query will produce a list of jobs for departments 20, 60, and 25 in that order. JOB_ID DEPARTMENT_ID ASST 20 CLERK 60 MAN 60 MAN_B 25 So far I have the query to give t

  • Organzing Bookmarks - I can no longer find the option to organize unorganized bookmarks?

    I recently downloaded the latest version of FireFox. I have laptop: Samsung RV511 - latest version of Windows 64bit. There used to be option to organize or manage your bookmarks. You could move Bookmarks from folder to folder, create new folders and