Insert issue with connection to MS Access

Hi
New to Java and this forum, if I'm in the wrong forum for this question please direct me to the correct one, thanks.
I'm able to connect and query my table no problem but when I try to insert a record with a date field it fails. I've spent the last two days googling the internet and trying every example I can find but I cannot get this to work. Here's where I left off, assume I've made my connection to the database.
public void insertRecord()
java.sql.Date dt = java.sql.Date.valueOf("1998-12-25");
String sql = "INSERT INTO table1 ( name, date ) " +
"VALUES ( ?, " + dt + " )";
try
PreparedStatement ps = connection.prepareStatement(sql);
ps.setString(1, "Linn");
ps.executeUpdate();
catch ( Exception e )
System.err.println( "Failed to insert record." );
} // end method insertRecord
Can someone show me where I'm going wrong here? Or can someone provide me with a simple example that actually works?
My Access table has three fields:
id <autonumber>
name <text(50)>
date <date/time custom format yyyy,mm,dd>
Thanks in advance,
Linn

More specific
String sql = "INSERT INTO table1 ( name, date ) " +
"VALUES ( ?, #" + dt + " #)";Hi,
Thanks for the response, I tried your suggestion but
it still doesn't work for me.
Anything else I can try?
Thanks much,
LinnAh, got it! I remembered seeing a posting elsewhere that suggested putting square brackets around the field name "date", like this [date]. I don't recall why they said this was necessary though. Tried that and it looks like it's working. To complete this for anyone else who finds this thread here's the final insert command.
String sql = "INSERT INTO table1 ( name, [date] ) " +
"VALUES ( ?, #" + dt + "#)";
This worked for me.
Thanks again,
Linn

