Commit Graph

1439 Commits

Author SHA1 Message Date
Sanne Grinovero 29ad8e9cb9 HHH-7633 Cache System#identity for IdentityMap reuse 2012-09-21 14:46:25 +02:00
Steve Ebersole f85e9247e9 HHH-7631 - Improve performance of UpdateTimestampsCache 2012-09-21 07:02:16 -05:00
Steve Ebersole a8a3f9b112 HHH-7626 - Add javadoc to annotations 2012-09-20 10:04:27 -05:00
Steve Ebersole d0f88347af HHH-7620 - allow ValidatorFactory to be passed into EntityManagerFactoryBuilder : reordered EMF builder processing to better allow late ValidatorFactory and DataSource (HHH-7621) passing 2012-09-20 05:40:15 -05:00
Shawn Clowater 35b9a9d785 HHH-7603 Changed AbstractPersistentCollection so that it would behave in a similar manner as 4.1.6 when using the default lazy load behavior for collections. With the changes for HHH-7603 the AbstractPersistentCollection was throwing a NPE instead of a LIE in a very particular case.
Added test that simulates a use case from Hibernate Search 4.1.1 as far as I can tell.
2012-09-20 01:51:58 -04:00
Ivan Sopov 8462677f53 fix for HHH-7487 org.hibernate.type.EnumType incorrectly logs binded values, trace logging was done as it is done in BasicBinder with the String.format 2012-09-20 01:40:22 -04:00
brmeyer 500e0222b5 HHH-6972 Support PostgreSQL and Oracle LOBs 2012-09-20 01:24:02 -04:00
Sergiu Dumitriu 54fdb87d30 HHH-7541: When using HSQLDB, inserting any CLOB value larger than 16Mb always fails with an exception
Fixed.
2012-09-19 10:04:23 -04:00
brmeyer 7d5ece822c HHH-7309 Natural-id not cached in shared cache after insert 2012-09-19 08:34:55 -04:00
Guenther Demetz a176931349 HHH-7309 bug-fix 2012-09-19 08:25:38 -04:00
Guenther Demetz 7c218bbe11 HHH-7309 testcase 2012-09-19 08:25:37 -04:00
brmeyer 6660d2412a HHH-7569 Correct test-only failures in hibernate-core-master-matrix CI
job
2012-09-19 05:24:51 -04:00
brmeyer 8c58af3b19 HHH-6972 Support PostgreSQL and Oracle LOBs 2012-09-19 04:19:09 -04:00
brmeyer cb60b0259c HHH-6682 add support for oracle "bitand" function to Oracle Dialect 2012-09-18 01:33:41 -04:00
brmeyer 9f720b2d73 HHH-4635 Oracle ORA-24816 inserting and updating data for entities
containg LOB attributes
2012-09-18 01:20:42 -04:00
brmeyer 6a5bd555de HHH-6682 add support for oracle "bitand" function to Oracle Dialect 2012-09-17 06:00:19 -04:00
brmeyer 9f7f572490 HHH-6452 PostgreSQL Dialect does not fully implement NOWAIT locking 2012-09-17 03:54:36 -04:00
Emmanuel Bernard b040866c2c HHH-7597 Small error in AvailableSettings JavaDoc 2012-09-14 11:05:22 +02:00
Gail Badner 3a72b45325 HHH-1283 : Join fetched collections using Query.scroll() is correct only for first entity 2012-09-13 12:30:15 -07:00
Gail Badner 8eb7d8cf64 HHH-1283 : Join fetched collections using Query.scroll() is correct only for first entity 2012-09-12 23:46:50 -07:00
brmeyer 04ed36bf0a HHH-7586 Re-architect Type or TypeFactory dynamic descriptors 2012-09-11 18:30:13 -04:00
brmeyer 7ce07642cb HHH-7586 Re-architect SimpleValue's reflection for dynamic descriptors 2012-09-11 18:30:12 -04:00
brmeyer 69bcccaa1a HHH-7584 Sybase dialects attempting to use BLOB types 2012-09-11 18:30:11 -04:00
brmeyer 5306dda1c9 HHH-7569 Correct multiple failures/issues in
hibernate-core-master-matrix CI job
2012-09-11 18:30:10 -04:00
brmeyer ae59da9322 HHH-7569 Turned down AST logging due to stackoverflow 2012-09-11 18:30:09 -04:00
brmeyer f63b0c5f69 HHH-7569 Correct multiple failures/issues in
hibernate-core-master-matrix CI job
2012-09-11 18:30:07 -04:00
brmeyer 86deac49f7 HHH-7579 Oracle does not support "unique not null" 2012-09-11 18:30:06 -04:00
brmeyer 1a3199bfa8 HHH-5376 Tests contain invalid SQL 2012-09-11 18:30:05 -04:00
brmeyer c3861c6b33 HHH-7578 Sybase does not support "unique not null" 2012-09-11 18:30:04 -04:00
brmeyer 588d4be45b HHH-7577 Dialect's supportsNotNullUnique not working when false 2012-09-11 18:30:03 -04:00
Gail Badner cb1069a3d3 HHH-1283 : Added tests that reproduce the issue 2012-09-11 14:35:07 -07:00
Steve Ebersole 7b486fc4a4 HHH-1658 - unexpected AST node on HQL UPDATE 2012-09-07 12:03:48 -05:00
Steve Ebersole e9bd0afe81 HHH-1658 - unexpected AST node on HQL UPDATE 2012-09-07 12:01:41 -05:00
John Hardin 7e0559ecdb HHH-7398 -- Added testTimeout() and modified AbstractBatchImpl.buildBatchStatement() accordingly. 2012-09-05 14:04:52 -05:00
brmeyer 8b632c214d HHH-4394 Added test case 2012-09-05 13:43:05 -05:00
brmeyer 42de7604f8 Fix for HHH-7545 was missing a session close -- caused exception in 3.3
backport.
2012-09-05 13:43:04 -05:00
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
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
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
Steve Ebersole ab64f5c3be HHH-7552 - New StrategySelectorService : initial auto-detection 2012-08-31 16:20:05 -05: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
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
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
Steve Ebersole fd8a45b2b2 HHH-7514 - Upgrade to Jandex 1.1 2012-08-22 13:41:16 -05: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
Thomas Einwaller d252a141d0 https://hibernate.onjira.com/browse/HHH-3452
Statistics for Criteria Queries
2012-08-17 17:46:59 +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 cd480fbd2b HHH-7472 - Introduce a "schema management" service 2012-08-14 09:55:17 -05:00
Steve Ebersole b38e160cba HHH-7521 - JBoss 7 / JPA 2.1 integration work 2012-08-13 11:47:21 -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
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
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
Eric Dalquist 8de0f9e875 HHH-7468 Recreate toString value holder after deserialization 2012-08-02 13:30:21 +08:00
Lukasz Antoniak 9c859d0432 HHH-6662 - More descriptive test names 2012-07-26 06:53:54 +02:00
Lukasz Antoniak 414e6111a8 HHH-6662, HHH-7445 - Fix and test 2012-07-25 23:23:17 +02:00
Steve Ebersole 183c914f57 HHH-6204 - JoinColumn on non key field fails to populate collection 2012-07-24 14:59:27 -05:00
Steve Ebersole 6a65c3e7e6 HHH-7451 - Integrate Draft 7 of the JPA 2.1 spec : SynchronizationType 2012-07-18 17:48:59 -05:00
Steve Ebersole f8d06216e5 HHH-7451 - Integrate Draft 7 of the JPA 2.1 spec : criterias 2012-07-18 17:48:59 -05:00
Steve Ebersole 219707df1d HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : REF_CURSOR param handling 2012-07-18 17:48:59 -05:00
Steve Ebersole cb13cea1ac HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec + HEM boot cleanup (HHH-6159) 2012-07-18 17:48:59 -05:00
Steve Ebersole 9ce3afd8da HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : AttributeConverter + HEM boot cleanup (HHH-6159) 2012-07-18 17:03:09 -05:00
Steve Ebersole ad2a9ef651 HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : AttributeConverter 2012-07-18 17:00:20 -05:00
Steve Ebersole 153eb4a913 HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : stored procedure queries 2012-07-18 17:00:19 -05:00
Steve Ebersole 4174c14675 HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : UPDATE/DELETE criterias 2012-07-18 16:52:33 -05:00
Steve Ebersole 2adab60d15 HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : TREAT 2012-07-18 16:52:32 -05:00
Steve Ebersole 8b87ae8830 HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : FUNCTION keyword 2012-07-18 16:52:32 -05:00
Steve Ebersole 0a37440431 HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : ON keyword 2012-07-18 16:52:32 -05:00
Steve Ebersole 3edb72db48 HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : addNamedQuery support 2012-07-18 16:52:32 -05:00
Strong Liu ab708a7ed9 HHH-2394 remove last comma in the array, seems some jdks do not support it 2012-07-12 23:55:17 +08:00
Strong Liu cef5f9a7cd HHH-2394 Add support for SqlFragmentAlias.entity element 2012-07-12 23:30:01 +08:00
Rob Worsnop 5cb8d3a8b3 HHH-2394 Add support for SqlFragmentAlias.entity element 2012-07-12 22:59:22 +08:00
Rob Worsnop 82c99ccf6f HHH-2394 Removed unused imports 2012-07-12 22:59:22 +08:00
Rob Worsnop 542bc5c83c HHH-2394 Allowed usage of {alias} marker. 2012-07-12 22:59:22 +08:00
Rob Worsnop 1cd8db2ac3 HHH-2394 Got filters working with secondary tables 2012-07-12 22:59:21 +08:00
Rob Worsnop 05dcc209ae HHH-2394 Implemented @SqlFragmentAlias 2012-07-12 22:58:11 +08:00
Rob Worsnop cfe7db063a consolidate src/test and src/matrix 2012-07-12 22:58:11 +08:00
Rob Worsnop dc4e87340d HHH-2394 refactored unit tests 2012-07-12 22:58:11 +08:00
Rob Worsnop 2aa89290f7 HHH-2394 Added test cases 2012-07-12 22:58:11 +08:00
Rob Worsnop 09547a9051 HHH-2394 Remove conditions that blocked filters on sub-classes (for annotations) 2012-07-12 22:58:10 +08:00
Rob Worsnop 63f2639101 HHH-2394 Derive table name from correct filter (fixed typo) 2012-07-12 22:58:10 +08:00
Rob Worsnop ee01d80677 HHH-2394 Prefixes won't work; need table set explicitly 2012-07-12 22:58:10 +08:00
Rob Worsnop dbff4c1839 HHH-2394 Got filters working on sub-classes. 2012-07-12 22:58:09 +08:00
Strong Liu 1d2877838b HHH-7447 ValueHolder used in NaturalIdCacheKey is not Serializable 2012-07-12 22:53:07 +08:00
Strong Liu 9324c7ab1e HHH-7447 ValueHolder used in NaturalIdCacheKey is not Serializable 2012-07-12 22:38:39 +08:00
Strong Liu 97ac8311d4 HHH-7426 Setting cacheable='true' in orm.xml does not enable caching of entity in 2lc 2012-07-12 15:00:44 +08:00
Lukasz Antoniak c46daa4cf0 HHH-7440, HHH-7368, HHH-7369, HHH-7370 - Redesign dialect-specific LIMIT clause appliance 2012-07-10 21:19:32 +02:00
Strong Liu 65d1724433 HHH-7310 Resolution of types registered in type registry does not work properly for Properties of @Embeddable types 2012-07-11 01:21:46 +08:00
Philippe Marschall 3e4786220c HHH-5929 PooledLoOptimizer is not thread-safe
All Optimizers in OptimizerFactory are thread safe by having the
 #generate(AccessCallback) method synchronized. The only exception is
