Commit Graph

651 Commits

Author SHA1 Message Date
Lukasz Antoniak 456dfd83f9 HHH-7807 - Cascade delete revisions
Conflicts:
	documentation/src/main/docbook/devguide/en-US/Envers.xml
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java
2013-08-05 23:42:05 -04:00
Lukasz Antoniak dd1bec53fb HHH-8280 - Identifiers reuse option 2013-08-01 13:13:39 +02:00
Brett Meyer 3102edba8b HHH-8399 corrected javassist in hibernate-osgi test 2013-07-31 14:42:12 -04:00
Brett Meyer 33b7e9f441 HHH-8388 Updated OSGi quickstarts and unit test for JPA 1.0.0.Final 2013-07-30 11:58:46 -04:00
Strong Liu a9978a7c85 simple doc typo 2013-07-16 12:22:20 +08:00
Lukasz Antoniak f2d435ddc1 HHH-8174 - Envers support for @NotFound 2013-06-11 09:08:56 -07:00
Brett Meyer d283a6fc77 HHH-8112 Added additional caveats to OSGi devguide 2013-06-07 11:19:37 -04:00
Brett Meyer e2922ca5f5 HHH-8265 Documented the reasoning for importing o.h.proxy and
javassist.util.proxy in the quickstarts.  Added a load proxy test.
2013-06-05 18:44:06 -04:00
Brett Meyer adcd61f0e1 HHH-8112 quickstart tutorial chapter 2013-06-03 16:15:23 -04:00
Brett Meyer ab11440331 HHH-8112 osgi devguide 2013-06-03 16:15:16 -04:00
Brett Meyer 51834421c5 HHH-8273 Incorrect "unique-key" naming comment in docs 2013-05-25 20:29:09 -04:00
Brett Meyer ad103b1c30 HHH-8112 added note about JPA 2.1 Aries fork 2013-05-21 19:55:02 -04:00
Brett Meyer f2073113fc HHH-8112 removed variables from POMs -- not supported by docbook 2013-05-21 18:06:28 -04:00
Brett Meyer 04c8e8c87a HHH-8112 OSGi quickstart tutorial projects 2013-05-21 15:17:16 -04:00
Strong Liu 3e160b9343 HHH-8186 Typo in docs, Caching section nonstrict != nontrict 2013-04-16 12:41:24 +08:00
Lukasz Antoniak f2b9ab8278 HHH-8171 - Cleanup 2013-04-14 22:27:05 +02:00
Kristoffer Lundberg 4796553a3f HHH-8171 - SETORDINAL to support set of embeddables 2013-04-14 22:27:03 +02:00
Steve Ebersole 54bc9fbf9d HHH-8163 - Deprecate @IndexColumn and add @ListIndexBase 2013-04-10 12:26:33 -05:00
Lukasz Antoniak 5cc051e1df HHH-7944 - Separation of Envers API, SPI and internal packages 2013-04-08 14:43:29 +02:00
Strong Liu 1b05455d1e HHH-7667 docs 2013-03-28 11:32:06 +08:00
Strong Liu 06e3313f23 HHH-7746 - docs 2013-03-28 11:31:58 +08:00
Strong Liu 3c6f27a5dd HHH-7872 docs 2013-03-28 11:31:49 +08:00
Strong Liu 89fd64bc2e HHH-7978 - Document new feature from HHH-5869 2013-03-13 14:42:26 +08:00
Sanne Grinovero e5f8039f31 HHH-8044 Remove mention of unsupported cache providers from documentation 2013-03-02 20:35:49 +00:00
Lukasz Antoniak 51a7df596e HHH-6613 - Support for audited @ElementCollection 2013-02-28 13:22:14 +01:00
Aleksander Blomskøld e0cfc6bf2e HHH-6736 Added support for SELECT ... FOR UPDATE SKIP LOCKED 2013-02-20 08:49:30 -06:00
Steve Ebersole 6599f710bb HHH-7965 - Redesign DialectResolver contract 2013-02-03 14:23:59 -06:00
Lukasz Antoniak 3bb0f246fc HHH-465 - Support for NULLS FIRST/LAST
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/Settings.java
	hibernate-core/src/main/java/org/hibernate/criterion/Order.java
