166 Commits

Author SHA1 Message Date
Oliver Gierke
ab01028956 DATAJPA-226 - Test case failing to reproduce the issue. 2012-07-16 17:12:05 +02:00
manish-in-java
9a65aa4605 DATAJPA-186, DATAJPA-187 - Corrected typos in NamedQuery log output.
Change log level for one of the log messages in NamedQuery from INFO to WARN. This was done to provide more forceful information to the developer that sorting applied with named queries will be ignored.
2012-04-15 19:20:00 +02:00
Oliver Gierke
2973765342 Polished repositories section in pom.xml. 2012-03-22 09:25:40 +01:00
Oliver Gierke
731d577afb Moved to Spring dependency version ranges. 2012-03-01 10:56:10 +01:00
Spring Buildmaster
e9b8025c52 Next development version. 2012-02-08 11:09:46 -08:00
Spring Buildmaster
057b06162e Release version 1.0.3.RELEASE 2012-02-08 11:09:42 -08:00
Oliver Gierke
9045de997e DATAJPA-163 - Switched to release repository. 2012-02-08 19:57:15 +01:00
Oliver Gierke
da3251b54f DATAJPA-163 - Reference current core repo documentation. 2012-02-08 19:55:39 +01:00
Oliver Gierke
a818301e76 DATAJPA-163 - Updated changelog for 1.0.3. 2012-02-03 12:18:11 +01:00
Oliver Gierke
fdb2b40cc9 Consolidated repository declarations to use repo.springsource.org/libs-snapshot only. 2012-02-01 17:01:01 +01:00
Oliver Gierke
2ac8b13093 DATAJPA-160 - Removed versions from XSD schema references.
The fixed versions caused issues when used with newer versions of Spring. Removing the version number will cause the one used at runtime to be pulled in.
2012-01-31 17:07:56 +01:00
Oliver Gierke
5af865f1e5 DATAJPA-159 - Improved error message if building a PartTreeJpaQuery fails. 2012-01-31 13:35:29 +01:00
Oliver Gierke
e75441303e DATAJPA-138 - Make MergingPesistenceUnitManager work again.
Override isPersistenceUnitOverrideAllowed() newly introduced in Spring 3.1.1 to indicate we can deal with persistence units of the same name. For Spring 3.0.x versions the implementation was not broken.
2012-01-11 14:19:52 +01:00
Oliver Gierke
18358d2cf4 DATAJPA-133 - Updated changelog.txt. 2011-12-06 22:46:25 +01:00
Oliver Gierke
48df0c9307 DATAJPA-133 - Prepare 1.0.3 development branch. 2011-12-06 21:53:38 +01:00
Oliver Gierke
f8c7d3ffc7 DATAJPA-133 - Prepare 1.0.2.RELEASE. 2011-12-06 21:43:56 +01:00
Oliver Gierke
036b6afa73 DATAJPA-113 - Improved DI for QueryDslRepositorySupport.
Removed @Required annotation from the setter for EntityManager property. The annotation triggered a dependency check that was not aware of the EntityManager being injected by a PersistenceAnnotationBeanPostProcessor. As we already have a validation callback using @PostConstruct we can simply rely on the not-null check for the EntityManager being implemented there.
2011-12-03 01:53:22 +01:00
Oliver Gierke
75fd6bf23b DATAJPA-102 - Upgraded to Querydsl 2.2.5. 2011-12-03 01:42:11 +01:00
Oliver Gierke
ebca4ebdc4 DATAJPA-120 - Replaced @OneToOne with @ManyToOne in AbstractAuditable. 2011-12-02 17:38:54 +01:00
Oliver Gierke
6059ff40fe DATAJPA-115 - Upgraded to Querydsl 2.2.3. 2011-10-14 14:38:01 +02:00
Oliver Gierke
f482b0a51a DATAJPA-111 - Removed unnecessary em.clear() from mass delete methods. 2011-10-12 11:37:09 +02:00
Oliver Gierke
a25b3a331e DATAJPA-110 - Fixed alias detection for entity names containing numbers. 2011-10-11 18:25:41 +02:00
Oliver Gierke
aa8ca6bec8 DATAJPA-103 - Consolidate Expression creation for property references from method names and Order expressions. 2011-09-06 12:27:46 +02:00
Oliver Gierke
b1f5691373 DATADOC-99 - ParameterExpressionProvider now uses parameter type instead of handed in type if assignable.
JpaQueryCreator hands Comparable into ParameterExpressionProvider to create ParameterExpression instances for Comparables. The ParameterExpressionProvider in turn now inspects the actual Parameter type and hand this one into the builder in case it's assignable (read: more concrete) to the given type requested.
2011-09-06 11:55:50 +02:00
Oliver Gierke
a85c90b9fc DATAJPA-100 - Prepare development of 1.0.x line. 2011-09-05 14:35:18 +02:00
Oliver Gierke
e5d94df855 DATAJPA-100 - Prepare release of 1.0.1. 2011-09-05 14:01:48 +02:00
Oliver Gierke
8c00d39729 Reference documentation formatting of XMLEditor. 2011-09-05 13:13:03 +02:00
Oliver Gierke
cb3d062e29 DATAJPA-80, DATAJPA-91 - Updated reference documentation.
Mention PersistenceExceptionTranslator being activated when using the JPA namespace. Documented custom namespace attributes special to the JPA namespace.
2011-09-05 13:12:51 +02:00
Oliver Gierke
44e4f1289c DATAJPA-86 - Pagination over queries using group-by works correctly.
Added handling of count methods for queries using group by. In case the count query returns multiple results we use the number of results instead of failing. If the result contains one result we use this one.
2011-09-05 12:15:46 +02:00
Oliver Gierke
1abfa974f6 DATAJPA-81 - SimpleJpaRepository.exists(…) now projects to the id to prevent the entire object being read and mapped. 2011-09-05 12:15:46 +02:00
Oliver Gierke
98668b371c DATAJPA-96 - JpaQueryCreator now correctly resolves nested properties for all supported keywords.
Removed Part.toDotPath() references to create Expressions as they have to be atomic.
2011-09-05 12:15:46 +02:00
Oliver Gierke
ab727331cd DATAJPA-93 - Don't catch IllegalArgumentExceptions raised by missing domain class in JPA Metamodel.
We now don't catch an IllegalArgumentException being thrown in case a domain class is not found in the metamodel. If it occurs there's nothing we can do about it as we can't come up with an EntityInformation instance then and the persistence provider couldn't handle it anyway.
2011-09-05 12:15:37 +02:00
Oliver Gierke
493aa7ba02 DATAJPA-98 - Formatted sources with Spring Data Eclipse formatting settings. 2011-09-02 18:23:54 +02:00
Oliver Gierke
aed62ddb9b Fixed project title. 2011-09-02 18:23:54 +02:00
Phillip Webb
b8b88dd0ef DATAJPA-94 - Repository queries consider Sort instance in a Pageable again. 2011-09-02 18:23:54 +02:00
Oliver Gierke
fcb4992983 DATAJPA-90 - Refactored PartTreeJpaQuery to create new JpaQueryCreator on every query recreation.
Fixed potential concurrency problem for PartTree based query creation. JpaQueryCreator is stateful as we create a list of ParameterExpressions and iterate over them. So we have to re-instantiate the JpaQueryCreator to not create an exception on the second attempt. We now eagerly create CriteriaQuery and it's ParameterExpressions in QueryPreparer's constructor. Lazily doing so could let to exceptions accessing the ParameterExpressions in race conditions.
2011-09-02 18:23:54 +02:00
Phil Webb
23002ac505 DATAJPA-88 - Minor improvements to documentation. 2011-09-02 18:23:54 +02:00
Oliver Gierke
bc4ff86928 DATAJPA-79 - Reverted version of javax.annotation to 0.0.0 in template.mf. 2011-09-02 18:23:44 +02:00
Oliver Gierke
29bffe06e1 Fixed distribution name. 2011-09-02 16:54:54 +02:00
Oliver Gierke
e622aba687 Prepare 1.0.x development. 2011-09-02 16:54:46 +02:00
Oliver Gierke
c2e3984545 Prepare 1.0.0.RELEASE. 2011-07-21 20:28:41 +02:00
Oliver Gierke
00ece2c25e Polished codebase and added architecture management.
Added Sonargraph architecture description. Removed cyclic package dependency. Introduced JpaEntityInformationSupport to contain common getEntityName() method and serving as factory for JpaEntityInformation instances.
2011-07-21 12:20:18 +02:00
Oliver Gierke
14e8bd6955 Added package-info.java for support package. 2011-07-21 10:28:14 +02:00
Oliver Gierke
1f4dc248e4 Polished whitespace in readme.md. 2011-07-21 10:23:16 +02:00
Oliver Gierke
306a5ca1b8 Enable syntax highlighting in readme.md. 2011-07-21 10:21:50 +02:00
Oliver Gierke
fe50153747 Polished readme.md. 2011-07-21 10:16:41 +02:00
Oliver Gierke
7eed88de16 Updated changelog for 1.0 release. 2011-07-21 10:06:57 +02:00
Oliver Gierke
5d48968216 Polished pom.xml.
Updated source plugin to 2.1.2 and javadoc plugin 2.8. Added link to Spring Data Commons Javadocs. Fixed configuration of source plugin.
2011-07-21 09:56:30 +02:00
Oliver Gierke
a49bb4c8e4 Upgraded to Spring Data Commons 1.1.0.RC1. 2011-07-19 17:53:40 +02:00
Oliver Gierke
d0b7901ce8 DATAJPA-78 - Upgrade to Querydsl 2.2.0.
Upgraded to Querydsl 2.2.0. Added configuration to generate query classes for AbstractPersistable and AbstractAuditable. Package those query classes into the source JAR and compile it into the binary as well. Upgraded Mysema APT plugin to 1.0.2.
2011-07-19 17:25:47 +02:00