aspose file tools*
The moose likes JDBC and the fly likes Cannot insert values into a table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Cannot insert values into a table" Watch "Cannot insert values into a table" New topic
Author

Cannot insert values into a table

Vinod Awar
Ranch Hand

Joined: Nov 06, 2006
Posts: 125
Hi all,

iam trying to access postgresql database from my java program.The database is on my virtual machine.I can access dattabase but iam unable to insert values into table.I have set grant all previliges to that user.iam not getting any SQLException also. Am i missing something?pls suggest.

thanks in advance.
[ February 13, 2007: Message edited by: pramod awar ]

The biggest bankruptcy is the loss of enthusiasm
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Are you doing this insert in a transaction? Are you commiting the transaction?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

Originally posted by pramod awar:
Am i missing something?


Yeah maybe in your code... but can�t say where without it.


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot insert values into a table