2013-01-28 14:07:53 -05:00
Strong Liu c1cf5cd6e6 HHH-7947 remove not maintained 2LC from doc 2013-01-28 13:30:38 +08:00
Kamyar Sajjadi 80128705fb Changed the URL to maven.apache.org insted of maven.org 2013-01-24 13:16:25 -05:00
Kamyar Sajjadi 234c491523 HHH-4562 - Fixed the typo in chapter 7.3.1. Added bigint after personId 2012-12-12 10:47:23 -05:00
Kamyar Sajjadi c0011f1cc6 HHH-5973 - Replaced , with + in AuditInterceptor.java and in events.xml 2012-12-12 10:39:31 -05:00
Kamyar Sajjadi 669ec5002f HHH-7029 - prependListeners changed to appendListeners in chapter 7.9.1. Integrator use-cases example 2012-12-12 10:39:18 -05:00
brmeyer d34e409f41 HHH-7811 grammar error in devguide for HB 2012-12-07 12:12:49 -05:00
Kamyar Sajjadi 47ddaad98d HHH-7813 - Fixed the mistakes in code examples. All the examples was in chapter 4 (Batch processing). 2012-12-07 12:04:43 -05:00
Lukasz Antoniak da32690828 HHH-7827 - Documentation 2012-12-05 10:27:37 +01:00
Steve Ebersole 1176477e6a HHH-7758 - Write fetching Developer Guide chapter on fetching 2012-11-06 00:38:56 -06:00
Steve Ebersole 094c08cd08 HHH-7575 - Hibernate Getting Started Guide refers to incorrect tutorial directory for annotations tutoral 2012-09-06 08:41:37 -05:00
Steve Ebersole 37542fe1f1 HHH-6823 - Short-name config values 2012-08-29 10:49:06 -05:00
Steve Ebersole 4ad49a02c9 HHH-7556 - Clean up packages 2012-08-28 14:12:15 -05:00
Steve Ebersole 5739392572 HHH-6823 - Short-name config values : transactions 2012-08-16 11:28:41 -05:00
Strong Liu 7a82349f75 HHH-7385 change to use gradle 1.1 2012-08-08 17:09:11 +08:00
Gail Badner 9a7d3ee81c HHH-7493 : Documentation still refers to dom4j as an entity mode 2012-08-08 00:32:35 -07:00
Martin Eisenhardt 886cf9157d Added missing word. 2012-06-05 12:23:14 +02:00
Martin Eisenhardt 95050f5d5a Fixed typo. 2012-06-04 11:59:23 +03:00
Strong Liu 99cd8455a1 HHH-7350 update the docs 2012-05-31 14:19:22 +08:00
Steve Ebersole 7ed87233a9 HHH-7306 - Allow use of CurrentTenantIdentifierResolver in normal session opening 2012-05-23 11:49:38 -05:00
Strong Liu d92e91bb4d HHH-7346 Tests fail on Postgresql due to failure in typecasts 2012-05-23 21:28:57 +08:00
Steve Ebersole a2a55d8ab6 HHH-7274 - Developer Guide reverses discussion of CMTTransactionFactory and JTATransactionFactory 2012-05-02 22:07:48 -05:00
Lukasz Antoniak cfa729d8b3 HHH-6790 - Sequence per entity for enhanced SequenceStyleGenerator 2012-04-21 12:32:42 +02:00
Lukasz Antoniak 95ec3457af HHH-7187 - Renaming and documenting enhanced revision entity 2012-04-19 23:49:41 +02:00
Strong Liu 5714a59e5e doc typo 2012-04-11 17:08:47 +08:00
Andre Azevedo 7ed63c282a Translating and correcting wrong white-spaces at the end of the string. 2012-04-10 16:50:38 +08:00
Baptiste Mathus 280751e118 transactionel -> transactionnel 2012-04-09 17:20:16 +08:00
Steve Ebersole 6193c73191 HHH-7221 - Document natural-id improvements as well as load-access APIs 2012-04-04 07:25:23 -05:00
Steve Ebersole 09538ec20d HHH-7221 - Document natural-id improvements as well as load-access APIs 2012-04-03 18:04:23 -05:00
Strong Liu d3b640cb75 HHH-7197 reimport imports 2012-03-26 16:17:45 +08:00
Strong Liu e4a82a0b6b HHH-7197 - update build scripts to not use deprecated gradle apis and change manual's xml declation to use doc namespace 2012-03-26 15:12:10 +08:00
Strong Liu 476fd2fca7 rollback org.jboss.pressgang: to 3.0.0 2012-03-15 22:04:57 +08:00
Strong Liu 2c85cbefa3 change org.jboss.pressgang:pressgang-jdocbook-style version to 3.0.1-SNAPSHOT, since there is no 3.0.0-SNAPSHOT available 2012-03-14 18:42:14 +08:00
Steve Ebersole 0e88fdd909 HHH-7153 - Update to newest jDocBook tool chain versions 2012-03-07 20:40:42 -06:00
Lukasz Antoniak 7c60f01f2d HHH-7106 - Fix, test and documentation 2012-03-03 10:27:35 +01:00
Steve Ebersole 7861fdee44 HHH-7067 - Update build to work with Gradle m8 2012-02-15 16:33:45 -06:00
Steve Ebersole 6702688c1f HHH-7011 - Document multi-tenancy 2012-02-07 08:14:58 -06:00
Steve Ebersole 40dc88e6c1 HHH-6082 - Incorporate EntityManager documentation into main dev guide 2012-02-07 00:29:42 -06:00
Steve Ebersole 30deb20ff1 HHH-6082 - Incorporate EntityManager documentation into main dev guide 2012-02-07 00:22:46 -06:00
Steve Ebersole 591364409e HHH-6082 - Incorporate EntityManager documentation into main dev guide 2012-02-07 00:22:46 -06:00
Steve Ebersole 102c31497b HHH-6082 - Incorporate EntityManager documentation into main dev guide 2012-02-07 00:22:46 -06:00
Steve Ebersole 8352ab39fb HHH-6082 - Incorporate EntityManager documentation into main dev guide 2012-02-07 00:22:45 -06:00
Steve Ebersole c4b7538ae3 HHH-6082 - Incorporate EntityManager documentation into main dev guide 2012-02-07 00:22:45 -06:00
Steve Ebersole c6fa7d3f23 HHH-6082 - Incorporate EntityManager documentation into main dev guide 2012-02-07 00:22:45 -06:00
Steve Ebersole 0e3cfbde55 HHH-6082 - Incorporate EntityManager documentation into main dev guide 2012-02-07 00:22:45 -06:00
Steve Ebersole 3cf41ee3dc HHH-6082 - Incorporate EntityManager documentation into main dev guide 2012-02-07 00:22:45 -06:00
Steve Ebersole 955f21eca9 HHH-6082 - Incorporate EntityManager documentation into main dev guide 2012-02-07 00:22:45 -06:00
Steve Ebersole 9b304942cc HHH-6082 - Integrate EntityManager documentation into dev guide 2012-02-07 00:22:45 -06:00
Steve Ebersole 2b356317ce HHH-7011 - Document multi-tenancy 2012-02-01 12:23:47 -06:00
Steve Ebersole feba0bf949 HHH-7011 - Document multi-tenancy 2012-02-01 12:22:06 -06:00
Steve Ebersole 8bead4f084 HHH-7011 - Document multi-tenancy 2012-01-31 19:59:37 -06:00
Steve Ebersole a2a1775c87 HHH-6656 - Document org.hibernate.service.classloading.spi.ClassLoaderService 2012-01-23 09:26:32 -06:00
Adam Warski a00f23c6f6 Merge remote-tracking branch 'origin/master'
Conflicts:
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/OneToOneNotOwningMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/ToOneIdMapper.java
2012-01-20 20:52:41 +01:00
Adam Warski b109633b66 HHH-6605: Merging changes by Michal Skowronek. Thanks! Merge remote-tracking branch 'mskowron/change_info'
Conflicts:
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/ComponentMetadataGenerator.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/MetadataTools.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/reader/AuditedPropertiesReader.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/ComponentPropertyMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/MultiPropertyMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/PropertyMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/SinglePropertyMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/SubclassPropertyMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/AbstractCollectionMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/OneToOneNotOwningMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/event/BaseEnversCollectionEventListener.java
	hibernate-envers/src/main/java/org/hibernate/envers/query/criteria/AuditProperty.java
	hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/AddWorkUnit.java
	hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/CollectionChangeWorkUnit.java
	hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/DelWorkUnit.java
	hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/FakeBidirectionalRelationWorkUnit.java
	hibernate-envers/src/main/java/org/hibernate/envers/tools/Tools.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/AbstractOneSessionTest.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/AbstractSessionTest.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/components/relations/ManyToOneInComponent.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/components/relations/NotAuditedManyToOneInComponent.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/components/relations/OneToManyInComponent.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/entityNames/singleAssociatedAudited/SingleDomainObjectToMultipleTablesTest.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/inheritance/joined/notownedrelation/NotOwnedBidirectional.java
2012-01-20 20:47:12 +01:00
Steve Ebersole fbc71652b8 HHH-6969 - Reference manual discusses removed SessionFactory.openSession(Interceptor) method 2012-01-13 15:51:35 -06:00
Steve Ebersole 7899d34ca4 Merge branch 'master' of github.com:hibernate/hibernate-core 2012-01-11 12:14:26 -06:00
Adam Warski ad65da80ed Adding a note that listeners are no longer needed in 4.x 2012-01-11 15:34:07 +01:00
Steve Ebersole 0481dad403 HHH-6657 - Document org.hibernate.integrator.spi.IntegratorService 2012-01-10 13:03:42 -06:00
lukasz-antoniak 0efd1dd886 Merge pull request #244 from lukasz-antoniak/HHH-4439
HHH-4439 - Override auditing behavior of properties defined in @MappedSuperclass
2012-01-09 12:43:45 -08:00
Steve Ebersole e0f7d8fb17 HHH-6933 - Developer's guide has strange markup in Chapter 1 2012-01-09 11:10:59 -06:00
Lukasz Antoniak 0a08780e13 HHH-4439 - Deprecate Audited.auditParents 2012-01-06 14:14:07 +01:00
Steve Ebersole f6dec69c8c HHH-6909 - "Getting Started Guide" example code cannot be run successfully 2011-12-30 12:15:23 -06:00
Lukasz Antoniak a49e02b239 HHH-4439 - Patch and test 2011-12-25 18:42:08 +01:00
Steve Ebersole d02864bac6 HHH-6903 - add building of hem and manual docs 2011-12-16 09:13:45 -06:00
Lukasz Antoniak 72b2af3b0a HHH-2403 - Documentation, formatting 2011-11-10 12:08:50 -06:00
Lukasz Antoniak 00e32f5e7f HHH-2403 - New configuration parameter, documentation 2011-11-10 12:08:50 -06:00
Strong Liu dbbb3cb0d3 some documentation improvements 2011-10-30 22:14:59 +08:00
Lukasz Antoniak cbbc786f18 HHH-6766 - Documentation 2011-10-26 23:15:14 +08:00
Strong Liu bdba5898c9 clean up imports 2011-10-24 16:26:37 +08:00
Michal Skowronek 07a0b2931c HHH-6605 - Added documentation for the Mod Flags feature 2011-10-11 20:19:44 +02:00
Lukasz Antoniak 45f3ced6da HHH-6696 - RevisionListener class configuration parameter 2011-09-29 20:50:07 +02:00
Steve Ebersole f4fa176255 HHH-6683 - Consolidate (consistency) building of service registries 2011-09-27 11:49:17 -05:00
Steve Ebersole 8c691d5fcd HHH-6663 - Proof/edit Services.xml in devguide 2011-09-27 11:04:16 -05:00
Steve Ebersole 4a3db930d6 HHH-6660 - Edit Transactions.xml in devguide 2011-09-27 11:04:16 -05:00
Steve Ebersole 1d0740484f HHH-6641 - Document services 2011-09-14 21:11:33 -05:00
Steve Ebersole 0fd15e1f37 HHH-6645 - Fix entity information 2011-09-13 20:15:03 -05:00
Steve Ebersole 9f214d8018 HHH-6640 - Add ability for Integrator to prepare ServiceRegistryBuilder and MetadataImplementor as part of lifecycle 2011-09-13 18:46:28 -05:00
Steve Ebersole 050e42fb51 HHH-6641 - Document services 2011-09-08 17:11:29 -05:00
Steve Ebersole f4506a4fd9 HHH-6641 - Document services 2011-09-08 16:51:28 -05:00
Steve Ebersole db7cdb95a8 HHH-6641 - Document services 2011-09-08 16:41:40 -05:00
Alex Snaps b2cae5b120 HHH-5478 Updated docs for ehcache transactional & clustered support 2011-07-19 13:42:46 +02:00
Alex Snaps f62e5256c1 HHH-5478 Adapted to new FQCN and added reference to cluster support 2011-07-19 13:42:46 +02:00
Strong Liu e8b682b405 HHH-6386 sybase improvement 2011-07-05 12:32:42 +08:00
Adam Warski 913f95f8df Merge pull request #114 from lukasz-antoniak/HHH-5580-v1.2
HHH-5580 - Moving query API
2011-06-30 23:47:13 -07:00
Adam Warski 33a4694fea HHH-5917: improving documentation 2011-06-29 18:27:35 +02:00
Adam Warski 9129cf38ce Merge pull request #112 from lukasz-antoniak/HHH-5917
HHH-5917 - Adding @Audited(auditedParents={classes})
2011-06-29 09:19:19 -07:00
Lukasz Antoniak 1f0149378b HHH-5580 - Renaming EntitiesChangedInRevisionManager to CrossTypeRevisionChangesReader 2011-06-29 09:28:35 +02:00
Lukasz Antoniak 1c1e333487 HHH-5917 - Split test cases and updated documentation 2011-06-27 21:52:40 +02:00
Lukasz Antoniak 587c228973 HHH-5580 - Moving queries from AuditReader to EntitiesChangedInRevisionManager 2011-06-26 12:46:10 +02:00
Lukasz Antoniak 13c9fd4f9d HHH-5580 - Persisting entity name by default 2011-06-12 13:55:00 +02:00
Strong Liu 92ad3eed80 HHH-6297 remove legacy cache api 2011-06-09 12:18:59 +08:00
adamw 945d9376a2 HHH-6078: documenting how to implement conditional auditing 2011-06-02 15:25:18 +02:00
adamw 789bf60427 HHH-5580: some documentation fixes 2011-06-02 11:07:11 +02:00
adamw f865be9739 Merge branch 'HHH-5580-POC' of git://github.com/lukasz-antoniak/hibernate-core
Conflicts:
	hibernate-envers/src/main/java/org/hibernate/envers/reader/AuditReaderImpl.java