PooledLoOptimizer who's #generate(AccessCallback) method is not
synchronized.

 - make PooledLoOptimizer#generate(AccessCallback) synchronized

 https://hibernate.onjira.com/browse/HHH-5929
 https://hibernate.onjira.com/browse/HHH-6829
2012-07-11 00:29:32 +08:00
Strong Liu a86997c7ba HHH-7442 rename org.hibernate.internal.util.Value 2012-07-10 23:28:20 +08:00
Strong Liu 507e609176 HHH-7431 Reduce NaturalIdCacheKey Memory Footprint 2012-07-10 23:10:34 +08:00
Eric Dalquist a92d402cc5 HHH-7431 Don't pre-calc toString
Remove toString pre-calculation to avoid excess memory usage.
2012-07-06 11:15:17 -05:00
Steve Ebersole d51a0d0c78 HHH-4394 - @OrderBy usage on a joined classes (when using join table) produces incorred SQL syntax. 2012-06-15 17:13:42 -05:00
Lukasz Antoniak 41bac11115 HHH-7311 - Fix and test 2012-06-12 07:22:49 +02:00
Strong Liu 1f78c9685e HHH-7382 refact: unify the configuration implementation loading strategy 2012-06-12 01:12:37 +08:00
Strong Liu 74b9ebc09a HHH-7381 license header 2012-06-11 21:54:39 +08:00
Strong Liu 451dcd5f19 HHH-7381 Refact: split CacheImpl from SessionFactoryImpl into a session factory scope service 2012-06-11 21:53:42 +08:00
Strong Liu aac6510098 HHH-7380 bug when initialize MULTI_TENANT_IDENTIFIER_RESOLVER and CUSTOM_ENTITY_DIRTINESS_STRATEGY 2012-06-11 17:46:54 +08:00
Steve Ebersole 0196ad20f8 consolidate src/test and src/matrix 2012-06-07 14:07:08 -05:00
Steve Ebersole 67c5000885 HHH-7374 - Support KEY, ENTRY and VALUE qualifiers in WHERE clause 2012-06-06 17:22:58 -05:00
Strong Liu ab8930d925 HHH-7298 sybase ase 15.7 doesn't support lock timeout in statement level 2012-06-04 11:00:11 +08:00
Steve Ebersole e26b8be6a5 HHH-6707 - One-to-One mapping with foreign key in target table and foreign key being the primary key fails with Oracle 2012-06-01 11:59:42 -05:00
Strong Liu c02de61f24 HHH-7298 seems DB2 do not support set lock timeout from statement level 2012-06-01 17:31:43 +08:00
Strong Liu 0996a970ab HHH-7298 org.hibernate.test.dialect.functional.SQLServerDialectTest#testLockNowaitSqlServer catches wrong exception 2012-06-01 15:52:00 +08:00
Strong Liu c0b4b7a577 HHH-7298 regression, org.hibernate.ejb.test.lock.LockTest 2012-05-31 18:58:00 +08:00
Strong Liu ba5a139bd1 HHH-5396 JPQL KEY(), ENTRY() and VALUE() does not recognize alias refs 2012-05-31 11:17:16 +08:00
Steve Ebersole 44fcd0a156 HHH-5396 - JPQL KEY(), ENTRY() and VALUE() does not recognize alias refs 2012-05-30 16:22:29 -05:00
Strong Liu 2b213dabc3 HHH-7298 regression, org.hibernate.ejb.test.lock.LockTest 2012-05-31 01:11:29 +08:00
Shawn Clowater 29103357a9 HHH-7292 - Changed the EntityEntry to check the CustomDirtynessStrategy first to determine if the entity needs to continue with the dirty check. Previously if the entity had mutable properties then it would bypass the custom dirty check.
To maintain legacy functionality still checking the mutable properties before checking the instrumented dirtyFlg (if applicable)

