File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Problem in Project

Amit Keskar

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

Joined: Jan 10, 2002
Posts: 63858

Moved to the Oracle forum.

[Asking smart questions] [About Bear] [Books by Bear]
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

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.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Amit Keskar

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:
subject: Problem in Project
It's not a secret anymore!