File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Oracle/OAS and the fly likes Problem in Project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Problem in Project" Watch "Problem in Project" New topic
Author

Problem in Project

Amit Keskar
Greenhorn

Joined: Oct 12, 2006
Posts: 2
There is slight problem in My project.
The subject of my project i.e. Online Shopping (BOOKS) in JSP.
In this Online shopping the customers are giving there book order.
For this project I am using Oracle 9i as backend. I have constructed the same database in MS-Access also.
when the customer orders more than One book.
I am using the session tracking method to store previous order.
I have problem that,when I connect to the MS-Access database then it works fine,
But When I connect to the Oracle 9i then Only 1st order is updates other orders are not.
There is no error Msg at all.

I am confused please tell me what to do.

Thank you very much in advance.
[ October 12, 2006: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61201
    
  66

Moved to the Oracle forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Well maybe it has to do with commiting. Oracle is usually run where you have to commit your changes, whereas I don't think you have to commit using Access, so maybe you insert and don't commit.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Amit Keskar
Greenhorn

Joined: Oct 12, 2006
Posts: 2
Is there any problem in Database ?

I have called the SetAutoCommit method of Connection object.
so I think there is no problem of commit.

If something is wrong then please correct it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in Project