Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot insert values into a table

 
Vinod Awar
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you doing this insert in a transaction? Are you commiting the transaction?
 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by pramod awar:
Am i missing something?


Yeah maybe in your code... but can�t say where without it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic