Commit Graph

4479 Commits

Author SHA1 Message Date
Ståle W. Pedersen a1c9ed7756 HHH-7457
enabled hibernate to reattach a collection that hasnt been loaded to the session.
note: this can cause data to be loaded outside a transaction. use with caution.
2012-08-07 14:52:00 -05:00
Steve Ebersole a385792178 HHH-7305 - NPE in LogicalConnectionImpl when multi tenancy is used without providing a release mode manually 2012-08-07 14:03:56 -05:00
Lukasz Antoniak 9aa88b9a24 HHH-7157 - Fix and test 2012-08-07 19:07:56 +02:00
Steve Ebersole 5c986ab59f HHH-7472 - Introduce a "schema management" service 2012-08-07 10:40:20 -05:00
Strong Liu d0e13b664a HHH-7108 HHH-6608 2012-08-07 15:08:23 +08:00
Steve Ebersole 45118e729d HHH-7502 - Problems with multi-tenancy and 2nd level cache 2012-08-06 18:26:22 -05:00
Steve Ebersole 481e427fbc HHH-7472 - Introduce a "schema management" service 2012-08-06 17:34:33 -05:00
Strong Liu 7f10972048 HHH-2808 CLONE -Impossible to define caching for a subclass's collection in hibernate.cgf.xml 2012-08-06 14:37:27 +08:00
Tair Sabirgaliev 1ec1254bab Test: order of <mapping .../> affects caching configuration 2012-08-06 13:22:30 +08:00
Strong Liu c9d6d61adf HHH-7446 bug-fix 2012-08-06 13:08:24 +08:00
Guenther Demetz 8b9f171a03 HHH-7446 bug-fix 2012-08-06 13:05:16 +08:00
Guenther Demetz 7673092426 HHH-5281 test-case 2012-08-06 13:05:16 +08:00
Strong Liu 420cec8c7a fix unique annotations parse issue, was a typo 2012-08-06 12:50:04 +08:00
Hardy Ferentschik 0f9a83611e HHH-7470 Applying constraints in new metamodel 2012-08-04 02:15:58 +02:00
Hardy Ferentschik 54b5ccf875 HHH-7470 Starting to apply constraints using the new metamodel.
Refactoring TypeSafeActivator#validateFactory
2012-08-04 02:15:57 +02:00
Hardy Ferentschik c9d42fa64e HHH-7470 Making the code more readable 2012-08-04 02:15:57 +02:00
Hardy Ferentschik 8ed8f34544 HHH-7470 Formatting 2012-08-04 02:15:57 +02:00
Hardy Ferentschik 389e8d01d6 HHH-7470 Introducing interface SchemaConstraint and add implementations for the constraints used in TypeSafeActivator 2012-08-04 02:15:57 +02:00
Gail Badner d631bf6342 HHH-7500 : Update to make VersionedLobTest assertions determinate 2012-08-03 13:55:01 -07:00
Hardy Ferentschik 0ad058f69f HHH-6315 Removing slf4j dependency and upgrading Validator version 2012-08-03 16:20:16 +02:00
Hardy Ferentschik 90c0791e03 HHH-7500 Commenting out a @FailureExpected. It seems that w/ the new metamodel the failure does not occur 2012-08-03 13:25:33 +02:00
Hardy Ferentschik c62789ff62 HHH-7500 Using logger instead of system out 2012-08-03 13:23:11 +02:00
Hardy Ferentschik 66be75c631 HHH-7500 Adding @FailureExpectedWithNewMetamodel 2012-08-03 13:21:22 +02:00
Hardy Ferentschik bd64a464f8 HHH-7500 Using BaseAnnotationBindingTest as base for the test. This way @FailureExpectedWithNewMetamodel takes effect 2012-08-03 13:20:15 +02:00
Hardy Ferentschik bdd8d49b6a HHH-7500 Using BaseAnnotationBindingTest as base for the test. This way @FailureExpectedWithNewMetamodel takes effect 2012-08-03 13:19:57 +02:00
Hardy Ferentschik 39f509e886 HHH-7500 Moving BaseAnnotationBindingTest into the testing module. This way it can be reused by other annotation based tests 2012-08-03 13:18:37 +02:00
Gail Badner f79001e675 HHH-7500 HHH-7497 : Use new metamodel and validate expected failures by default; add/remove @FailureExpectedWithNewMetamodel as necessary 2012-08-03 00:28:11 -07:00
Hardy Ferentschik 18a255a0e0 HHH-6285 Adding test case 2012-08-02 16:46:43 +02:00
Hardy Ferentschik 28c52727b4 HHH-7484 Moving EntityHierarchyBuilder into the util subpackage 2012-08-02 16:11:46 +02:00
Hardy Ferentschik 4ddf38f751 HHH-7484 Make sure id attributes are overridable as well 2012-08-02 15:39:49 +02:00
Hardy Ferentschik 50d9189b9d HHH-7484 Transparently indexing all super types of configured classes to match behavior of old Configuration 2012-08-02 15:18:43 +02:00
Hardy Ferentschik 43c1e0465f HHH-7484 Taking care of attribute overrides and re-enabling MappedSuperclassTest 2012-08-02 13:35:51 +02:00
Hardy Ferentschik eb7608cd1b HHH-7484 Separating the org.hibernate.metamodel.spi.source implementations from the model build in org.hibernate.metamodel.internal.source.annotations.entity and org.hibernate.metamodel.internal.source.annotations.attribute 2012-08-02 13:35:50 +02:00
Hardy Ferentschik ddaf155423 HHH-7484 Making sure the mapped super class list is initalized 2012-08-02 13:35:50 +02:00
Hardy Ferentschik 449d020d04 HHH-7484 Creating a dedicated RootEntityClass 2012-08-02 13:35:50 +02:00
Eric Dalquist 8de0f9e875 HHH-7468 Recreate toString value holder after deserialization 2012-08-02 13:30:21 +08:00
Gail Badner 4ae8280e97 HHH-7497 : Remove @FailureExpectedWithNewMetamodel from tests that succeed without it 2012-08-01 16:11:36 -07:00
Gail Badner 8c623005fc HHH-7497 : Remove @FailureExpectedWithNewMetamodel from tests that succeed without it 2012-08-01 13:20:21 -07:00
Hardy Ferentschik c4b0a58f55 HHH-7484 Introducing a MappedSuperclass (just used as a marker atm) and added special constructor for root entity.
Fixed handling of discriminator column. If there are no subclasses and the discriminator column is not forced no column should be generated
2012-08-01 13:51:42 +02:00
Hardy Ferentschik d6bb126c04 HHH-7484 Formatting 2012-08-01 13:37:52 +02:00
Hardy Ferentschik 57be2cfff0 HHH-7484 Removing unnecessary ColumnSourceImpl#resolveColumnName 2012-08-01 13:37:52 +02:00
Hardy Ferentschik d8c4c266df HHH-7484 Setting the default value for column definition to null instead of empty string 2012-08-01 13:37:52 +02:00
Hardy Ferentschik 8dfa264df1 HHH-7484 Import cleanup 2012-08-01 13:37:52 +02:00
Hardy Ferentschik e2dfecc1b1 HHH-7484 Starting to add support for mapped superclasses 2012-08-01 13:37:52 +02:00
Hardy Ferentschik a5f64e2d03 HHH-7484 typo 2012-08-01 13:37:51 +02:00
Hardy Ferentschik 672368931f HHH-7484 Removing obsolete //$Id$ and adding missing license headers (no functional changes) 2012-08-01 13:37:51 +02:00
Strong Liu 7f3ad01b50 HHH-7495 HHH-7492 Move RegionFactory to session factory scope service registry 2012-08-01 04:28:55 +08:00
Strong Liu 9632e010e8 HHH-7492 - fixing test failures caused by some configuration is not applied to metamodel 2012-07-31 15:08:19 +08:00
Strong Liu 5562a981ac HHH-7492 - fixing test failures caused by some configuration is not applied to metamodel 2012-07-31 15:02:52 +08:00
Strong Liu 60aad81c23 HHH-7491 fix test failures caused by natural id cache access strategy is not exposed to the persister 2012-07-31 04:03:14 +08:00