Go to file
Sam Brannen 04a6827290 Reproduce claims raised in SPR-8849
This commit introduces a test suite (Spr8849Tests) that demonstrates
the claims made in SPR-8849.

Specifically, if <jdbc:embedded-database id="xyz" /> is used to create
an embedded HSQL database in an XML configuration file and that
configuration file is imported in different sets of configuration files
that are used to load ApplicationContexts for different integration
tests, the embedded database will be initialized multiple times using
any nested <jdbc:script /> elements. If such a script is used to create
a table, for example, subsequent attempts to initialize the database
named "xyz" will fail since an embedded database named "xyz" already
exists in the JVM.

As a work-around, this test suite uses a SpEL expression to generate a
random string for each embedded database instance:

  id="#{T(java.util.UUID).randomUUID().toString()}"

See the Javadoc in Spr8849Tests for further information.

Issue: SPR-8849
2012-06-10 00:31:05 +02:00
.settings/gradle Upgrade to Gradle 1.0-milestone-8a 2012-02-23 14:17:09 +01:00
gradle/wrapper Upgrade to Gradle 1.0-rc-3 2012-05-15 22:51:45 +03:00
spring-aop/src Introduce BeanFactoryAnnotationUtils 2012-05-26 14:22:57 +03:00
spring-asm/src Remove bundlor support 2012-01-31 14:37:11 +01:00
spring-aspects Update dependencies for spring-aspects 2012-06-01 15:35:29 +02:00
spring-beans/src Cache by-type lookups in DefaultListableBeanFactory 2012-05-27 18:09:38 +03:00
spring-context Apply cache settings consistently in EhCacheFactoryBean 2012-05-28 11:08:41 +03:00
spring-context-support/src Fix compiler warnings 2012-05-17 14:32:34 +03:00
spring-core/src Rename test versions of @Qualified and @Autowired 2012-05-28 15:04:47 +03:00
spring-expression Eliminate trailing whitespace in SpEL classes 2012-05-17 13:46:00 +03:00
spring-instrument/src Remove bundlor support 2012-01-31 14:37:11 +01:00
spring-instrument-tomcat/src Remove bundlor support 2012-01-31 14:37:11 +01:00
spring-jdbc/src Use transactional connection during db population 2012-06-04 16:36:45 +02:00
spring-jms/src Update spring.schemas to reflect 3.2 schemas 2012-05-18 14:31:33 +03:00
spring-orm/src Exception for OSIV deferred close with async requests 2012-05-04 18:58:47 -04:00
spring-oxm Update spring.schemas to reflect 3.2 schemas 2012-05-18 14:31:33 +03:00
spring-struts/src Fix javadoc warnings 2012-04-30 11:31:02 +03:00
spring-test Reproduce claims raised in SPR-8849 2012-06-10 00:31:05 +02:00
spring-tx/src Introduce BeanFactoryAnnotationUtils 2012-05-26 14:22:57 +03:00
spring-web/src Include response headers in RestTemplate exceptions 2012-06-01 16:38:50 +02:00
spring-webmvc/src Introduce ConfigurableWebEnvironment 2012-05-26 14:35:57 +03:00
spring-webmvc-portlet/src Fix window state comparison in DAHandlerMapping 2012-05-28 11:08:41 +03:00
src Update 3.2 M1 changelog 2012-05-28 11:08:41 +03:00
.gitignore Introduce Gradle-based build 2012-01-31 14:31:04 +01:00
README.md Add link to contributor guidelines in readme 2012-02-16 13:13:44 +01:00
build.gradle Update dependencies for spring-aspects 2012-06-01 15:35:29 +02:00
gradle.properties Increment version to 3.2.0.BUILD-SNAPSHOT 2012-05-28 23:52:17 +03:00
gradlew Upgrade to Gradle 1.0-rc-3 2012-05-15 22:51:45 +03:00
gradlew.bat Upgrade to Gradle 1.0-rc-3 2012-05-15 22:51:45 +03:00
import-into-eclipse.sh Fix typo in Eclipse import instructions 2012-03-01 12:46:52 +01:00
import-into-idea.md Update README and add IDE import helper scripts 2012-01-31 14:37:12 +01:00
publish-maven.gradle Upgrade to Gradle 1.0-rc1 2012-04-14 12:52:07 +03:00
settings.gradle Rename modules {org.springframework.*=>spring-*} 2012-01-31 14:37:10 +01:00

README.md

Spring Framework

The Spring Framework provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform. A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.

The framework also serves as the foundation for Spring Integration, Spring Batch and the rest of the Spring family of projects. Browse the repositories under the SpringSource organization on GitHub for a full list.

.NET and Python variants are available as well.

Downloading artifacts

Instructions on downloading Spring artifacts via Maven and other build systems are available via the project wiki.

Documentation

See the current Javadoc and Reference docs.

Getting support

Check out the Spring forums and the Spring tag on StackOverflow. Commercial support is available too.

Issue Tracking

Spring's JIRA issue tracker can be found here. Think you've found a bug? Please consider submitting a reproduction project via the spring-framework-issues repository. The readme provides simple step-by-step instructions.

Building from source

The Spring Framework uses a Gradle-based build system. In the instructions below, ./gradlew is invoked from the root of the source tree and serves as a cross-platform, self-contained bootstrap mechanism for the build. The only prerequisites are git and JDK 1.6+.

check out sources

git clone git://github.com/SpringSource/spring-framework.git

compile and test, build all jars, distribution zips and docs

./gradlew build

install all spring-* jars into your local Maven cache

./gradlew install

import sources into your IDE

Run ./import-into-eclipse.sh or read import-into-idea.md as appropriate.

... and discover more commands with ./gradlew tasks. See also the Gradle build and release FAQ.

Contributing

Pull requests are welcome; see the contributor guidelines.

Staying in touch

Follow @springframework and its team members on Twitter. In-depth articles can be found at the SpringSource team blog, and releases are announced via our news feed.

License

The Spring Framework is released under version 2.0 of the Apache License.