commit « Connection « Java Database Q&A

Home
Java Database Q&A
1.Blob
2.cassandra
3.column
4.Connection
5.Cursor
6.dao
7.Data Type
8.Database
9.Database Product
10.DataSource
11.Date
12.db2
13.derby
14.Development
15.Driver
16.Exception
17.file
18.hadoop
19.hbase
20.hsqldb
21.ibatis
22.JDBC
23.memcached
24.mongodb
25.MS Access
26.mysql
27.ODBC
28.Operation
29.oracle
30.postgresql
31.Record
32.result
33.Resultset
34.Schema
35.SQL
36.sqlite
37.SQLserver
38.Statement
39.stored procedure
40.sybase
41.Table
42.Transaction
43.Trigger
Java Database Q&A » Connection » commit 

1. Database Connection Settings Retrieved From a JNDI Connection Pool    stackoverflow.com

I have Hosted a data source on the websphere server and i wanted make use of that datasource through my application clients. After retrieving the database connection from the JNDI datasource i ...

2. Auto commit transactions if not explicitly committed or rolledback    stackoverflow.com

we use Weblogic server and always set autoCommit to 'false' when getting Connection to Oracle 10g. I want to know if there is a setting in Weblogic wherein it will automatically ...

3. Does a Connection commit on close?    coderanch.com

Hi It means database is supporting the the autocommit property. So here is what should happen By default autocommit is true, it will commit as soon as sql is fired through java, whether you close the connection or not. Rollback is of no use in this case If autocommit is set to false, only and only if you say conn.commit, the ...

5. does Connection commit on close()?    coderanch.com

Hi, I tried searching on google about the fact that when we close connection whether it gets commited in database itself. I was unable to locate any mention of this on Java Doc API. So i think it is a moot point and may be left to implementation. I noticed in DB2 it does so , which means that it commit ...

6. Difference between connection.commit and usertransaction.commit    coderanch.com

Thanks Jeanne, If a transaction contains multiple database connections, then its a distributed /XA transaction right? Lets keep it as multiple i/o operations with the same database. which can be commit/rollback either using a single usertransaction or connection. When we use UserTransaction the transaction manager/service uses a default timeout (which if we want, we can overwrite using setTransactionTimeout method) But if ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.