Similar Messages

  • I'm having issues with connecting my iPhone 4 to iTunes?

    Here's some information:
    Apple product: iPhone 4
    Computer: Windows 8 (originally) to Windows 8.1 (upgraded version)
    Okay, I'm having issues with connecting my iPhone 4 to iTunes. I've connected it via U.S.B. and now everything's not working right the 10th time. Am I to redownload the iTunes software once again or will I never be able to add music anymore?

    OffTime wrote:
    What do you mean with logging?
    Hans
    Close any open applications.
    Click the Apple icon top left of the screen.
    Select the bottom option in the cascading menu: Log Out (your user name).
    Log in a Guest.
    This will dertermine if there is a problem with your Admin account.
    Al

  • I am having issues with connecting to the store...the page just hangs and when I run Diagnostics it states that a secure connection could not be established.

    I am having issues with connecting to the store...the page just hangs and when I run Diagnostics it states that a secure connection could not be established.
    I have contacted apple via email and tried all the steps they have recommended and it is still not working. 
    I have tried disabling my McAfee and that does not work either. 
    Anyone that the phone number to apple express so I don't have to keep waiting for them to email within 48 hours? 
    Thanks. 

    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Issues with connection to Officejet Pro 8500

    Hi folks,
    I have a user at home with a Officejet 8500 connected to a BT home hub via wifi. it worked initially when we set it up a few months back however rarely and intermitantly since then. It notmally shows as offline in print properties and the HP app cant connect to it.
    Some network basics
    Router IP: 192.168.1.254
    Printer IP: 192.168.1.66 (via DHCP)
    Alt Printer IP: 192.168.1.100 (Static IP Attempt with no joy)
    Other devices in network:
    Desktop pc (Not work kit)
    Iphone (his wifes)
    Laptop PC (work kit)
    We do have him connected via VPN however Im inclined not to believe that its aproblem witht hat as we have a dozen users with the same setup and the VPN dosent cause them headaces.
    Pining the hostname of the printer results in a weird IP  external IP address (87.239.20.209) not the local one. Ok so I put a change in the hostfile to point to the Printers IP. No joy there.
    Tried a static IP.... you know just cos... (and in my mind best practice for a printer anyway!)
    So Any ideas or any one experianced similar issues with this?
    Cheers in advanced folks

    We have been having offline issues with this same printer.  I have tried to install all new software to a Win 7 64 bit computer but the full software cannot complete.  It detects the printer on the network, goes through the network settings but when it gets to Installing Your Printer, it fails with this statement:  'Printer setup has failed to complete. Click retry to try installing the printer again or click next to continue installation without connecting to the printer now.'
    Now, I am connected via the web to the printer and all is well on the status screen.  I have updated the firmware too.  I read through many blogs of others having the same issue with no real resolution.   All those that were connected to it are now showing 'offline' even though they can ping it and access it directly on the web - but none can print.  I have tried downloading and installing the HP Print and Scan Doctor but it needs the 'full' software installed in order to run.....but the full software cannot complete it's install because of the above. 
    I have always loved HP printers but this one deserves to be in the land fill!

  • Dell Laptops E7440 & E7240 - Issues with connecting to MDT 2012 deployment share

    Hi,
      Good afternoon.Need help on this please
    -Test laptops Iam using are 2 * E7440 and 1*E7240. One laptop of model E7440 has our image installed and other two (1*E7440 & 1*E7240) are shipped from Dell with default Win 7 64 bit OS.
    -Test desktops Iam using are Dell Optiplex 3020 & Dell 3010 . Both models have our own images of Win 7 64 Bit.
    -Laptops and desktops are on same network .
    -For OS deployments we have MDT 2012.
    -While there are no issues with desktops, all the laptops mentioned above don’t connect to MDT deployments share . The detailed error message I get when I run a litetouch ISO is ‘A connection to the deployment share could not be made. Connection OJ.Possible
    cause:invalid credentials. Retry : Try again to connect to the deployment share.’
    -Have injected all possible network & storage drivers mentioned by Dell &  Intel into MDT boot image but the problem still persists. Still WinPE doesn’t detect network adapter wherein IPaddresses are not picked in WinPE mode.
    -Have been testing each and every driver by manually loading them into Winpe mode to see if they pick up the IP addresses and I finally found one driver by name ‘e1d63x64.inf ‘ which I downloaded directly from Intel website. This one is picking IP Address
    in WinPE mode when loaded manually. Also have tested the connectivity to MDT server in WinPE mode with net use command and it was successful.
    Have injected this driver into MDT Laptop deployment share, regenerated the ISO and tried again however Iam still unable to connect to the deployment share with litetouch ISO.
    The above driver is very much part of set of network drivers on Dell website too.But it doesn’t work.
    -Have also tried combination of network & storage drivers from Dell website  (along with the above one mentioned ) injecting them into the MDT laptop boot image but no luck.
    -Every time I make changes to drivers in boot image,I update deployment share & recreate boot image .
    -This very litetouch iso connects to  MDT deployments share for Dell desktop models 3010 & 3020 but have issues with laptop models E7440 & E7240. This means any connectivity or access issues can be ruled out. Also no problem with our image cause
    this happens even with brand new shipped laptops with your inbuild win 7 OS.
    -Have tried all options suggested on internet,tested all the drivers suggested but no luck.
    -For example I tried latest E7440 netwrok & storage drivers ,Dell Win PE drivers,drivers from Intel website,etc  individually as well as in combinations but the issue persists.
    -If you google many express similar issues with these laptop models.
    Though I used the drivers suggested by various bloggers,nothing worked for me.
    Any help on this is appreciated.Thanks in advance.

    Hi,
    I have several E6420, O3010 and since a week also some E7440 and E7240 on site.
    I never had issues using the current Dell PE package for MDT.
    At the moment my PE contains only the drivers from the Dell PE 3.0 package (WinPE3.0-Drivers-A13-D67JC)
    and all my systems mentioned abobe have no issues connecting to the deployment share.
    (btw: I have also some older E6400, E6410 and O390 I do no longer support, they
    are supported by the pack Dell-WinPE-Drivers-A05.CAB according
    to the Dell site, but I just started a deplymenst on a E6410 and is is also workign with just the latest PE pack)
    I'd
    suggest you start over with your deplyoment share using at least MDT2012 Update 1.
    Create a folder "PE" under "Out-of-Box Drivers" and extract latest Dell PE pack and import he drivers there
    Create a selection profile e.g. "PE Drivers" and include just the "PE" folder created above
    When configuring the Windows PE  settings of your deployment share select "PE
    Drivers" selection profile for the driver injection in the "Drivers and Patches" to keep the PE image free of not needed drives.

  • Having issues with WRT350n - "No internet Access"

    I am having issues with the WRT350n where I am getting an "No internet access" message. When I look at the wireless network connection I can see the wireless router and it says "connected" but when I scroll my mouse over the icon, it reads "No internet access". I try to access a webpage and it will not work. I originally had it connected and working properly in my home. However, I removed it and tried connecting in my office and started experiencing this problem. I did not run the setup using the CD provided. I just unplugged it from my home network and reconnected it to my office network, of course with a few passphrase changes and wireless MAC filters only allowing certain PC's to be able to access the internet. I double checked all MAC addresses of each device that I entered into the table and they are correct. All devices see the wireless network but cannot access the internet. Any suggestions? Should I re-run the installation using the CD?

    A router once it is powered on it will always broadcast a wifi signal and will allow you to connect to the network with or without the internet connection. Once of the best way to know if the router is working ok, wire a computer directly to the router with a cable and check if you are able to go online that way. if it is working then better check that wireless mac filter, disable it first, then see if the internet will go thru. If wired to the router it is not working, then better run that setup cd again.

  • Security issues with connecting pdf to database

    I have a pdf form that is being called from a webform as part
    of a web application. The PDF has two dropdown lists that I was
    populating from a SQL Server Database. I had created a special user
    that had select access only to the tables for the dropdowns.
    My question is are there any known security issues with
    regard to allowing a pdf to connect to a database this way. The PDF
    is being called from a secure connection but I don't know if
    opening this database connection to populate these dropdowns
    exposes a security hole of any sort. If it does, do you have a
    solution to make this secure? I am asking because another developer
    on the project brought up the issue of this design creating a
    security risk and I haven't been able to find anything online
    discussing it either way.
    Thanks!
    Maureen

    Hello Maureen,
    Thanks for posting, but I'm not sure I see if your question
    relates to Acrobat.com
    Are you using any of the Acrobat.com Services as any part of
    your workflow?
    Thanks!
    Pete

  • I'm having issues with oracle ODBC and access 2007

    Hello all,
         I'm having an issue with using an ODBC connection with a pass-through query in access 2007. I have Oracle 9i installed and am on Windows 7 32 bit. This only seems to be effecting Windows 7 users and not XP users.
    The error in the SQL Log is this.
    CLDemoFE        1694-162c EXIT  SQLDriverConnectW  with return code -1 (SQL_ERROR)
      HDBC                0x00787430
      HWND                0x000501FC
      WCHAR *             0x6D3A8B34 [      -3] "******\ 0"
      SWORD                       -3
      WCHAR *             0x6D3A8B34
      SWORD                       -3
      SWORD *             0x00000000
      UWORD                        0 <SQL_DRIVER_NOPROMPT>
      DIAG [NA000] [Microsoft][ODBC driver for Oracle][Oracle]ORA-01019: unable to allocate memory in the user side (1019)
      DIAG [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (0)
      DIAG [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (0)
    I've been looking all over the internet and can't find an answer to the issue and decided to post it to see what other people thought.
    Thank you in advance.

    I've had exactly the same problem for weeks now.   When using Safari, it stalls, freezes, then starts working again.  I checked the console and exactly when it freezes.  I get the following:
    2015-02-25 5:51:59.000 PM kernel[0]: process com.apple.WebKit[405] caught causing excessive wakeups. Observed wakeups rate (per sec): 216; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 849849
    and:
    2015-02-25 9:21:46.834 PM com.apple.launchd[1]: (com.apple.WebKit.WebContent.FC16A539-929A-43E5-91EB-34A5669B70FD[1265]) Could not terminate job: 3: No such process
    2015-02-25 9:21:46.834 PM com.apple.launchd[1]: (com.apple.WebKit.WebContent.FC16A539-929A-43E5-91EB-34A5669B70FD[1265]) Using fallback option to terminate job...
    2015-02-25 9:21:46.834 PM com.apple.launchd[1]: (com.apple.WebKit.WebContent.1004D4B5-112D-4D90-9779-B2BEFB570C7F[1262]) Could not terminate job: 3: No such process
    2015-02-25 9:21:46.834 PM com.apple.launchd[1]: (com.apple.WebKit.WebContent.1004D4B5-112D-4D90-9779-B2BEFB570C7F[1262]) Using fallback option to terminate job...
    2015-02-25 9:21:46.834 PM com.apple.launchd[1]: (com.apple.WebKit.WebContent.9F72A6A1-63F5-41B2-B02F-40D4CB0925A2[1261]) Could not terminate job: 3: No such process
    2015-02-25 9:21:46.834 PM com.apple.launchd[1]: (com.apple.WebKit.WebContent.9F72A6A1-63F5-41B2-B02F-40D4CB0925A2[1261]) Using fallback option to terminate job...
    2015-02-25 9:21:46.864 PM com.apple.launchd[1]: (com.apple.WebKit.Networking.8CDDD2D1-B6B6-4F09-B8DE-5C4A4E9F653E[1260]) Exited with code: 1
    2015-02-25 9:21:46.998 PM com.apple.launchd[1]: (com.apple.WebKit.Plugin.64.39152B03-68E5-463E-A6C0-A9734AF733A2[1268]) Exited with code: 1

  • Started having issues with camera raw. cannot access from bridge. Greyed out.

    Started having issues with accessing camera raw from bridge. I have CS6 and LR5. Should I attempt to uninstall CS6 and reinstall. I have backup on external hard drive for my photos but will I need to reimport photos after uninstall? Some of the forums are suggesting that my program might be corrupt. Can anyone assist?

    This should solve problem.  http://helpx.adobe.com/bridge/kb/acr-84-bridge-cs6-metadata.html

  • Nokia E50, issues with connecting and managing mes...

    Hi
    I'm using Nokia E50 and Nokia PC Suite for a few years now on. Recently I wanted to do my usual maintenance task: copy all messages to PC and delete them from the phone. Issues start here.
    At first I had problems with connecting but finally I manage to do it. After dozens of tries PC Suite finally updated contact list. Then I moved to messages tab. It took a while to download all messages (aprox. 700 in inbox, 600 in sent - I had many more few times before when everything was working ok). I can copy them to PC, but I can't delete them. After selecting message(s), trash icon is grayed out (menu item too). I can read message but can't delete it. Why?
    I've downloaded latest version of Ovi to see if that would help. Ovi managed to download contact list (after a loong waiting) but failed to download any message. Messages says that it's trying but after one hour nothing happend.
    I'm trying this on 2 different machines (Windows 7 and Windows XP), with cable and blue tooth. Efects are always the same. Phone is connected because I can copy files, but when I'm trying to download messages or do backup, software says phone is not connected or tries to copy data with no luck.
    Any hint will be appreciated.
    Thanks
    Marooned

    After deleting aprox. 150 messages from Inbox and from Sent, both programs were able to download complete list of messages and PC Suite finally reenabled trash icon.
    Seems like too much messages causes those program to fail? And why in the past they were working properly with bigger amount of messages?
    Well.. one can say "problem solved" but will reappear again in the future with lots of messages. I need to remember to grab them from the phone more frequent.

  • ECC6 EHP5 issue with authorisations now need access to S_DEVELOP

    Hi
    We have ECC6 and have just upgraded to EHP5 and have found that many HR reports/transactions now need access to S_DEVELOP authorisation object.  This  has caused issues with our user roles.  Has anyone else experienced this issue?
    Many thanks
    Julie

    Hi Julie,
    Please implement SAP note :  1487329  "Additional Authorization Check in ABAP Workbench" that should solve your issue. There is also note 1617448 "WD ABAP Team Calendar needs S_DEVELOP authorization to load". Hope it helps,
    Kind Regards
    Christine

  • Having issues with connecting to various applications

    I first noticed my connection issues with the iTunes store.  It just wouldn't connect and an error message popped up.  I figured it had something to do with iTunes.
    But then I noticed my Skype wouldn't connect.
    And when I click on the "File Explorer" tab pinned to the taskbar, it thinks for 30 seconds, the whole screen will blink once and it will never pull up.
    Everything else runs smoothly. I can browse the internet. Play my music in iTunes (just can't open the store).  I can open Word documents without any issues.  I checked the Windows firewall and it is set to allow both iTunes and Skype. This issue
    only started a few days ago.  And last night I made sure my Windows was up to date.
    I have a Samsung laptop with Windows 8.  Any idea what might be going on?

    Hi,
    We need more information to analyze your issue. What's error message when you attempt to connect the Skype?
    And how about when you launch "File Explorer" via the original source instead of pinned shortcut in taskbar?
    I would like to suggest you run App troubleshooter to see if it could be fixed:
    Troubleshoot problems with an app
    http://windows.microsoft.com/en-IN/windows-8/what-troubleshoot-problems-app
    Meanwhile, please update all your drivers especially video card.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Performance issue with connect by level query

    Hi I have a problem with connect by level in oracle.
    My table is :
    J_USER_CALENDAR
    USER_NAME     FROM_DATE     TO_DATE     COMMENTS
    Uma Shankar     2-Nov-09     5-Nov-09     Comment1
    Veera     11-Nov-09     13-Nov-09     Comment2
    Uma Shankar     15-Dec-09     17-Dec-09     Commnet3
    Vinod     20-Oct-09     21-Oct-09     Comments4
    The above table is the user leave calendar.
    Now I need to display the users who are on leave between 01-Nov-2009 to 30-Nov-2009
    The output should look like:
    USER_NAME     FROM_DATE     COMMENTS
    Uma Shankar     2-Nov-09     Comment1
    Uma Shankar     3-Nov-09     Comment1
    Uma Shankar     4-Nov-09     Comment1
    Uma Shankar     5-Nov-09     Comment1
    Veera     11-Nov-09     Comment2
    Veera     12-Nov-09     Comment2
    Veera     13-Nov-09     Comment2
    For this I have tried with following query , but it is taking too long time to execute.
    select FROM_DATE,user_name,comments from (SELECT distinct FROM_DATE,user_name ,
    comments FROM (SELECT (LEVEL) + FROM_DATE-1 FROM_DATE,TO_DATE, FIRST_NAME||' '|| LAST_NAME
    user_name ,COMMENTS FROM J_USER_CALENDAR
    where
    and J_USER_CALENDAR.IS_DELETED=0
    CONNECT BY LEVEL <= TO_DATE - FROM_DATE+1) a )where (FROM_DATE = '01-Nov-2009' or FROM_DATE = '30-Nov-2009'
    or FROM_DATE between '01-Nov-2009' and '30-Nov-2009') order by from_Date ,lower(user_name)
    Please help me.
    Thanks in advance.
    Regards,
    Phanikanth

    I have not attempted to analyze your SQL statement.
    Here is a test set up:
    CREATE TABLE T1(
      USERNAME VARCHAR2(30),
      FROM_DATE DATE,
      TO_DATE DATE,
      COMMENTS VARCHAR2(100));
    INSERT INTO T1 VALUES ('Uma Shankar', '02-Nov-09','05-Nov-09','Comment1');
    INSERT INTO T1 VALUES ('Veera','11-Nov-09','13-Nov-09','Comment2');
    INSERT INTO T1 VALUES ('Uma Shankar','15-Dec-09','17-Dec-09','Commnet3');
    INSERT INTO T1 VALUES ('Vinod','20-Oct-09','21-Oct-09','Comments4');
    INSERT INTO T1 VALUES ('Mo','20-Oct-09','05-NOV-09','Comments4');
    COMMIT;Note that I included one additional row, where the person starts their vacation in the previous month and ends in the month of November.
    You could approach the problem like this:
    Assume that you would like to list all of the days of a particular month:
    SELECT
      TO_DATE('01-NOV-2009','DD-MON-YYYY')+(ROWNUM-1) MONTH_DAY
    FROM
      DUAL
    CONNECT BY
      LEVEL<=ADD_MONTHS(TO_DATE('01-NOV-2009','DD-MON-YYYY'),1)-TO_DATE('01-NOV-2009','DD-MON-YYYY');Note that the above attempts to calculate the number of days in the month of November - if it is known that the month has a particular number of days, 30 for instance, you could rewrite the CONNECT BY clause like this:
    CONNECT BY
      LEVEL<=30Now, we need to pick up those rows of interest from the table:
    SELECT
    FROM
      T1 T
    WHERE
      (T.FROM_DATE BETWEEN TO_DATE('01-NOV-2009','DD-MON-YYYY') AND TO_DATE('30-NOV-2009','DD-MON-YYYY')
        OR T.TO_DATE BETWEEN TO_DATE('01-NOV-2009','DD-MON-YYYY') AND TO_DATE('30-NOV-2009','DD-MON-YYYY'));
    USERNAME        FROM_DATE TO_DATE   COMMENTS
    Uma Shankar     02-NOV-09 05-NOV-09 Comment1
    Veera           11-NOV-09 13-NOV-09 Comment2
    Mo              20-OCT-09 05-NOV-09 Comments4If we then join the two resultsets, we have the following query:
    SELECT
    FROM
      T1 T,
      (SELECT
        TO_DATE('01-NOV-2009','DD-MON-YYYY')+(ROWNUM-1) MONTH_DAY
      FROM
        DUAL
      CONNECT BY
        LEVEL<=ADD_MONTHS(TO_DATE('01-NOV-2009','DD-MON-YYYY'),1)-TO_DATE('01-NOV-2009','DD-MON-YYYY')) V
    WHERE
      (T.FROM_DATE BETWEEN TO_DATE('01-NOV-2009','DD-MON-YYYY') AND TO_DATE('30-NOV-2009','DD-MON-YYYY')
        OR T.TO_DATE BETWEEN TO_DATE('01-NOV-2009','DD-MON-YYYY') AND TO_DATE('30-NOV-2009','DD-MON-YYYY'))
      AND V.MONTH_DAY BETWEEN T.FROM_DATE AND T.TO_DATE
    ORDER BY
      USERNAME,
      MONTH_DAY;
    USERNAME        FROM_DATE TO_DATE   COMMENTS   MONTH_DAY
    Mo              20-OCT-09 05-NOV-09 Comments4  01-NOV-09
    Mo              20-OCT-09 05-NOV-09 Comments4  02-NOV-09
    Mo              20-OCT-09 05-NOV-09 Comments4  03-NOV-09
    Mo              20-OCT-09 05-NOV-09 Comments4  04-NOV-09
    Mo              20-OCT-09 05-NOV-09 Comments4  05-NOV-09
    Uma Shankar     02-NOV-09 05-NOV-09 Comment1   02-NOV-09
    Uma Shankar     02-NOV-09 05-NOV-09 Comment1   03-NOV-09
    Uma Shankar     02-NOV-09 05-NOV-09 Comment1   04-NOV-09
    Uma Shankar     02-NOV-09 05-NOV-09 Comment1   05-NOV-09
    Veera           11-NOV-09 13-NOV-09 Comment2   11-NOV-09
    Veera           11-NOV-09 13-NOV-09 Comment2   12-NOV-09
    Veera           11-NOV-09 13-NOV-09 Comment2   13-NOV-09Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Inserting issue with MS Access

    Hi,
    I am trying to insert a record in MS Access. Following is the code.
    class SqlTest {
    public static void main(String args[]) throws Exception {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection("jdbc:odbc:myDsn");
    Statement stmt = con.createStatement();
    stmt.executeUpdate("insert into emp values('e999', 'Raj')");
    After executing the program, if I check the data base the record would not have been inserted. The program does not even throw any exception. If I execute the same program with ORACLE, it works fne and record gets inserted. Could some one please let me know what could be the problem?

    Hey guys,
    I also tried executing the query directly in MS Access and it just worked fine.
    Also I got work around for my problem. If I extract data after I insert it in the same program, then the record gets inserted. May be it has got do with COMMIT operation. But what if I have to do only INSERT operation without selecting data?

  • UPDATE/INSERT INTO with Connection with access DB

    Hello,
    I am trouble getting the update statement working when connecting to my database. The "Select" statement works fine but i am using:
    result2= stmt2.executeUpdate("INSERT INTO Table1 VALUEs('1', '1')");
    and i get the error incompatiable types...found int but expected java.sql.resultset
    I am not sure what i am doing wrong. Can anyone help?

    since you're using Access, be sure to close both your Statement and the Connection you used after your INSERT/UPDATE. It's well known that changes won't show up in Access unless you do.
    %

Maybe you are looking for

  • Can I get rid of my faulty disk permissions by upgrading to Lion?

    I just replaced my hard drive for my MacBook. I took it to an Apple retail store, and they installed Snow Leopard. I restored the system to what I had on the previous hard drive (which had faulty disk permissions). I was told that the permissions wer

  • Cannot Control Image Position in RoboHelp When Linking To FM Files

    We are using TCS 3.5 on Windows XP Pro. It has taken a lot of work to get our mapping from FM to RH to work correctly, and we now remain with one outstanding task that I cannot figure out: controlling the position of images in the RoboHelp output. Th

  • Change the layout of a query items in BEx analyzer

    Hi, I had developed a query, so when it is viewed in BEx analyzer the items(Char and Keyfigures) that i had used in rows and columns are displayed in analyzer. Apart from this in report i can see the items i had used, in top corner. So i need to chan

  • I am trying to monitor activity on an IEEE 488 bus with a NI9914.

    I am attempting to do this using ISR2, and trigerring on ATNI. After set-up, I release the swrst in the acr - and the bus locks up. All I want to do is snoop the bus - I don't want to actively communicate. Does anyone know how to do this?? Thanx,Ben

  • Undo tablespace is getting increased

    Hi All, Oracle 9.2.0.1.0 version. The undo tablspace is getting increased, it gone more than 10 GB. Thanks for you suggestions