Thomas Risberg
abe052a3db
added a SybaseAnywhereMaxValueIncrementer since syntax is slightly different than for Sybase ASE (SPR-7623)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3734 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
37b8aa325b
added configurable Connection/Statement/ResultSet target types to Jdbc4NativeJdbcExtractor (SPR-7613); added OracleJdbc4NativeJdbcExtractor with pre-configured Oracle JDBC API types
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3722 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
f917704e61
fixed embedded database exception test
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3721 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
e13610b959
consistent handling of unwrap/isWrapperFor/isClosed in JDBC proxies
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3720 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
e1ec1914d1
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3719 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
0827d38890
ResourceDatabasePopulator throws descriptive ScriptStatementFailedException with resource details (SPR-7546)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3718 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Thomas Risberg
52503cfbaf
added a nativeJdbcExtractor property for the TableMetaDataProvider and a method to specify the one to use for SImpleJdbcInsert (SPR-7611)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3717 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Oliver Gierke
a54c4bd0cf
SPR-7604 - Support multiple embedded databases.
...
Added missing test configuration file.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3716 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Oliver Gierke
7a24e4116f
SPR-7604 - Support multiple embedded databases.
...
Embedded datasources now get their bean ids set as database name to allow multiple databases of the same type in parallel. Refactored tests a little and made BeanDefinitionParser package private to align with the other ones. Adapted changelog accordingly.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3712 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Oliver Gierke
bff49b4c0d
SPR-7602 - Correctly shutdown Derby >= 10.6
...
The shutdown mechanism for in-memory databases has changed since 10.6. We now have to trigger 'drop' instead of 'shutdown'. Besides that we can skip purging the database manually in newer versions.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3700 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Thomas Risberg
34cd15c631
changed the access of the "reconcileColumnsToUse" and "reconcileParameters" methods to protected (SPR-7556)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3686 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
cfcff0249f
EmbeddedDatabaseFactory shuts down database when failing to populate it in initDatabase (SPR-7536)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3675 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
80d214fd95
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3668 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Thomas Risberg
cd7aece559
Polished the support for looking up column values by column label (SPR-7506)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3663 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Thomas Risberg
4be9b83c31
Added support for looking up column values by column label to support CachedRowSetImpl which doesn't allow for column label use (SPR-7506); added some generics;
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3662 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
58dab3f971
DefaultLobHandler's "wrapAsLob" mode works with PostgreSQL's getAsciiStream() requirement (SPR-7487)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3628 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
da758771fa
consistent use of JDK 1.5's ThreadLocal.remove() over ThreadLocal.set(null), preventing leaks (SPR-7441)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3627 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
6567fa437b
JDBC bundle uses local ClassLoader as bean ClassLoader for "sql-error-codes.xml" parsing (SPR-7497)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3625 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
5294db8e62
fixed yet another regression with respect to newlines (SPR-7449)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3560 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Sam Brannen
22a0850aca
[SPR-7449] @Ignore'd failing test for regression in ResourceDatabasePopulator.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3557 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
4a473e7e71
fixed accidental regression with respect to newlines
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3543 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
90d1a297cb
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3541 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
9113a54381
ignore empty statements (SPR-7363)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3540 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
a4d48f721c
HibernateJpaDialect correctly closes borrowed connections even for nested JDBC executions (SPR-7393)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3503 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
34a65eb61a
added limit for parsed SQL cache to NamedParameterJdbcTemplate (SPR-7237); added configurable cache limit to CachingMetadataReaderFactory
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3372 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
22ab9d6ce8
DataSourceUtils lets timeout exceptions through even for setReadOnly calls (revised; SPR-7226)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3365 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
626d75ff61
DataSourceUtils lets timeout exceptions through even for setReadOnly calls (revised; SPR-7226)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3364 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
db32d52375
expect user name to be null (SPR-7228)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3363 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
b261d6e634
expect user name to be null (SPR-7228)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3362 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
64bbbc91ff
DataSourceUtils lets timeout exceptions through even for setReadOnly calls (SPR-7226)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3361 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Thomas Risberg
27e6aa644f
fixed index test for parameter types (SPR-7199)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3332 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Thomas Risberg
b5588049aa
added null check for parameter (SPR-7193)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3322 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
949d8fa9da
setTransactionIsolation on JDBC Connection only called when actually necessary (for PostgreSQL; SPR-7184)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3319 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
7efec864e9
reintroduced two-arg constructor (making STS warning disappear); always use a ResourcePatternResolver (through ResourcePatternUtils)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3212 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Thomas Risberg
3478dec5f0
added metadata override to NUMERIC for NUMBER columns reported as DECIMAL but with zero decimal places (SPR-6912)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3116 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Christian Dupuis
8385bd804e
made SortedResourcesFactoryBean ResourceLoaderAware to prevent specifying the ResourceLoader in the jdbc NamespaceHandlers; prevents leaking of class loader instances in tooling
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3113 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
7c2c40b516
SimpleJdbcCall's "returningResultSet" accepts any plain RowMapper now (SPR-6963)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3073 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
499a4ffdeb
newArg(Type)PreparedStatementSetter declares PreparedStatementSetter interface as return type (SPR-6897)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3036 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
312d3986ac
use WeakHashMap for DataSource-keyed cache (SPR-6887)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3029 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
c02c111826
added vararg variants of query methods to JdbcTemplate (as known from SimpleJdbcTemplate; SPR-6858)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2998 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
4561a6a9c3
added "lenientFallback" flag to AbstractRoutingDataSource (SPR-6809)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2938 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
David Syer
d4103d1168
RESOLVED - issue SPR-6668: Small Connection leak in DataSourceInitializer
...
http://jira.springframework.org/browse/SPR-6668
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2808 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
b9e5da07db
made comment prefix configurable (SPR-6667)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2800 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
f037e27749
fixed toString handling (SPR-5582)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2795 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
4869e25582
added lock timeout error code for H2 (SPR-6612)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2776 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
6c0a5b2234
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2688 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
fd85761097
added static newInstance method to BeanPropertyRowMapper (SPR-6433); aligned ParameterizedBeanPropertyRowMapper factory methods
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2504 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Thomas Risberg
f88b785db7
added a "releaseResourcesAfterRead" property defaulting to false and code to handle releasing any LOB resources after read if requested (SPR-5998, SPR-6209)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2475 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
27747d3086
Derby requires a publicly accessible stream creation method (SPR-6346)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2471 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
David Syer
8dd8a2b451
RESOLVED - issue SPR-6365: spring-jdbc.xsd script element claims resource patterns can be used for any SQL resource location but this is only supported for initialize-database tag
...
Grr: classpath*: again...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2443 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago