David Syer
1e249085d2
SPR-7364: added separator property to database populator to deal with things like PL/SQL
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4417 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
David Syer
9c73be0869
SPR-6688: Add tests and explicit detection of \ in sql script extractor
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4410 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Thomas Risberg
9c39084b62
SPR-6922 deprecated SimpleJdbcTemplate/SimpleJdbcOperations/SimpleJdbcDaoSupport in favor of JdbcTemplate/NamedParameterJdbcTemplate and related interfaces support classes
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4225 50f2f4bb-b051-0410-bef5-90022cba6387
15 years ago
Thomas Risberg
7b25351288
switched to create the PreparedStatementCreatorFactory using a list of SqlParameters to preserve type names (SPR-7699)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3976 50f2f4bb-b051-0410-bef5-90022cba6387
15 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
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
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
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
90d1a297cb
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3541 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
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
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
David Syer
769bacfc28
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
...
Added resource pattern feature to embedded datasource XML parser.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2442 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Keith Donald
0be14b0974
removed new EmbeddedDatabaeBuilder methods that don't seem very useful for embedded scenarios; javadoc polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2441 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
David Syer
27c1a578f4
OPEN - issue SPR-6346: NoSuchMethodException in DerbyEmbeddedDatabaseConfigurer
...
Added derby test case to EmbeddedDatabaseBuilderTests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2439 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
David Syer
67932323ad
RESOLVED - issue SPR-6345: ResourceDatabasePopulator does not handle comments properly when ignoring failures
...
http://jira.springframework.org/browse/SPR-6345
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2436 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Keith Donald
254f477423
removed embedded databases factory in favor of new useDefaultScripts builder method
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2247 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Keith Donald
add8476160
embeddedd databases convenience factory; builder polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2246 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
David Syer
d55d291313
RESOLVED - issue SPR-5917: fixed classpath pattern for ANT
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2231 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
David Syer
4e2ebdf8e4
RESOLVED - issue SPR-5917: DataSourceInitializer and namespace support for creating and populating databases
...
Moved classes but not resources (fixed)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2230 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
David Syer
8fba8e87ab
RESOLVED - issue SPR-5917: DataSourceInitializer and namespace support for creating and populating databases
...
Tweak initializer to allow placeholders for script locations
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2229 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
David Syer
ba249fb1b1
RESOLVED - issue SPR-5917: DataSourceInitializer and namespace support for creating and populating databases
...
Moved populator to init package and added namespace features
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2227 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
c459b7e905
"data.sql" instead of "test-data.sql" (SPR-6020)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1971 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Juergen Hoeller
2147e66d7c
changed NamedParameter/SimpleJdbcOperations parameter signatures to accept any Map value type (SPR-6046)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1781 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Mark Pollack
2f66da5293
SPR-5976 - Upgrade POMS to JUnit 4.6
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1696 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Thomas Risberg
49f6a8db65
added some additional tests (SPR-3322, SPR-5162)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1309 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Thomas Risberg
35d527f756
Updated BeanPropertyRowMapper to remove spaces from column names to improve matching to properties (SPR-5758)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1302 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Thomas Risberg
1a703b3a63
added convenience execute method that takes vararg of objects in the order of the parameters plus the corresponding executeFunction/executeObject methods (SPR-4739)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1287 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Thomas Risberg
b23704f0f2
added convenience method that takes vararg of objects in the order of the declared parameters (SPR-5696)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1286 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Thomas Risberg
1343f95a43
added batchUpdate methods to NamedParameterJdbcTemplate (SPR-3322)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1272 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Keith Donald
55694f5ca1
removed unused imports
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1202 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Keith Donald
4a727f391f
applied Joris's patch to shutdown Embedded Derby DB; adjusted manifest template to restrict derby version range from 10.5.1. to 10.6
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1201 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Keith Donald
2587e09b57
derby embedded db support initial commit; shutdown use case needs work
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1197 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Juergen Hoeller
8a49660e47
replaced Commons Collections dependency with Spring-provided LinkedCaseInsensitiveMap; revised CollectionFactory and Spring Map implementations for consistency
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1166 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Keith Donald
ad4c6710b5
polish
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1139 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Keith Donald
582b194061
h2 embedded db support; updated formatting conventions not to auto-format javadoc; added hsqldb and h2 to jdbc maven pom as optional deps
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1137 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Keith Donald
3f24357f96
spring-jdbc xsd initial commit; includes embedded-database tag
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1130 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Keith Donald
ee645318b8
polish
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1119 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Keith Donald
527bbf4c5e
eliminated dependency on jdbc core
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1111 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Keith Donald
539f9b3575
polish
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1060 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Keith Donald
28ae04ead2
added DataSourceFactory strategy; promoted EmbeddedDatabaseConfigurer strategy to public API; added ability to add any number of SQL scripts for db population
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1053 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Keith Donald
812e7272d5
embedded database support initial commit; moved from spring-test; ResourceDatabasePopulator duplicate code with test.jdbc package that needs review
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1050 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Thomas Risberg
c6bab66017
added a config property to control defaulting of primitive property when receiving null value from result (SPR-5588)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@822 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Thomas Risberg
b37a461eb0
added tests for custom SQLException translation, polished (SPR-4899)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@768 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Thomas Risberg
ee4c0e7101
switched tests to use JUnit4
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@765 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Thomas Risberg
d3c10437c4
added a concrete GenericSqlQuery class to make it possible to configure in application context (SPR-3986)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@764 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Thomas Risberg
b9b536871c
fixed missing tabs in application context file (SPR-3987)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@763 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Thomas Risberg
87a53c0777
moved the application context file to correct directory (SPR-3987)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@762 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago