Subject | How To Set AutoCommit OFF? |
---|---|
Author | bionictonic2004 |
Post date | 2011-02-11T16:56:30Z |
I am using Spring and I have got Firebird set up like this:
<bean id="dataSource"
class="org.firebirdsql.pool.FBWrappingDataSource"
p:database="${jdbc.database}"
p:userName="${jdbc.username}"
p:password="${jdbc.password}"
p:type="${jdbc.connection.type}"
p:maxPoolSize="5"
p:minPoolSize="1"
p:pooling="true" />
I know that with the standard dbcp set up this is possible:
p:defaultAutoCommit="${jdbc.defaultAutoCommit}"
But I don't see a configuration setting in Firebird to do this.
I have two questions:
1. How do you set AutoCommit to False?
2. Why don't Firebird make their database set up standard?
If they did, more people would use it...
<bean id="dataSource"
class="org.firebirdsql.pool.FBWrappingDataSource"
p:database="${jdbc.database}"
p:userName="${jdbc.username}"
p:password="${jdbc.password}"
p:type="${jdbc.connection.type}"
p:maxPoolSize="5"
p:minPoolSize="1"
p:pooling="true" />
I know that with the standard dbcp set up this is possible:
p:defaultAutoCommit="${jdbc.defaultAutoCommit}"
But I don't see a configuration setting in Firebird to do this.
I have two questions:
1. How do you set AutoCommit to False?
2. Why don't Firebird make their database set up standard?
If they did, more people would use it...