Commit Graph

1631 Commits

Author SHA1 Message Date
brmeyer 7b04acd4f4 HHH-7569 Merging test changes to master that were made only in 4.1
branch
2012-09-05 12:53:56 -05:00
Steve Ebersole 6a48cccd5d HHH-7568 - Add JPA1.0 compound key compatability when orm descriptor file used to override annotations. 2012-09-05 12:34:03 -05:00
Jeremy Whiting 961caf770a HHH-7568 Added test case to check removal of compound key association items. Changed the detection of JoinColumns to work when orm/hbm xml is used. Added change to configure a property when JoinColumns annotation is used on entity definition. 2012-09-05 12:06:31 -05:00
Steve Ebersole 40574b9d8a HHH-1123 - Cannot put more than 1000 elements in a InExpression 2012-09-05 11:29:13 -05:00
brmeyer 970bd8679e HHH-1123 Cannot put more than 1000 elements in a InExpression 2012-09-05 11:29:13 -05:00
Hardy Ferentschik d661c3823d HHH-7571 Adding failure expected annotations where needed 2012-09-05 16:29:53 +02:00
Shawn Clowater 6ac746fffc HHH-7308
Change the beforeCompletion() method of the TransactionObserver() to call the beforeTransactionCompletion() method regardless of whether or not the session is open like the afterCompletion() method does when calling the afterTransactionCompletion() and also cleaned up the log message around session having after transaction events as this sort of logging had been previously moved to the close() method of SessionImpl.
2012-09-05 09:23:24 -05:00
Hardy Ferentschik d14d18e40b HHH-7571 Minimal implementation of @ElementCollection details to pass AnnotationBasicCollectionBindingTests 2012-09-05 14:59:35 +02:00
Strong Liu 4fe75d5a09 HHH-7371 Natural-id: ObjectNotFoundException when found entity is marked as deleted 2012-09-05 17:22:19 +08:00
Strong Liu 8fa530a247 HHH-7300 - TypeDefs won't be found depending of files read-order 2012-09-05 17:06:40 +08:00
Guenther Demetz a043701de7 HHH-7059 The DerbyDialect deprecation warning should appear no more,
when using one of the version-specific dialects
2012-09-05 14:45:41 +08:00
nrodrigues 072e64d26a HHH-7532 - Override getForUpdateString with correct syntax 2012-09-05 14:29:25 +08:00
Dustin Schultz e8b2695289 HHH-7544
Fixes java.lang.VerifyError by building StackMapTables at appropriate
places.
2012-09-05 11:40:13 +08:00
Steve Ebersole 4e22fb9044 HHH-7566 - Activating JOIN fetch profile involving self-referential associations causes StackOverflowError 2012-09-04 16:08:28 -05:00
Steve Ebersole 54f4335416 HHH-7203 - IdentityGenerator fails with JOINED Inheritance when inserting entity to PosgtreSQL 2012-09-04 15:00:48 -05:00
Steve Ebersole 4450b127b2 HHH-7567 - Better checking when @Enumerated involved 2012-09-04 12:17:34 -05:00
Steve Ebersole 076eccb7a2 HHH-5188 - Use provided enum type ordinal/string when reading 2012-09-03 22:06:23 -05:00
Strong Liu fd6cacd6f4 HHH-7459 fixing org.hibernate.test.annotations.manytoone.referencedcolumnname.ManyToOneReferencedColumnNameTest, for now add a Failure expected annotation on it 2012-09-04 02:10:47 +08:00
Strong Liu 67e05c4467 HHH-7459 fixing org.hibernate.test.annotations.manytoone.referencedcolumnname.ManyToOneReferencedColumnNameTest, for now add a Failure expected annotation on it 2012-09-04 02:10:47 +08:00
Strong Liu 2a80caed2a HHH-7459 clean tests' import 2012-09-04 02:10:46 +08:00
Strong Liu 2a3e50b400 HHH-7459 fixing fail tests 2012-09-04 02:10:46 +08:00
Strong Liu 68491e57a9 HHH-7459 AnnotationUnidirectionalOneToManyBindingTests now pass 2012-09-04 02:10:46 +08:00
Strong Liu 94abb7ca0f HHH-7459 empty JoinColumnResolutionContext to make compiler happy 2012-09-04 02:10:46 +08:00
Strong Liu 1b69d460b3 HHH-7549 @OneToMany support 2012-09-04 02:10:46 +08:00
Strong Liu 550f19f3da HHH-7549 Simple refactor 2012-09-04 02:10:45 +08:00
Strong Liu 1f80861b16 HHH-7549 change AbstractUnidirectionalOneToManyBindingTests test to have same mapping on hbm and ann 2012-09-04 02:10:45 +08:00
Hardy Ferentschik 7ce0203155 Refactoring basic colletion binding test to run against hbm and annotations 2012-09-03 17:06:19 +02:00
Gail Badner eab658429f HHH-7549 @OneToMany support 2012-08-31 18:53:22 -07:00
Steve Ebersole ab64f5c3be HHH-7552 - New StrategySelectorService : initial auto-detection 2012-08-31 16:20:05 -05:00
Hardy Ferentschik d7fdf278df HHH-7322 Refactoring of unidirectional one to many test to cater for hbm and annotations
Adding some error handling in Binder for the case that not all configuration sources are added
Upgrading JBoss logging
2012-08-31 20:36:48 +02:00
Steve Ebersole 98ad44e75d HHH-7563 - Fallback for JBossAppServerJtaPlatform.locateUserTransaction() to look at "java:jboss" if "java:comp" not available 2012-08-31 11:22:07 -05:00
Didier Villevalois 8e30a2b86d HHH-7134 - Detection of wrong circularity when two tables with same name in different schemas
Fixes FKSecondPass processing to take catalog and schema in accounts. Corresponding test class is
org.hibernate.test.cfg.WrongCircularityDetectionTest.
2012-08-31 00:40:30 +08:00
Steve Ebersole 3e2be6a009 HHH-7557 - Map entries get deleted 2012-08-30 10:46:49 -05:00
Hardy Ferentschik 22d6c78a0d Rremoving a @FailureExpected by syncing the setup between hbm and annotation based configuration for AbstractBasicBindingTests 2012-08-30 17:44:40 +02:00
Steve Ebersole 759620cecb HHH-6823 - Short-name config values 2012-08-29 11:16:17 -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 d52a20a693 HHH-7552 - New StrategySelectorService : initial work 2012-08-27 15:18:21 -05:00
Strong Liu 289866968b HHH-7549 @OneToMany support 2012-08-28 01:37:52 +08:00
Hardy Ferentschik 5cdce758a8 HHH-7549 Moving test resources into src/test/resources 2012-08-27 14:38:47 +02:00
Hardy Ferentschik 5dcf91b082 HHH-7549 Removing some unnecessary System.out.println calls 2012-08-27 13:30:21 +02:00
Hardy Ferentschik 35279ceed6 HHH-7549 Adding FailureExpectedWithNewMetamodel were needed 2012-08-27 13:29:30 +02:00
Strong Liu 8ba7c31a86 HHH-7549 rollback changes to the xml namespace 2012-08-27 16:34:52 +08:00
Strong Liu 9bce5e0643 HHH-7549 @OneToMany support 2012-08-24 22:56:57 +08:00
Gail Badner 5327ac5396 HHH-7545 : Aliases for a collection key and element column can collide causing one to be excluded 2012-08-23 11:23:49 -07:00
Hardy Ferentschik 449389760f HHH-7503 Removing @FailureExpectedWithNewMetamodel since test is not passing. However, it does not really assert anything. 2012-08-23 18:51:31 +02:00
Hardy Ferentschik 10768032d6 HHH-7503 Determining the referenced type of a toMany association, ignoring static field attributes, implementing OneToManyPluralAttributeElementSource#PluralAttributeElementNature, updating tests 2012-08-23 18:51:31 +02:00
Hardy Ferentschik d541b9abff HHH-7503 Adding check for single table inheritance in which case the @NotNull constraint is not applied 2012-08-23 18:51:31 +02:00
Hardy Ferentschik 88d75b541d HHH-7503 removing applyDDL(EntityBinding entityBinding, Class<?> clazz, ValidatorFactory factory, Set<Class<?>> groups, Dialect dialect) and inlining the code 2012-08-23 18:51:31 +02:00
Hardy Ferentschik 914eaeb742 HHH-7503 formatting 2012-08-23 18:51:30 +02:00
Hardy Ferentschik 3ad46e5062 HHH-7503 Fixing wrong comparison - string w/ enum, instead of string w/ string 2012-08-23 18:51:30 +02:00
Hardy Ferentschik ba4eb0601c HHH-7503 Fixing typo 2012-08-23 18:51:30 +02:00
Hardy Ferentschik 088990cc78 HHH-7503 Formatting, no functional changes. Adding missing license header and removing '//$Id$' 2012-08-23 18:51:29 +02:00
Strong Liu 8e8d681c7e Merge branch 'master' into metamodel 2012-08-23 22:54:33 +08:00
Steve Ebersole 581f037dee HHH-7514 - Upgrade to Jandex 1.1 2012-08-22 17:35:35 -05:00
Steve Ebersole fd8a45b2b2 HHH-7514 - Upgrade to Jandex 1.1 2012-08-22 13:41:16 -05:00
Steve Ebersole 8c1923ee05 HHH-7540 - Allow integration hooks into all steps of building a SessionFactory 2012-08-22 12:46:15 -05:00
Hardy Ferentschik 54e7832a35 Removing @FailureExpectedWithNewMetamodel from class level of NativeSqlAndQuotedIdentifiersTest and placing them on #testBasicEntityMapping and #testExpandedEntityMapping directly 2012-08-21 18:29:02 +02:00
Steve Ebersole 4282e23caa HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : CDI (small test change) 2012-08-18 12:30:21 -05:00
Strong Liu a4d7df1e97 HHH-7530 Bind @Loader on collection 2012-08-17 19:35:59 +08:00
Strong Liu cee1fc8b20 HHH-7529 Bind @LazyCollection 2012-08-17 19:23:41 +08:00
Strong Liu 1c26ef34cc HHH-6109 bind sql result mapping and named query 2012-08-17 17:49:20 +08:00
Thomas Einwaller d252a141d0 https://hibernate.onjira.com/browse/HHH-3452
Statistics for Criteria Queries
2012-08-17 17:46:59 +08:00
Strong Liu cb394756c8 HHH-6109 bind sql result mapping and named query 2012-08-17 17:45:26 +08:00
Steve Ebersole 6b5a428b3f HHH-7527 - OSGI manifests for hibernate-orm : clean up org.hibernate.engine.spi package duplication between hem and core 2012-08-16 14:21:21 -05:00
Steve Ebersole 52336f4150 HHH-7524 - Enabling AvailableSettings.ENABLE_LAZY_LOAD_NO_TRANS results in leaking DB-connections 2012-08-16 11:28:41 -05:00
Steve Ebersole 5739392572 HHH-6823 - Short-name config values : transactions 2012-08-16 11:28:41 -05:00
Steve Ebersole d8651c3ba7 HHH-7524 - Enabling AvailableSettings.ENABLE_LAZY_LOAD_NO_TRANS results in leaking DB-connections 2012-08-15 10:51:47 -05:00
Steve Ebersole 9c148815d8 HHH-7472 - Introduce a "schema management" service : externalized exporters 2012-08-14 17:24:20 -05:00
Steve Ebersole d24f3e76f1 HHH-7472 - Introduce a "schema management" service : ordering of statements including ordering of auxiliary objects 2012-08-14 13:48:20 -05:00
Steve Ebersole cd480fbd2b HHH-7472 - Introduce a "schema management" service 2012-08-14 09:55:17 -05:00
Steve Ebersole 07973f29a2 HHH-7472 - Introduce a "schema management" service 2012-08-14 09:53:00 -05:00
Steve Ebersole 392f08fbd6 HHH-7472 - Introduce a "schema management" service 2012-08-13 17:49:10 -05:00
Steve Ebersole b38e160cba HHH-7521 - JBoss 7 / JPA 2.1 integration work 2012-08-13 11:47:21 -05:00
Steve Ebersole c782548172 HHH-7517 - Make sure new metamodel bindings create FK for joined inheritance 2012-08-09 13:34:58 -05:00
Strong Liu fae0d3f498 HHH-7509 NPE regression in second level cache 2012-08-09 14:55:02 +08:00
Scott Marlow 8e73bb056e HHH-7509 fix NPE in second level cache 2012-08-08 22:24:32 -04:00
Strong Liu 0068625ee7 HHH-7508 Debug logging throws MissingFormatArgumentException when using non standard Optimizer 2012-08-08 21:12:59 +08:00
Strong Liu 7a82349f75 HHH-7385 change to use gradle 1.1 2012-08-08 17:09:11 +08:00
Steve Ebersole 467258cffa HHH-7457 - Enable loading of collections thats been detached from session 2012-08-07 14:52:00 -05:00
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
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 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 66be75c631 HHH-7500 Adding @FailureExpectedWithNewMetamodel 2012-08-03 13:21:22 +02:00