2011-06-02 10:00:36 +02:00
Lukasz Antoniak 4022571196 HHH-5580 - Naming and EntitiesModifiedAtRevisionQuery tests 2011-05-28 17:01:26 +02:00
Lukasz Antoniak c2e53061f2 HHH-5580 - Cleanup 2011-05-21 12:49:37 +02:00
Lukasz Antoniak 1878b23850 HHH-5580 - Naming 2011-05-16 19:18:30 +02:00
Lukasz Antoniak b36b095c3c HHH-5580 - Refactoring 2011-05-14 23:47:34 +02:00
Lukasz Antoniak d1e092b471 HHH-5580 - Documentation update 2011-05-07 23:23:15 +02:00
Steve Ebersole 360317eedf HHH-6200 - Split org.hibernate.hql package into api/spi/internal 2011-05-04 18:49:35 -05:00
Steve Ebersole 4ee0d4237d HHH-6198 - Split org.hibernate.event package into api/spi/internal 2011-05-04 18:20:53 -05:00
Steve Ebersole 3090fe9c1d HHH-6193 - Split org.hibernate.context package into api/spi/internal 2011-05-04 15:25:39 -05:00
Steve Ebersole c930ebcd7d HHH-6191 - repackage org.hibernate.cache per api/spi/internal split 2011-05-04 14:43:04 -05:00
Steve Ebersole 33b33ca7dc HHH-5652 - Create "Take It Further" tasks for the JPA chapter of the GSG 2011-05-04 09:20:57 -05:00
Steve Ebersole a1974db607 HHH-5887 - Document typo hibernate.hbm2ddl.import_files 2011-05-04 08:55:26 -05:00
Lukasz Antoniak 98342a7e2d HHH-5580 - Tracking entity names in revision 2011-04-27 23:49:22 +02:00
Steve Ebersole 70d2e3848b HHH-6082 - Incorporate EntityManager documentation into main dev guide 2011-04-19 08:50:31 -05:00
Steve Ebersole 28a3e38f7a HHH-6073 2011-04-19 08:50:31 -05:00
Steve Ebersole 5c4f817255 HHH-6082 - Incorporate EntityManager documentation into main dev guide 2011-04-19 08:50:31 -05:00
Steve Ebersole 6504cb6d78 HHH-6098 - Slight naming changes in regards to new logging classes 2011-04-08 09:44:13 -05:00
Steve Ebersole a616a83d8e HHH-6097 - Review log levels, especially related to i18n messages 2011-04-07 12:50:06 -05:00
adamw 33cc3f3f62 HHH-6036: Removing old Envers docs 2011-03-31 15:59:36 +02:00
adamw e71762a313 HHH-6036: Adding a basics chapter to introduce Envers concepts 2011-03-31 15:50:28 +02:00
adamw e9c555b214 HHH-6036: As the Envers docs are merged into the dev guide adding me as one of the authors :) 2011-03-31 14:35:44 +02:00
adamw ce4faca528 HHH-6036: Moving the "links" chapter of Envers docs 2011-03-31 14:31:11 +02:00
adamw 02e06265e8 HHH-6036: Moving the "configuration" chapter of Envers docs - creating a new section on Envers mapping annotations 2011-03-31 14:27:41 +02:00
adamw e72fa13bd4 HHH-6036: Some corrections to the "revision log" chapter of Envers docs 2011-03-31 14:16:13 +02:00
adamw a16177035a HHH-6036: Moving the "query" chapter of Envers docs 2011-03-31 14:02:36 +02:00
adamw 9758c63354 HHH-6036: Moving the "schema" and "tables" chapters of Envers docs 2011-03-31 13:57:34 +02:00
adamw 6c7ec667a0 HHH-6036: Moving the "partitioning" chapter of Envers docs 2011-03-31 13:53:47 +02:00
adamw 61bd52fb34 HHH-6036: Moving the "mapping exceptions" chapter of Envers docs 2011-03-31 13:49:44 +02:00
David Mansfield 5b5ec673b4 HHH-3646 - documentation for Criteria query of collection-of-component and collection-of-scalar functionality 2011-03-30 12:23:20 -05:00
David Mansfield 90fdca9053 HHH-3646 - throw a better exception when criteria is placed directly on component
In the CriteriaQueryTranslator, we process the path given by
a SubCriteria object looking for the entity name for the property. If
the SubCriteria was mistakenly created on a component type, we will exit
the loop using the owning entity, and will eventually end up failing
(throwing an exception) trying to lookup up the restricted property
against the entity, instead of against the component. Fix this by
throwing a more informative exception, and modify the documentation to
be explicit about how to do this properly.
2011-03-30 12:23:20 -05:00