wood burning stoves 2.0*
The moose likes JDBC and the fly likes insert problem in oracle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "insert problem in oracle" Watch "insert problem in oracle" New topic
Author

insert problem in oracle

visu Nekk
Ranch Hand

Joined: Sep 06, 2005
Posts: 122

Using the code above i tried to insert into oracle database.neither i am getting any error nor the data is going to the database.Can anyone help me out.

[added code tags]
[ October 03, 2005: Message edited by: Jeanne Boyarsky ]
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29249
    
139

Do the println statements display anything? Do you know that the select stmt returns something?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
dema rogatkin
Ranch Hand

Joined: Oct 09, 2002
Posts: 294
setAutoCommit to true, all do connection.commit when finish


Tough in space?, <a href="http://tjws.sf.net" target="_blank" rel="nofollow">Get J2EE servlet container under 150Kbytes here</a><br />Love your iPod and want it anywhere?<a href="http://mediachest.sf.net" target="_blank" rel="nofollow">Check it here.</a><br /><a href="http://7bee.j2ee.us/book/Generics%20in%20JDK%201.5.html" target="_blank" rel="nofollow">Curious about generic in Java?</a><br /><a href="http://7bee.j2ee.us/bee/index-bee.html" target="_blank" rel="nofollow">Hate ant? Use bee.</a><br /><a href="http://7bee.j2ee.us/addressbook/" target="_blank" rel="nofollow">Need contacts anywhere?</a><br /><a href="http://searchdir.sourceforge.net/" target="_blank" rel="nofollow">How to promote your business with a search engine</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: insert problem in oracle
 
Similar Threads
opinion soughted
Reading From a Binary Large Object(BLOB)
Pass a resultset object from a servlet to jsp
Problem inserting Blob into Oracle DB
problem retrieving from database