Juergen Hoeller
1d26c37b87
Mention matching bean names in exception message in case of non-unique EntityManagerFactory lookup
13 years ago
Juergen Hoeller
1dd01a7a82
Fixed test failure on CI server (classpath search failing for some reason)
...
Issue: SPR-9797
13 years ago
Juergen Hoeller
3788635f51
JPA persistence.xml files may use jar-file entries relative to the unit root (as per the JPA spec)
...
Issue: SPR-9797
13 years ago
Juergen Hoeller
bac05f568a
Hibernate 4 LocalSessionFactoryBuilder sets thread context ClassLoader (for JBoss 7 compatibility)
...
Issue: SPR-9846
13 years ago
Juergen Hoeller
0cf4a2626b
same-named unit from persistence.xml overrides in case of conflict with default unit
...
Issue: SPR-9741
14 years ago
Spring Buildmaster
671f97721f
Increment version to 3.1.3.BUILD-SNAPSHOT
14 years ago
Spring Buildmaster
49f728eae8
Release version 3.1.2.RELEASE
14 years ago
Juergen Hoeller
efabc6bf18
added "jtaTransactionManager" property to Hibernate 4 LocalSessionFactoryBean/Builder
...
Issue: SPR-9480
14 years ago
Spring Buildmaster
b32a365f14
Increment version to 3.1.2.BUILD-SNAPSHOT
14 years ago
Spring Buildmaster
79c9ca1a26
Release version 3.1.1.RELEASE
14 years ago
Juergen Hoeller
1bd260adaf
polishing
14 years ago
Chris Beams
ff44c9132c
Upgrade Hibernate from 4.0.0.CR7=>4.1.0.Final
...
spring-orm now successfully builds against Hibernate 4.1.0.Final
Issue: SPR-9082
14 years ago
Juergen Hoeller
2a0714b41c
converted EmptyResultDataAccessException preserves JPA NoResultException as root cause (SPR-9041)
14 years ago
Juergen Hoeller
62e5b9da04
LocalContainerEntityManagerFactoryBean's "persistenceUnitName" applies to "packagesToScan" as well; DefaultPersistenceUnitManager uses containing jar as persistence unit root URL for default unit (SPR-8832)
14 years ago
Chris Beams
87a021d5c9
Add <license> section to 3.1.x Maven poms
...
Issue: SPR-8927
14 years ago
Juergen Hoeller
4a63a5b3ba
fixed "configTimeRegionFactoryHolder" reset
14 years ago
Juergen Hoeller
56d0e67581
added "getConfiguration" accessor to Hibernate 4 LocalSessionFactoryBean (SPR-8961)
14 years ago
Juergen Hoeller
affa733927
Hibernate exception translation covers NonUniqueObjectException to DuplicateKeyException case (SPR-8996)
14 years ago
Chris Beams
41c405998e
Convert CRLF=>LF on files missed earlier
...
Complete pass with `dos2unix` found additional files missed on earlier
related commit.
Issue: SPR-5608
14 years ago
Juergen Hoeller
103c648a92
added protected "isPersistenceUnitOverrideAllowed()" method to DefaultPersistenceUnitManager (SPR-8925)
14 years ago
Juergen Hoeller
07ddedd7bf
Hibernate synchronization properly unbinds Session even in case of afterCompletion exception (SPR-8757)
14 years ago
Juergen Hoeller
09ac195f0c
do not insist on a "dataSource" reference being set (SPR-8924)
14 years ago
Juergen Hoeller
391434e089
officially deprecated TopLinkJpaDialect in favor of EclipseLink and Spring's EclipseLinkJpaDialect; updated supported version ranges for EclipseLink and OpenJPA
14 years ago
Juergen Hoeller
392247d674
Hibernate 4 LocalSessionFactoryBean implements PersistenceExceptionTranslator interface as well (SPR-8952); consistent extending of HibernateExceptionTranslator for Hibernate 3 as well as Hibernate 4
14 years ago
Juergen Hoeller
eb31528979
added "entityInterceptor" property to Hibernate 4 LocalSessionFactoryBean (SPR-8940)
14 years ago
Juergen Hoeller
e0231438cd
fixed "packagesToScan" to avoid additional provider scan (SPR-8936)
14 years ago
Chris Beams
88913f2b23
Convert CRLF (dos) to LF (unix)
...
Prior to this change, roughly 5% (~300 out of 6000+) of files under the
source tree had CRLF line endings as opposed to the majority which have
LF endings.
This change normalizes these files to LF for consistency going forward.
Command used:
$ git ls-files | xargs file | grep CRLF | cut -d":" -f1 | xargs dos2unix
Issue: SPR-5608
14 years ago
Chris Beams
e158f61e93
Increment version to 3.1.1.BUILD-SNAPSHOT
14 years ago
Chris Beams
ac107d0c2a
Release Spring Framework 3.1.0.RELEASE
14 years ago
Juergen Hoeller
2fa9ef9f5a
do not reset Session itself on "clear()" in order to properly interact with Open Session in View (SPR-8909)
14 years ago
Juergen Hoeller
439b7750d4
fixed "hibernateManagedSession" mode to actually work against Hibernate 4.0 (SPR-8776)
14 years ago
Juergen Hoeller
2dba480d9d
used specific SLF4J versions for running the test suites of individual modules (fixing the Hibernate Validator 4.2 upgrade)
14 years ago
Chris Beams
481c8455fd
Upgrade to Hibernate Core 4.0.0.CR7
...
From earlier dependence on 4.0.0.CR4.
Spring 3.1.x will upgrade to Hibernate 4.0.0.Final as soon as possible
after its release.
Pom files have also been updated to 'recommend' use of Hibernate
3.6.0.Final or better (earlier value was 3.3.1.GA).
14 years ago
Juergen Hoeller
d050a472a2
added "mappingResources" property to LocalContainerEntityManagerFactoryBean (pointing to orm.xml; SPR-8440)
14 years ago
Juergen Hoeller
27471e0555
added support for JPA 2.1 unwrap method on EntityManagerFactory interface
14 years ago
Juergen Hoeller
2cb287a01b
JPA EntityManagerFactoryUtils silently ignores IllegalArgumentExceptions from setHint calls (SPR-7947)
14 years ago
Juergen Hoeller
e6272312a8
allow "packagesToScan" to be optional on LocalSessionFactoryBean (SPR-8812)
14 years ago
Juergen Hoeller
e7d1b5e0ee
JDO PersistenceManager synchronization performs close attempt after completion (if necessary; SPR-8846)
14 years ago
Juergen Hoeller
93db3df35b
added "namingStrategy" property to Hibernate 4 LocalSessionFactoryBean variant (SPR-8864)
14 years ago
Juergen Hoeller
f50f3d2405
HibernateJpaDialect does NOT expose underlying Session for underlying SessionFactory anymore (SPR-8771)
14 years ago
Rossen Stoyanchev
63e235f215
SPR-8750 Refine 'Content-Type' update in MockHttpServletRequest/Response.
...
The initial solution kept these three in full sync at all times:
contentType field, characterEncoding field, 'Content-Type' header.
That is correct behavior, however it breaks existing tests that rely
on contentType and characterEncoding being equal to exactly what
they were set to.
For example, consider:
response.setContentType("text/plain");
response.setCharacterEncoding("UTF-8");
Ideally both contentType and the 'Content-Type' header would now be
"text/plain;charset=UTF-8". However, existing tests would expect
that contentType is equal to "text/plain".
To avoid breaking existing tests, contentType and characterEncoding
will continue to be equal to exactly what they were set to while
the 'Content-Type' header will always include both the content
type and the charset.
The only exception to this rule is when a 'Content-Type' header
is set explicitly, the contentType and characterEncoding fields will
be updated accordingly, possibly overriding the existing values.
14 years ago
Rossen Stoyanchev
7918810366
SPR-8750 Update MockHttpServletRequest/Response handling of contentType.
...
The Content-Type header and the contentType field in HttpServletRequest/Response
are now always in sync. When a header is added the contentType field is updated
as well and vice versa.
Similarly when the Content-Type header or the contentType field includes a charset
field, the character encoding is updated and vice versa.
14 years ago
Juergen Hoeller
0dfb617d8a
refer to correct openSession() method for Hibernate 4.0 (SPR-8776)
14 years ago
Chris Beams
5360bd899d
Fix warnings and polish LocalSessionFactoryBuilder
14 years ago
Juergen Hoeller
12c1f47733
extended LocalSessionFactoryBean options for Hibernate 4; factored out LocalSessionFactoryBuilder
14 years ago
Juergen Hoeller
ba2c8fc592
deprecated JdoTemplate and co in favor of native PersistenceManager usage
14 years ago
Juergen Hoeller
feed594ba4
deprecated JpaTemplate and co in favor of native EntityManager usage
14 years ago
Chris Beams
9be6ddc946
Include Hibernate 4.x in Eclipse classpath
14 years ago
Juergen Hoeller
cfb380d653
fixed unbind failure through appropriate guard
14 years ago
Juergen Hoeller
d54922642c
made compilation work with Hibernate 4.0 next to Hibernate 3.x
14 years ago