AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with ACCESS

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases
View previous topic :: View next topic  
Author Message
Nicolas GUERIN
Guest





PostPosted: Sat Jan 17, 2004 12:34 pm    Post subject: Problem with ACCESS Reply with quote



Hello all,

I have a project in Java JDBC, I made a connection with an ACCESS base. When
I want to insert a value in may table, Java send no exception, but, there's
no new value in may table. Is there someone how can help me?

Thanks for your answer.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com)[/url].
Version: 6.0.560 / Virus Database: 352 - Release Date: 08/01/2004


Back to top
visionset
Guest





PostPosted: Sat Jan 17, 2004 11:40 pm    Post subject: Re: Problem with ACCESS Reply with quote




"Nicolas GUERIN" <nico.guerin.rennes (AT) wanadoo (DOT) fr> wrote

Quote:
Hello all,

I have a project in Java JDBC, I made a connection with an ACCESS base.
When
I want to insert a value in may table, Java send no exception, but,
there's
no new value in may table. Is there someone how can help me?

Thanks for your answer.

That would indicate your SQL is correct and that ODBC has correctly
deciphered it and that Access has accepted it.
So I think the only answer is that no updates could be made.
If you check the JDBC API you will find an update method that returns an int
to say how many rows were updated, if this returns zero then you need to
reexamine the SQL.

--
Mike W



Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.