Added a Date property to the "Thing" test entity to verify that with mutable properties that the CustomDirtynessStrategy is still called.
2012-05-30 11:56:45 -05:00
Steve Ebersole c8431ce5d9 HHH-5881 - Add getter for "namedParameters" to QueryKey 2012-05-30 11:04:00 -05:00
Strong Liu 0c1569c4f4 HHH-6846 lock timeout is in milliseconds 2012-05-30 23:25:33 +08:00
Strong Liu ed266c593a HHH-6256 persistence.xml-specified javax.persistence.lock.timeout is ignored
HHH-6846 Support for Query.setHint(javax.persistence.lock.timeout)
2012-05-29 18:15:59 +08:00
Strong Liu 4266cd3585 HHH-7356 javax.persistence.lock.timeout hint is ignored by @NamedQuery 2012-05-29 17:44:09 +08:00
Guenther Demetz 2036d1479f hhh-7112 2012-05-29 17:04:44 +08:00
Strong Liu 32d36f6ea9 HHH-7356 add failure expected test 2012-05-29 16:58:28 +08:00
Lukasz Antoniak 51aa114224 HHH-7093 - Oracle does not support row value constructor syntax 2012-05-25 20:57:47 +02:00
Lukasz Antoniak af554fe59b HHH-7093 - ValidityAuditStrategy behaviour depending on row value constractor feature 2012-05-23 21:32:47 +02:00
Steve Ebersole 09d2c0d3a2 HHH-7306 - Allow use of CurrentTenantIdentifierResolver in normal session opening 2012-05-23 11:22:46 -05:00
Steve Ebersole e1062cfa22 HHH-7348 - AbstractMultiTenantConnectionProvider not closing connections 2012-05-23 09:39:36 -05:00
Strong Liu 7ed323a51f HHH-7345 rollback hibernate.properties 2012-05-23 22:08:43 +08:00