Commit Graph

3059 Commits

Author SHA1 Message Date
Andrea Boriero ca9e0424b4 HHH-9302 - SQLGrammarException with @DiscriminatorColumn in an inheritance hierarchy 2015-11-26 13:18:28 +00:00
Andrea Boriero 4776ff0913 HHH-9302 - Add test for issue 2015-11-26 13:18:28 +00:00
Stuart Douglas 17b9a06d6d HHH-10314 Don't create the batch fetch queue to remove entities, as a null queue cannot contain the entity 2015-11-26 12:17:57 +00:00
Gail Badner 24841e4e59 HHH-10328 : Unit test failure due to database identifier too long
(cherry picked from commit 24ee708de7)
2015-11-24 20:58:02 -08:00
Gail Badner 45f8d2f830 HHH-10327 : Unit test failures due to date/time precision mismatches
(cherry picked from commit a2026c3ad0)
2015-11-24 17:49:54 -08:00
Gail Badner 157f24d7e2 HHH-10296 : Fix more DB reserved words used by tests
(cherry picked from commit d8f57877f2)
2015-11-24 14:18:05 -08:00
Gail Badner e032ac6793 HHH-10296 : Fix more DB reserved words used by tests
(cherry picked from commit ae91c8722a)
2015-11-24 13:59:23 -08:00
Gail Badner 8552b84ae5 HHH-10327 : Unit test failure on Oracle due to DATE mismatches
(cherry picked from commit 34dd9d186b)
2015-11-24 13:59:14 -08:00
Gail Badner 38b8074c55 HHH-10322 : Test failures due to function name differences by dialect
(cherry picked from commit 377ba9a8c0)
2015-11-23 17:18:53 -08:00
Gail Badner 27f04f155d HHH-10320 : Unit test failures due to feature tested that is not supported by database
(cherry picked from commit cd581f8dfd)
2015-11-23 12:16:19 -08:00
Gail Badner 710cf4fee1 HHH-10296 : Fix more DB reserved words used by tests
(cherry picked from commit cfbc0036f0)
2015-11-23 11:51:14 -08:00
Gail Badner 104635ba1f HHH-10296 : Fix more DB reserved words used by tests 2015-11-20 23:01:19 -08:00
Gail Badner d5017c339c HHH-10312 : Unit test failures due to DB problems interpreting proper type for null value when bound to a query
(cherry picked from commit 519ba7175f)
2015-11-20 18:57:41 -08:00
Gail Badner d5fb3761c6 HHH-10311 : Primary key length used in unit test is too long for DB2
(cherry picked from commit 439dab82d0)
2015-11-20 14:35:39 -08:00
Gail Badner 780c7c2fb6 HHH-10308 : Don't make deep copy of property with AttributeConverter if Java type is known to be immutable 2015-11-20 11:47:55 -08:00
Steve Ebersole 1183a4719d HHH-10309 - HHH-10242 is too aggressive in cases of FIELD access 2015-11-20 12:50:14 -06:00
Andrea Boriero f8fc15841a HHH-10304 - ImplicitCompositeKeyJoinTest#testImplicitCompositeJoin fails due to dialect-specific differences in generated SQL string 2015-11-19 15:50:38 +00:00
Andrea Boriero 534cd7dae8 HHH-10275 - Fix Inverse foreign key for many-to-many set is nullable 2015-11-18 17:16:41 +00:00
Gail Badner ccc99c690f HHH-10297 : Cache HashMap in AbstractRowReader instead of re-creating for each row that is read 2015-11-17 21:48:39 -08:00
Steve Ebersole 57401b9aa8 HHH-1689 - Support subqueries in HQL as CASE statement alternatives;
SQM-30 - test
2015-11-17 19:21:58 -06:00
Steve Ebersole caf902dde9 HHH-10289 - CPU performance regression in StatefulPersistenceContext.addEntry() 2015-11-17 15:31:11 -06:00
Ståle W. Pedersen da4593de1b HHH-10289 - CPU performance regression in StatefulPersistenceContext.addEntry() 2015-11-17 11:29:10 -06:00
barreiro 1568f89426 HHH-9529 - [enhancer] check that the field being accessed belongs to the entity being enhanced 2015-11-17 10:34:24 -06:00
Steve Ebersole 4793ca30a2 HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive) 2015-11-17 10:21:58 -06:00
Gail Badner b4dbb90f17 HHH-10161 : Hibernate ignores return value from javax.persistence.Parameter#getParameterType() 2015-11-16 22:30:09 -06:00
Selaron b1e4fc1ae4 HHH-10181 - CacheableFileXmlSource.doBind uses obsolete .bin file
Check for obsolete cache file during runtime of doBind(..) instead of
CacheableFileXmlSource instantiation only. Subsequent calls of doBind on
a given CacheableFileXmlSource instance should detect that cache file is
fresh and make use of it.
2015-11-16 22:11:51 -06:00
Steve Ebersole 5e87397902 HHH-9195 - Adding an entity at a given index in a list annotated with OrderColumn adds the entity at the end 2015-11-16 22:04:07 -06:00
Gail Badner 54a8b96251 HHH-10273 : Explicitly put column/table names that are DB2 keywords in quotes
(cherry picked from commit 642d42dc92)
2015-11-16 18:31:15 -08:00
Steve Ebersole 1e44e7420b HHH-10267 - Support defining lazy attribute fetch groups 2015-11-16 15:43:11 -06:00
Andrea Boriero 6afc759bf3 HHH-10288 - Temporary table support is broken using PostgresPlusDialect 2015-11-16 12:17:47 +00:00
Andrea Boriero 1cc67e3983 HHH-10293 - Schema Update - Single table Inheritance with bi-directional OneToMany referencing superclass fails 2015-11-15 17:30:36 +00:00
Andrea Boriero 3f31c3d79f HHH-10293 - Add test for issue 2015-11-15 17:30:18 +00:00
Andrea Boriero f9065daba1 HHH-5946 - Tests for not equals operations expecting QuerySyntaxException require dialect does not support row value constructor syntax 2015-11-14 14:33:16 +00:00
Andrea Boriero 765c7020eb HHH-10274 - org.hibernate.id.SequenceValueExtractor does not work for DB2, Oracle, or SQL Server 2015-11-13 16:59:30 +00:00
Steve Ebersole 63b4f69deb HHH-10280 - Remove legacy bytecode enhancement artifacts 2015-11-12 20:33:38 -06:00
Steve Ebersole 472f4ab9ef HHH-10280 - Remove legacy bytecode enhancement artifacts 2015-11-12 19:47:50 -06:00
Andrea Boriero c0528b7079 HHH-10247 - Fix Hibernate ignores foreign-key attribute name in hbm <many-to-many> 2015-11-12 23:14:21 +00:00
Andrea Boriero 8c0c98fa07 HHH-10247 - Add test for issue 2015-11-12 23:14:20 +00:00
Andrea Boriero 5ca5e90551 HHH-10279 - Fix checkstyle errors 2015-11-12 22:45:12 +00:00
Steve Ebersole 9872358bed HHH-10281 - More formally deprecate the legacy bytecode enhancement code 2015-11-12 10:47:52 -06:00
barreiro 340cee232a HHH-10271 - Add ordinal() method to EventType and change EventListenerRegistryImpl to take advantage of that 2015-11-12 08:15:18 -06:00
Stuart Douglas 991ff265da HHH-10279 - Memory usage improvements -
* Don't allocate IdentityMap if it is not needed
* Only allocate unresolved insertions if requied
* Don't create a new string when creating a named query
* Allocate querySpaces lazily
* Remove executableLists from ActionQueue
* Allocate ExecutableList instances lazily
* Lazily allocate the transaction commit task lists
* Don't allocate a new EntityKey
2015-11-12 06:51:02 -06:00
Gail Badner fa7851058c HHH-10273 : Reserved word used for database object in testsuite 2015-11-11 18:12:50 -08:00
John O'Hara 1852162da5 HHH-10259 : ForUpdateFragment.toFragmentString() does not check if aliases are defined when lockOptions are not null
(cherry picked from commit fc077401e7)
2015-11-11 17:05:12 -08:00
Steve Ebersole 1d5b0779d6 HHH-10264 - hibernate.cache.auto_evict_collection_cache problems;
HHH-9140 - Error in CollectionCacheInvalidator when hibernate.cache.auto_evict_collection_cache is enabled
2015-11-10 09:13:22 -06:00
Janario Oliveira bf2eb01856 HHH-10264 - Values weren't cached after persist
HHH-9140 - Allow to look for id outside of context
ERROR CollectionCacheInvalidator:145 - org.hibernate.TransientObjectException: The instance was not associated with this session
	at org.hibernate.internal.SessionImpl.getIdentifier(SessionImpl.java:1511)
(cherry picked from commit f0d8fcd)

Added property to propagate error in test case

Test case without mappedBy
org.hibernate.HibernateException: Unable to resolve property:
	at org.hibernate.tuple.entity.EntityMetamodel.getPropertyIndex(EntityMetamodel.java:926)
2015-11-10 09:12:26 -06:00
Emanuele Gesuato cd2b031b6b HHH-5946 - Wrong SQL generated when composites are compared using not-equal operator 2015-11-09 23:04:52 -06:00
Janario Oliveira 80e851e7d0 HHH-9475 Cannot mix @MapKey with @Convert - Moved classes to reuse in test case; Added copy of type from referenced MapKey 2015-11-09 21:47:45 -06:00
Steve Ebersole 0cc5e8d30f HHH-10251 - Memory Leak when using Reference Cached, bytecode enhanced Immutable Entities 2015-11-09 17:05:00 -06:00
John O'Hara 26048f220d HHH-10251 : Memory Leak when using Reference Cached, bytecode enhanced Immutable Entities 2015-11-09 17:04:44 -06:00
Steve Ebersole 67e631dfb3 HHH-7572 - Develop API for load-by-multiple-ids 2015-11-09 16:37:51 -06:00
Steve Ebersole 134eb06fba HHH-7572 - Develop API for load-by-multiple-ids 2015-11-09 16:10:25 -06:00
Steve Ebersole 2b563794c7 HHH-1706 - Named parameters ignored when single apostrophe encountered within an SQL comment 2015-11-09 15:19:55 -06:00
Steve Ebersole e4d102c5b1 HHH-1706 - Named parameters ignored when single apostrophe encountered within an SQL comment 2015-11-09 09:18:42 -06:00
Matt Drees a32372d751 HHH-5764 - Support for multi-level derived ids 2015-11-09 08:09:29 -06:00
Steve Ebersole 8fd64a3b8f HHH-9807 - Better error message when @Formula and @Id are combined 2015-11-06 16:51:30 -06:00
Steve Ebersole 05d697b9a1 HHH-10002 - Hibernate @Synchronize annotation values should be processed by NamingStrategy 2015-11-06 14:22:14 -06:00
barreiro a11d2e7783 HHH-10112 - [enhancer] Use loading classloader in ClassPool 2015-11-06 12:17:41 -06:00
Steve Ebersole cd7212a1e8 HHH-10219 - Infinite loop generating IDs if using negative increment 2015-11-06 10:34:31 -06:00
Steve Ebersole ae9ff5587e HHH-10242 - Deal with HCANN poor handling of multiple properties by matching stem name 2015-11-05 11:53:40 -06:00
Emmanuel Bernard 5cc5ed1c84 HHH-10242 Detect ambiguous properties
boolean idId() + UUID getId() is ambiguous if no @Transient is involved
2015-11-05 10:52:37 -06:00
Steve Ebersole ec8794bbd0 HHH-10208 - Index and unique-key constraints not properly handled with implicit columns in hbm.xml binding 2015-11-04 23:31:47 -06:00
Steve Ebersole 9128b84b54 HHH-9481 - SQL query clears all cache 2015-11-04 21:43:52 -06:00
Steve Ebersole dd4f809d20 HHH-6672 - Remove UNION support from 5.x grammars 2015-11-04 21:18:28 -06:00
Steve Ebersole 22ffaea0c3 HHH-10248 - map removed TransactionFactory classes 2015-11-04 20:55:52 -06:00
Steve Ebersole eadb0fec8f HHH-10203 - Overriden UniqueDelegate.getTableCreationUniqueConstraintsFragment not called anymore in SchemaExport 2015-11-04 16:16:11 -06:00
Steve Ebersole 4218f365e5 HHH-9794 - Replace string with preceding comma is not replacing string as required 2015-11-04 16:10:39 -06:00
Steve Ebersole 30d7c800bd HHH-9195 - Adding an entity at a given index in a list annotated with OrderColumn adds the entity at the end 2015-11-04 13:03:12 -06:00
Gail Badner c835cf11ec HHH-10202 : Delay resolving TypeScopeImpl#factory after deserialization until resolveFactory() is called. 2015-11-03 16:42:43 -08:00
Steve Ebersole e59781487a HHH-9195 - Adding an entity at a given index in a list annotated with OrderColumn adds the entity at the end 2015-11-03 17:11:23 -06:00
cranforc c65cb7e850 HHH-8435 @Lob/@Nationalized results in NCLOB in MSSQL2005 rather than NVARCHAR(MAX)
HHH-8435 @Lob/@Nationalized results in NCLOB in MSSQL2005 rather than
NVARCHAR(MAX)
2015-10-30 13:05:36 -05:00
Holger 6ace838d61 HHH-10181: CacheableFileXmlSource.doBind uses obsolete .bin file 2015-10-30 13:00:46 -05:00
Gail Badner 71f4f3272a HHH-9979 : Add tests using bean validation, and PRE_INSERT and POST_INSERT event listeners 2015-10-29 16:39:16 -07:00
Steve Ebersole 287a516760 HHH-9230 - NullPointer when combining JPQL query with in clause and @NamedEntityGraph 2015-10-29 09:52:53 -05:00
Steve Ebersole 9390062abc HHH-10222 - AttributeConverter not applied to @ElementCollection 2015-10-28 23:05:35 -05:00
Steve Ebersole 2db30fd455 HHH-10222 - AttributeConverter not applied to @ElementCollection 2015-10-28 22:54:04 -05:00
michal 2a99b256b8 HHH-10222 - AttributeConverter not applied to @ElementCollection 2015-10-28 22:50:34 -05:00
Hardy Ferentschik 25d8a66ac7 HHH-6475 - Metamodel check fails when subclasses are used 2015-10-28 13:26:06 -05:00
Steve Ebersole e6c1f511a3 HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive) 2015-10-27 23:22:42 -05:00
Steve Ebersole 246e98c5af HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive) 2015-10-27 21:55:14 -05:00
Steve Ebersole 82c5e0ae26 HHH-1400 - formula-based property leads to generation of invalid SQL with subselect fetches 2015-10-27 21:40:25 -05:00
Andrea Boriero fa4e1a04ed HHH-10169 - Fix Hibernate ignores foreign-key name in hbm <joined-subclass> 2015-10-27 17:25:39 +00:00
Andrea Boriero b315c0b949 HHH-10169 - Add test for issue 2015-10-27 17:22:20 +00:00
Steve Ebersole 3b2157be45 HHH-10166 - Sequence generator creates duplicate keys 2015-10-27 06:05:03 -05:00
Steve Ebersole 57c5d06f0e HHH-10203 - Overriden UniqueDelegate.getTableCreationUniqueConstraintsFragment not called anymore in SchemaExport 2015-10-26 21:07:08 -05:00
Steve Ebersole e71627ab00 HHH-10206 - Primary key not created for a Set after loading from XML mapping file 2015-10-26 20:19:14 -05:00
Steve Ebersole c07e93bfb1 HHH-10207 - Constraint name not considered for a Set while loading from XML mapping file 2015-10-26 19:44:15 -05:00
Steve Ebersole 53dfed4496 HHH-9897 - @OneToMany association with @JoinFormula throws NPE 2015-10-26 19:25:18 -05:00
Steve Ebersole be40ccf9cc HHH-9784 - Scroll method does not support provided HQLQueryPlan 2015-10-26 18:59:27 -05:00
reda-alaoui 09127bf1c3 HHH-9784 Scroll method does not support provided HQLQueryPlan 2015-10-26 18:53:46 -05:00
Réda Housni Alaoui 1677e0662b HHH-9374 EntityGraph applied to subquery when using collection function 2015-10-26 17:43:45 -05:00
drepshas ac616ccbfa HHH-10087 allow locks to be prepended to SQL
This allows locking code to work for the Teradata database
2015-10-26 17:18:38 -05:00
Jan Martiska 1fa78f9658 [HHH-10188] "stored" is a reserved keyword 2015-10-26 17:15:53 -05:00
Jan Martiska 06311d32a1 HHH-10195 fix QueryHintSQLServer2012Test 2015-10-26 17:11:24 -05:00
Jan Martiska 6ff0abf682 HHH-10196 DefaultGeneratedValueTest fails on MySQL
fix
2015-10-26 17:05:19 -05:00
Steve Ebersole 56fae44589 HHH-10217 - ModelBinder fails to bind version property when generated="always" 2015-10-26 17:00:06 -05:00
Steve Ebersole 8bcf66631d HHH-10208 - Index not considered while loading from XML mapping file 2015-10-26 13:14:44 -05:00
Andrea Boriero 83a477a0d1 HHH-10180 - Fix hbm2ddl tools cannot generate create/update script not modifying the database 2015-10-26 14:27:09 +00:00
Andrea Boriero e71b32fe91 HHH-10180 - Add test for issue 2015-10-26 14:18:42 +00:00
Andrea Boriero d44cb40c34 HHH-10197 - Fix SchemaManagementException when performing SchemaUpdate 2015-10-16 13:21:13 +01:00
Andrea Boriero dc902bb0a3 HHH-10197 - Add test 2015-10-16 08:36:19 +01:00
Andrea Boriero d74ec8ec6b HHH-10174 - Fix Incorrect splitting of string using dot as separator, dot is not escaped 2015-10-15 12:49:09 +01:00
Andrea Boriero e485ef74a6 HHH-10174 - Add test for issue 2015-10-15 12:49:09 +01:00
Andrea Boriero 65c7cfaefb HHH-10104 - Fix HHH-10104 Using JPA 2.1 schema generation together with hbm2ddl runs into deadlock with MySQL 2015-10-15 10:19:57 +01:00
Andrea Boriero 3bd448525b HHH-10194 - Change NameQualifierSupport for Hypersonic from CATALOG to SCHEMA 2015-10-15 09:53:01 +01:00
Andrea Boriero d8fffd61f1 HHH-10193 - Fix NameQualifierSupport for Hypersonic should be catalog 2015-10-14 17:14:09 +01:00
Andrea Boriero 8298390dc6 HHH-10198 - NPE in InformationExtractorJdbcDatabaseMetaDataImpl 2015-10-14 16:32:46 +01:00
Andrea Boriero 1729067cbc HHH-10190 - org.hibernate.engine.spi.ActionQueue#executeActions() optimization 2015-10-14 14:04:05 +01:00
Steve Ebersole ac2f06800e HHH-9074 - HQL Query with boolean and @Convert 2015-10-08 09:56:14 -05:00
Steve Ebersole 6d590d76b6 HHH-9807 - Better error message when @Formula and @Id are combined 2015-10-07 13:07:37 -05:00
Steve Ebersole 1203acbdc0 HHH-10172 - Throw MappingException when entity/component class defines multiple matching getters by stem name 2015-10-07 12:26:37 -05:00
Andrea Boriero f539a924be HHH-10139 - remove unused import classes 2015-10-07 15:15:47 +01:00
Steve Ebersole b2b477a2ce HHH-10050 - AttributeConverter should supports ParameterizedType if autoApply is true 2015-10-06 19:28:49 -05:00
Steve Ebersole ca171b112c HHH-9791 - Add varargs to Restrictions.in(...) 2015-10-06 16:24:56 -05:00
Steve Ebersole 0cf66b85e0 HHH-10050 - AttributeConverter should supports ParameterizedType if autoApply is true 2015-10-06 16:07:33 -05:00
Steve Ebersole 3ac508882c HHH-9615 - Allow AttributeConverter on attributes marked as Lob 2015-10-03 13:44:20 -05:00
Steve Ebersole eaf28166d2 HHH-10097 - Expose the UUID from SessionFactoryImplementor 2015-10-02 18:35:16 -05:00
Steve Ebersole 7af7ebaf87 HHH-10129 - Evaluate AttributeConverter tests in hibernate-entitymanager for move to hibernate-core;
HHH-10154 - Change built-in JavaTypeDescriptor impls to not auto-register themselves with JavaTypeDescriptorRegistry
2015-09-30 12:37:49 -05:00
Andrea Boriero 243a72cd99 HHH-9996 - Finish Derby database profile - ForeignKeyMigrationTest requires Dialect supports catalog creation 2015-09-30 14:36:23 +01:00
Andrea Boriero b68291ebda HHH-10142 - Add SQL keyword to DerbyDialect 2015-09-30 14:36:23 +01:00
Steve Ebersole e64d028306 HHH-10122 - Deprecate ".class" property-style entity-type-expression format 2015-09-30 00:06:37 -05:00
Steve Ebersole 3cdc447654 HHH-10125 - KEY() function in HQL causes inaccurate SQL when map key is an entity;
HHH-10132 - ENTRY() function in HQL causes invalid SQL when map key is an entity
2015-09-29 23:33:11 -05:00
Andrea Boriero bac4cd2128 HHH-9995 - Finish pgsql database profile 2015-09-29 18:14:07 +01:00
Martin Simka ca0eee08a0 HHH-9995 - Finish pgsql database profile - rollback transaction on error in TestLazyBasicFieldAccessExecutable 2015-09-29 18:13:59 +01:00
Andrea Boriero fe1b141f79 HHH-10150 - Override PostgreSQL9Dialect#getDefaultMultiTableBulkIdStrategy() causing exception in deleting joined subclasses 2015-09-29 16:50:05 +01:00
Andrea Boriero 8bdb2d7788 HHH-10149 - Fix PostgreSQL Dialect getForUpdateString(String aliases, LockOptions lockOptions) returning a wrong value for update String when aliases is an empty String 2015-09-29 14:10:59 +01:00
Andrea Boriero fc6312a73b HHH-10110 - Fix DerbyDialect#getQuerySequencesString() causing error during schema update 2015-09-28 21:28:12 +01:00
Andrea Boriero 0885e953ce HHH-10140 - Fix derby does not support tuples in subqueries 2015-09-28 21:28:12 +01:00
Andrea Boriero 80f61bdcff HHH-10139 - Fix <formula>1</formula> causing java.sql.SQLSyntaxErrorException: Comparisons between 'INTEGER' and 'BOOLEAN' are not supported when the column is a boolean 2015-09-28 21:28:12 +01:00
Andrea Boriero 8d3b2e723b HHH-9996 - Finish Derby database profile 2015-09-28 21:28:12 +01:00
Steve Ebersole ac16e825f8 HHH-10128 - @Enumerated(EnumType.STRING) not working as expected with PosgreSQL database 2015-09-28 14:57:47 -05:00
Steve Ebersole 59a8d3122f HHH-10066 - Drop and recreate AuxiliaryDatabaseObjects as part of schema update 2015-09-28 14:26:57 -05:00
Steve Ebersole 2964ecbf1b HHH-10135 - DB2Dialect should override getSelectSequenceNextValString 2015-09-27 08:01:26 -05:00
Steve Ebersole 909c034429 HHH-10125 - Using KEY function in JP-QL SELECT clause selects value columns in rendered SQL 2015-09-26 09:01:07 -05:00
Steve Ebersole 3571218183 HHH-10133 - CatalogSeparator of dialect metadata not used in runtime, just in schema tool 2015-09-25 17:51:41 -05:00
Steve Ebersole 7354c7bfc3 HHH-10126 - Table-backed sequences are not populated on creation using SchemaUpdate 2015-09-25 13:40:50 -05:00
Steve Ebersole ed892971af HHH-10131 - CacheableFileXmlSource.doBind returns null instead of created binding when .hbm.xml.bin have not been created yet 2015-09-25 12:26:46 -05:00
Steve Ebersole a1444f2a10 HHH-10099 - @OrderColumn never generates the column in the schema 2015-09-25 11:18:10 -05:00
Steve Ebersole bb0b604b57 HHH-10111 - AttributeConverter based attributes are not marked for update when their state is modified 2015-09-24 15:50:54 -05:00
Steve Ebersole e8da2d09b3 HHH-10045 - Teradata requires non null primary keys. 2015-09-24 13:00:39 -05:00
Steve Ebersole 4777d5888c HHH-10120 - InputStream not closed in ConfigLoader.loadConfigXmlResource(String) 2015-09-24 12:24:18 -05:00
Steve Ebersole 0f5139b60a HHH-10119 - Config setting names loaded from cfg.xml stored in augmented (prefixed with "hibernate.") form but not original form 2015-09-24 11:57:49 -05:00
Steve Ebersole 0c628fa9aa HHH-10119 - EhCacheRegionFactory cannot find configurationResourceName set in .cfg.xml 2015-09-24 11:50:59 -05:00
Steve Ebersole 6ce9d6848d HHH-10115 - HHH90000003: Use of DOM4J entity-mode is considered deprecated
(cherry picked from commit 91cd767d20)
2015-09-22 16:13:45 -05:00
Andrea Boriero c5b1cf94f3 HHH-10108 - Substituted checkstyle NewlineAtEndOfFile rule with rules used in OGM and fixed classes having more than a newline at the end of file 2015-09-22 18:11:43 +01:00
Steve Ebersole 918c9d4ffd HHH-9888 - Oracle database constraint violation reported as RollbackException with JTA transaction manager 2015-09-11 06:36:15 -05:00
Steve Ebersole 9d6886198b HHH-10055 - Lazy loading of collections in enhanced entity not working 2015-09-10 14:05:37 -05:00
barreiro d0b0d7ef87 HHH-10055 - Add test case (enhanced version of org.hibernate.test.ondemandload.LazyLoadingTest) 2015-09-09 13:04:35 -05:00
Andrea Boriero 33458ab6f8 HHH-9983 - Fix Error saving entity with identity id on Oracle 12c 2015-09-08 19:10:16 +01:00
Andrea Boriero 1f3048e572 HHH-9983 - Add test for issue 2015-09-08 19:10:16 +01:00
Andrea Boriero 2731fe541a HHH-100084 - Refactor Identity Column support methods into IdentityColumnSupport interface 2015-09-08 19:03:03 +01:00
Andrea Boriero 75a0991ae9 HHH-10086 - Deprecate Dialect#getIdentityColumnString() and Dialect#getIdentitySelectString() 2015-09-04 18:10:26 +01:00
barreiro 643c0b532d HHH-10079 - Use enhanced property access for field/property attributes only 2015-09-03 15:06:59 +01:00
barreiro 03801b62ec HHH-10078 - Enforce sychronization of non thread-safe method Enhancer.enhance() 2015-09-03 08:57:30 -05:00
barreiro 4d6eca5ff8 HHH-10076 - bytecode enhancer - CompositeEnhancer does not add ManagedComposite marker interface 2015-09-03 08:53:02 -05:00
Gail Badner 2dc0adb893 HHH-10053 : Revert HHH-9736; BigIntegerType really should use NumericTypeDescriptor 2015-09-02 13:04:56 -07:00
Steve Ebersole 1c70e0df0c HHH-10020 - Improvements to org.hibernate.bytecode.enhance.internal.AttributeTypeDescriptor#buildInLineDirtyCheckingBodyFragment 2015-09-01 21:52:28 -05:00
Steve Ebersole 961b5e8977 HHH-10069 - ClassCastException between CompositeCustomType and ComponentType part 2 2015-09-01 21:31:27 -05:00
Steve Ebersole 8916346b4a HHH-9864 - foreign key violation with order_inserts=true 2015-09-01 20:23:51 -05:00
drepshas 216848b500 HHH-10054 Modify Create Index SQL to support the Teradata database 2015-09-01 12:41:32 -05:00
Radim Vansa 1d62197b9d HHH-10008 SessionImplementor.getTimestamp() does not return transaction start time;
HHH-9962 Second level query cache returns stale data if query and update statements are executed concurrently
2015-09-01 11:49:03 -05:00
Gunnar Morling 1376b12ca9 HHH-10073 Not propagating XML node names configured in mappings 2015-09-01 11:34:56 -05:00
Gunnar Morling 6f215a9227 HHH-10073 Removing further left-overs from removed dom4j entity mode 2015-09-01 11:34:56 -05:00
Gunnar Morling 47b8ed5121 HHH-10073 Removing methods scheduled for removal in 5.0 2015-09-01 11:34:56 -05:00
Gunnar Morling 1db462f35f HHH-10073 Removing types methods scheduled for removal in 5.0 2015-09-01 11:34:56 -05:00
Steve Ebersole 78fcfe26a7 HHH-10065 - Slow mapping initialization 2015-09-01 10:05:52 -05:00
Steve Ebersole 74d2d33012 HHH-10009 - Unable to parse cfg.xml file with explicit xsi:schemaLocation 2015-09-01 09:22:57 -05:00
Steve Ebersole d85fd04eb0 HHH-10070 - Deprecate use of "collection properties" in HQL 2015-08-31 21:02:09 -05:00
Steve Ebersole 24901af4d9 HHH-10024 - CriteriaQuery: Join on a field named 'size' backed by an enum throws IllegalArgumentException 2015-08-31 20:30:15 -05:00
Steve Ebersole ca1c2efaf9 HHH-9954 - Equality checking should consider arrays 2015-08-31 09:25:53 -05:00
Gail Badner 249eff948d HHH-10060 : Order of subclass joins are no longer determinate 2015-08-26 16:27:31 -07:00
Brett Meyer 6ca0a231a5 HHH-9975 checkstyle 2015-08-26 17:17:15 -04:00
Brett Meyer eaf4c789b3 HHH-9975 CacheImpl.containsQuery(String) does not check if query cache is enabled 2015-08-26 16:37:09 -04:00
Kamil Szymanski 5f5e5f82c4 HHH-9593 Remove superfluous references to enclosing class
Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
	hibernate-core/src/main/java/org/hibernate/internal/SQLQueryImpl.java
	hibernate-core/src/main/java/org/hibernate/service/internal/JaxbProcessor.java
2015-08-26 15:55:45 -04:00
Andrea Boriero 98ebeee830 HHH-951 - Fix setMaxResults causes "ORA-00918: column ambiguously defined" exception on Oracle for Criteria 2015-08-20 18:04:20 +01:00
Andrea Boriero 2e7c3acf11 HHH-951 - Add test for Criteria 2015-08-20 18:04:20 +01:00
Piotr Findeisen 0a722bb230 HHH-951 - Fix setMaxResults causes "ORA-00918: column ambiguously defined" exception on Oracle 2015-08-20 18:04:20 +01:00
Steve Ebersole 2c1b7ca537 HHH-9908 - Regression in naming collection join tables 2015-08-19 11:57:24 -05:00
Steve Ebersole 825468ca9b HHH-9908 - Regression in naming collection join tables
(cherry picked from commit 51a8bc7ba3)
2015-08-19 09:46:21 -05:00
Gail Badner ed867b2e60 HHH-7070 : Put operations in transactions and added cleanup code (test case only) 2015-08-18 16:37:43 -07:00
Richard Tingstad 5adf730c42 HHH-7070 Fixed some SybaseASE15Dialect function definitions (dateadd, datediff, datepart, atn2)
(cherry picked from commit 7eebb0f73d)
2015-08-18 15:16:21 -07:00
amaeda cbf255e4f0 HHH-9707 - Nulls first behavior on SQLServer database
(cherry picked from commit 6f37a2ee6b)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2012Dialect.java

HHH-9707 - Nulls first behavior on SQLServer database
(cherry picked from commit 046426b619)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2012Dialect.java
2015-08-18 14:01:31 -07:00
Martin Simka 37964f12e4 [HHH-9994] Finish mariadb (mysql) database profile - added transaction to EnhancerTest and FlushAndTransactionTest 2015-08-18 16:47:43 +01:00
Andrea Boriero 46232719d1 HHH-10036 - Fix identifier is too long exception for test TableGeneratorQuotingTest 2015-08-18 15:40:38 +01:00
Andrea Boriero 97606e8bf0 HHH-10036 - Fix identifier is too long exception for test EnhancerTest 2015-08-18 15:40:38 +01:00
Andrea Boriero a9daa65c12 HHH-10036 - Fix identifier is too long exception for test MapKeyCustomEnumTypeTest 2015-08-18 15:40:38 +01:00
Steve Ebersole 266ec761f4 HHH-10017 - Bytecode enhancer - consistent handling of persistent attributes (field / property access) 2015-08-05 14:16:29 -05:00
barreiro cff4cb4b7a HHH-9985 - bytecode enhancement - add testcase, and for HHH-10017 as well 2015-08-05 19:33:18 +01:00
barreiro c622d39199 HHH-9985 - remove hack based on exposed state and route all field access to enhanced methods, if present 2015-08-05 19:33:18 +01:00
barreiro ed185b9b48 HHH-10017 - bytecode enhancement - consistent handling of persistent attributes, regardeless of access type 2015-08-05 19:33:18 +01:00
Steve Ebersole 9b9b806aac HHH-10018 - Change default ImplicitNamingStrategy to use the JPA compliant one + ImplicitNamingStrategy short-naming 2015-08-05 10:26:48 -05:00
Steve Ebersole 1556c272d5 HHH-9850 - Primary key generated for nullable column in sequence table 2015-08-05 09:09:24 -05:00
Andrea Boriero 1163d2bd0f HHH-10015 - Oracle Dialect override Dialect#canCreateSchema() to return false 2015-08-05 14:21:25 +01:00
Andrea Boriero a45261ed4c HHH-9990 - Fix test failure 2015-08-05 13:36:44 +01:00
Andrea Boriero 4da260b3be HHH-9990 - Enabled batched updates for versioned data by default 2015-08-05 11:27:18 +01:00
Andrea Boriero d905246c6a HHH-9990 - Add tests 2015-08-05 11:27:18 +01:00
Janario Oliveira 7ccbd46932 HHH-9534 - Exception with custom EnumType and Map relation 2015-08-04 21:50:59 -05:00
Steve Ebersole 3192e1db92 HHH-9503 - Consistently accept numeric value or Connection constant field name for configuring transaction isolation 2015-08-04 21:11:18 -05:00
Daniel Gredler 8c8e729b3d Test for HHH-8615 (no fix). 2015-08-04 20:03:09 -05:00
Steve Ebersole d99fb4f5dc HHH-9503 - Consistently accept numeric value or Connection constant field name for configuring transaction isolation 2015-08-04 19:42:57 -05:00
Steve Ebersole 1d61210826 HHH-9850 - Primary key generated for nullable column in sequence table 2015-08-04 17:00:46 -05:00
Steve Ebersole 54a3bb244a HHH-10014 - Adjust default for hibernate.auto_quote_keyword to false 2015-08-04 16:59:08 -05:00
Steve Ebersole 45dd596c4f HHH-9869 - SizeExpression toString is misleading 2015-08-04 15:58:32 -05:00
Peter ad704a194e HHH-9869 - fix the order in which SizeExpression.toString() emits size and property so that the toString of a SizeExpression is logically correct 2015-08-04 15:57:20 -05:00
Steve Ebersole dd0547efdc HHH-10013 - Adjust default for hibernate.id.new_generator_mappings to true - checkstyle 2015-08-04 15:26:48 -05:00
Steve Ebersole b3a8453064 HHH-10014 - Adjust default for hibernate.auto_quote_keyword to false 2015-08-04 15:13:47 -05:00
Steve Ebersole f8b523f3de HHH-10013 - Adjust default for hibernate.id.new_generator_mappings to true 2015-08-04 15:06:24 -05:00
Steve Ebersole 41836726e1 HHH-9936 - Same Sequence is created and dropped multiple times 2015-08-04 11:49:15 -05:00
Steve Ebersole 4f725332af HHH-9998 - Continue documentation TLC - mapping basic-types 2015-08-02 14:07:26 -05:00
Steve Ebersole 7a67f39e38 HHH-9998 - Continue documentation TLC - mapping compositions & collections 2015-08-01 13:49:56 -05:00
Andrea Boriero 9d22ed62ed HHH-9865 - Fix incorrect column information generated using schemaExport 2015-08-01 00:06:30 +01:00
Steve Ebersole 02002169ef HHH-9882 - many to one declarations in hbm without embed-xml="false" generate warning 2015-07-31 16:32:51 -05:00
Steve Ebersole fa14d4fb70 HHH-9917 - 'value' is not a reserved word on Derby 2015-07-31 15:44:06 -05:00
Steve Ebersole 067e892767 HHH-9936 - Same Sequence is created and dropped multiple times 2015-07-31 15:43:00 -05:00
Steve Ebersole 923ecb8e2c HHH-9961 - Ejb3JoinColumn does not use PhysicalNamingStrategy 2015-07-31 12:52:01 -05:00
Emmanuel Bernard 6318160da8 Minor visibility relaxation in AbstractEntityPersister for OGM 2015-07-29 17:11:45 +02:00
barreiro 417baffa13 HHH-9938 - bytecode enhancer - field access enhancement feature 2015-07-29 09:26:26 -05:00
barreiro 6d77ac39c5 HHH-9937 - bytecode enhancement - expose loaded state in LazyAttributeLoader 2015-07-29 09:12:02 -05:00
Gail Badner 4f72f17623 HHH-9937 : Hibernate#isPropertyInitialized always returns true for new enhancer (test case only) 2015-07-29 09:08:20 -05:00
barreiro 716e954f49 HHH-9985 - bytecode enhancer - fix merge use case for composites 2015-07-29 09:01:13 -05:00
barreiro f759c152e2 HHH-9985 - bytecode enhancer - fix merge use case 2015-07-29 09:01:13 -05:00
Steve Ebersole 463decd245 HHH-9959 - Upgrade Hibernate Validator to 5.2.0.Final 2015-07-29 08:56:59 -05:00
Steve Ebersole ff565fddb0 HHH-9986 - Fix reference manual inconsistencies for 5.0 2015-07-29 08:47:10 -05:00
Steve Ebersole 16c0a1f144 HHH-9976 - JdbcResourceLocalTransactionCoordinatorImpl does not rollback on failure during #commit 2015-07-28 18:16:47 -05:00
Steve Ebersole 3d1a39f80d HHH-9976 - JdbcResourceLocalTransactionCoordinatorImpl does not rollback on failure during #beforeCompletionCallback 2015-07-28 15:54:26 -05:00
Andrea Boriero 98d5e943ea HHH-1872 - Fix Hibernate should handle hbm.auto = update with views 2015-07-28 18:39:46 +01:00
Radim Vansa 4fd7680191 HHH-9977 Consider options for passing Session to caching SPI calls
* Passing SessionImplementor to all the calls executed in transactional context
2015-07-28 17:56:55 +01:00
Steve Ebersole 7990630ae4 HHH-9986 - Fix reference manual inconsistencies for 5.0;
HHH-9987 - HikariCPConnectionProvider TLC
2015-07-27 17:08:21 -05:00
Andrea Boriero 09b3410db3 HHH-9967 - Add test for issue 2015-07-27 16:21:20 +01:00
Andrea Boriero 3658480642 HHH-9967 - Fix failure Create index on Postgres with --defaultSchemaName 2015-07-27 16:20:59 +01:00
Andrea Boriero 930a0f7075 HHH-9918 - Test requires Dialect to support identity key generation 2015-07-27 11:22:56 +01:00
Steve Ebersole c154d7edf7 HHH-9930 - Enable mariadb (mysql) database profile 2015-07-25 10:14:27 -05:00
Gail Badner c00d4609ef HHH-5255 : Merge detached entity failed when the instrumented lazy property is initialized 2015-07-24 19:04:00 -07:00
Andrei Ivanov 3d21604602 Test for HHH-5255
(cherry picked from commit e0347f81e8)
2015-07-24 13:18:14 -07:00
Steve Ebersole 539465915b HHH-9966 - Improve schema tooling support for creating catalogs and schemas 2015-07-24 12:54:02 -05:00
Steve Ebersole 33b00de3c0 HHH-9913 - NPE in org.hibernate.cache.internal.CacheDataDescriptionImpl.decode() 2015-07-24 12:32:31 -05:00
Andrea Boriero d885f249d9 HHH-9966 - Improve schema tooling support for creating catalogs and schemas 2015-07-24 16:20:49 +01:00
Steve Ebersole e98f220b08 HHH-9980 - Implement mark-for-rollback-only handling for JdbcResourceLocalTransactionCoordinatorImpl 2015-07-24 09:58:48 -05:00
Steve Ebersole 7556a22c2f HHH-9980 - Implement mark-for-rollback-only handling for JdbcResourceLocalTransactionCoordinatorImpl 2015-07-24 09:50:02 -05:00
Hynek Svabek f429a8cb28 HHH-9915 - test fail on Oracle (long identifier name) 2015-07-24 15:29:19 +01:00
Hynek Svabek 021c80b5a0 HHH-9953 fix identifier is too long on OracleDB - ComponentNotNullTest 2015-07-24 15:29:19 +01:00
Hynek Svabek 6c0141786b HHH9968 -fix identifier is too long on Oracle DB - irrelevantInstantEntity 2015-07-24 15:29:19 +01:00
Steve Ebersole 5ec711fa1a HHH-9923 - Avoid cast to MetadataBuildingOptionsImpl in AnnotationMetadataSourceProcessorImpl#prepare() 2015-07-24 07:22:34 -05:00
Steve Ebersole f34c69cf11 HHH-9927 - Explicit calls to EntityManager.joinTransaction() with no active JTA transaction should throw a TransactionRequiredException 2015-07-23 14:47:48 -05:00
Steve Ebersole eaf562b129 HHH-9923 - Avoid cast to MetadataBuildingOptionsImpl in AnnotationMetadataSourceProcessorImpl#prepare() 2015-07-23 13:01:54 -05:00
Steve Ebersole 37cc060b45 HHH-9930 - Enable mariadb (mysql) database profile 2015-07-23 12:25:40 -05:00
Steve Ebersole 11c76129bd HHH-9969 - MySQLDialect handling of numeric cast targets is incorrect 2015-07-23 10:28:43 -05:00
Steve Ebersole ff4774ad7e HHH-9974 - Rename org.hibernate.boot.model.relational.Schema to Namespace 2015-07-23 09:37:30 -05:00
Gail Badner 333e40465c HHH-9970 : Remove NoIdentityHQLScrollFetchTest and change HQLScrollFetchTest to work with "increment" ID generator 2015-07-22 18:47:52 -07:00
Steve Ebersole e678a5b8cf HHH-9955 - EnumType mapped via hbm.xml not always resolved properly as far as named/ordinal 2015-07-22 11:57:19 -05:00
Gail Badner 6bb8d03595 HHH-9637 : Join is reused when 2 explicit joins are used for the same ToOne association 2015-07-21 17:06:50 -07:00
Steve Ebersole ce54660cdb HHH-9910 - Schema migration (update) problems with catalog/schema restrictions
yes, in oracle
2015-07-21 18:31:09 -05:00
Steve Ebersole 6af89449f2 HHH-9956 - Enable derby database profile 2015-07-21 12:09:59 -05:00
Steve Ebersole 805600dd34 HHH-9956 - Enable derby database profile 2015-07-21 12:01:39 -05:00
Steve Ebersole b24ba54d38 HHH-9930 - Enable mariadb (mysql) database profile 2015-07-20 12:06:34 -05:00
Emmanuel Bernard 4a2512e099 Minor JavaDoc improvement to clarify that class is no longer used 2015-07-20 18:44:10 +02:00
Steve Ebersole 855956135e HHH-9948 - SequenceStyleGenerator uses potentially incorrect name for table/sequence in DML statements 2015-07-19 09:00:41 -05:00
Steve Ebersole 3584d59c9e HHH-9949 - Recognize legacy http://hibernate.sourceforge.net/hibernate-configuration DTD base identifier 2015-07-19 08:28:34 -05:00
Steve Ebersole cfd5414321 HHH-9948 - SequenceStyleGenerator uses potentially incorrect name for table/sequence in DML statements 2015-07-18 17:44:11 -05:00
Steve Ebersole 7bc37fd2f3 HHH-9948 - SequenceStyleGenerators uses potentially incorrect name for table/sequence in DML statements 2015-07-18 17:22:57 -05:00
Steve Ebersole d7b1afeed7 HHH-9947 - PhysicalNamingStrategy#toPhysicalTableName called rather than #toPhysicalColumnName for some columns 2015-07-18 17:22:26 -05:00
Steve Ebersole 837e9913c1 HHH-9949 - Recognize legacy http://hibernate.sourceforge.net/hibernate-configuration DTD base identifier 2015-07-18 17:18:36 -05:00
Steve Ebersole ee2099ff8a HHH-9945 - Allow Transaction to rollback if marked-for-rollback-only 2015-07-18 13:28:08 -05:00
Steve Ebersole f0f852f14f HHH-9931 - Enable pgsql database profile 2015-07-17 09:33:41 -05:00
Steve Ebersole bebfce7902 HHH-9930 - Enable mariadb (mysql) database profile 2015-07-17 09:33:41 -05:00
Emmanuel Bernard 1ade555321 Clarify that LEGACY is the default value for batch size style 2015-07-17 14:46:31 +02:00
Gunnar Morling e4781feb74 HHH-9244 Using collection owner name in exception message 2015-07-16 10:05:57 +02:00
Gunnar Morling 5e894c993b HHH-9926 Properly applying auto-quoting setting 2015-07-16 07:13:06 +02:00
Andrea Boriero ddac360d7a HHH-9907 - Close loadCtClassFromClass() InputStream 2015-07-13 10:46:18 +01:00
barreiro 57f9836e2a HHH-9907 - bytecode enhancer - fix resource path on windows 2015-07-09 06:05:20 +01:00
Steve Ebersole c44afee6dc HHH-9905 - JPA integration property "javax.persistence.validation.factory" not passed along to TypeSafeActivator 2015-07-08 11:02:02 -05:00
Steve Ebersole 02026dec78 HHH-3949 - Intrumentated to one relations can not be join fetched 2015-07-07 13:48:35 -05:00
Andrea Boriero 0e9a839ca1 HHH-9899 : Fix checkstyle errors 2015-07-07 16:39:40 +01:00
Gunnar Morling 710e1f0288 HHH-9899 Enable integrators to plug in custom MetadataBuilder and Metadata 2015-07-07 10:52:59 +02:00
Steve Ebersole 83f4d4b81d HHH-8558 - Bytecode enhancer: lazy loading support - checkstyle fix 2015-07-06 17:00:31 -05:00
Steve Ebersole ae070f32c9 HHH-9822 - Switch runtime JPA Class transformation to use new bytecode Enhancer 2015-07-06 16:28:28 -05:00
barreiro 9352546006 HHH-8558 - Bytecode enhancer: skip creation of proxy factory 2015-07-06 13:34:32 -05:00
barreiro 8053fa7698 HHH-8558 - Bytecode enhancer: fix classloading issues on testsuite 2015-07-06 13:34:32 -05:00
barreiro d5ed3a87c4 HHH-8559 - Bytecode enhancemer: add test for HHH-3949
Conflicts:
	hibernate-core/src/main/java/org/hibernate/tuple/entity/PojoEntityTuplizer.java
2015-07-06 13:34:31 -05:00
barreiro 44a02e5efc HHH-8558 - Bytecode enhancer: testsuite reorganization with added lazy loading tests 2015-07-06 13:34:31 -05:00
barreiro c6fa2b1df1 HHH-8558 - Bytecode enhancer: lazy loading support 2015-07-06 13:34:31 -05:00
Steve Ebersole 750d6fb090 HHH-9857 - Reuse of EntityEntry for bytecode enhanced read-only reference cached entities 2015-07-06 13:24:57 -05:00
John O'Hara 3a515b5d39 HHH-9857 - Reuse of EntityEntry for bytecode enhanced read-only reference cached entities 2015-07-06 13:24:57 -05:00
Andrea Boriero d29b55a31a HHH-9849 - Fix Duplicate column name for mixed case column name on schema update 2015-07-06 17:53:20 +01:00
Andrea Boriero 9024ff55d6 HHH-9849 - Add test for issue 2015-07-06 17:53:20 +01:00
Radim Vansa 2f1b67b03f HHH-9843 Use optimized cache key implementation in Infinispan 2LC
* When multi-tenancy is not used, entity's @Id can be used as key to the cache
* Added Type to CacheDataDescription (in SPI), later used for container key equivalence
* Introduced CacheKeysFactory to SPI
* Pending puts cache is now per region - this is necessary as we need to use custom key equivalence
2015-07-06 11:40:17 -05:00
Steve Ebersole 8e2d1a12ae HHH-9166 handle nested exceptions with TemplatedViolatedConstraintNameExtracte - fixed bad braces 2015-07-06 11:09:03 -05:00
Steve Ebersole 9b5bb9751c HHH-9887 - Make sure the JPA temp ClassLoader is not used to load Class definitions that are then held on to 2015-07-02 15:47:08 -05:00
Steve Ebersole 0d6393a8b1 HHH-9887 - Make sure the JPA temp ClassLoader is not used to load Class definitions that are then held on to 2015-07-02 02:50:12 -05:00
Gail Badner abd0461d34 HHH-8172 : @Embedded object containing a null attribute cannot be used as a query parameter (test case) 2015-07-01 21:32:56 -07:00
Radim Vansa e5f4b616d4 HHH-9840 Checkstyle fixes 2015-07-01 23:19:46 +01:00
Radim Vansa cffe71aeba HHH-9840 Change all kinds of CacheKey contract to a raw Object
* Replaced all CacheKey with Object
* Because of statistics, added unwrap operation to all AccessStrategies
2015-07-01 23:14:13 +01:00
Sanne Grinovero 16ae00a53a HHH-9840 Allow 2nd level cache implementations to customize the various key implementations 2015-07-01 20:42:51 +01:00
Sanne Grinovero 9ac0a343ac HHH-9840 Refactor org.hibernate.cache.spi.CacheKey into an interface 2015-07-01 20:42:51 +01:00
Sanne Grinovero ea82d09101 HHH-9885 The default ClassLoaderService implementation should handle java.lang.LinkageError 2015-07-01 15:06:40 +01:00
Brett Meyer 11ae0f72c8 HHH-9166 handle nested exceptions with TemplatedViolatedConstraintNameExtracter 2015-06-26 15:19:20 -04:00
Gail Badner d0d0963c18 HHH-2851 : ParameterTranslationsImpl fails to correctly determine parameter type 2015-06-17 15:41:19 -07:00
Gail Badner 1ec7688782 HHH-9862 : Multiple TREAT operators does not work properly for joined inheritance (test case) 2015-06-15 12:54:29 -07:00
Andrea Boriero 066e13cbb5 HHH-9866 - Fix Wrong join table column names generation with globally_quoted_identifiers 2015-06-14 15:52:43 +01:00
Andrea Boriero 5049c15c0b HHH-9866 - Add test for issue 2015-06-14 13:35:49 +01:00
Gail Badner 5eb4c0bdc5 HHH-9518 : Add tests for new warnings 2015-06-11 15:47:53 -07:00
Gail Badner f4f04901e2 HHH-9518 : Exception handling around collection session access needs to be improved 2015-06-11 11:58:06 -07:00
Steve Ebersole b272080645 HHH-9859 - ResourceLocalTransactionCoordinatorImpl#isJoined bad impl 2015-06-09 15:25:56 -05:00
Steve Ebersole 0ea03fd9a4 HHH-9856 - EntityManager.find() and getReference() throw incorrect exception for non-entity 2015-06-08 18:04:56 -05:00
Steve Ebersole 2b89553db5 HHH-9855 - Ignore non-entity classes listed as "managed classes" in persistence.xml 2015-06-08 14:24:14 -05:00
Gail Badner d0b429dc32 HHH-9851 : Limit handling is broken for dialects that don't support variable limit/offset 2015-06-05 14:13:29 -07:00
Steve Ebersole 30b260f14f HHH-9848 - Allow disabling auto-quoting of database object names (tables, columns, etc) 2015-06-05 13:43:10 -05:00
Steve Ebersole 5b1da92498 HHH-9838 - Leverage ClassLoaderService during JavassistLazyInitializer#getProxyFactory 2015-06-05 13:04:37 -05:00
Yann Diorcet c543cdbc07 DDL typo fix: Add only one space before unique keyword 2015-06-05 00:29:26 -04:00
Steve Ebersole 9e063ffa25 HHH-9837 - Remove reliance during annotation binding on org.hibernate.internal.util.ClassLoaderHelper
HHH-9841 - Redesign org.hibernate.property.PropertyAccessorFactory
2015-06-04 14:12:17 -05:00
Gail Badner 53a8b18ca8 HHH-9844 : org.hibernate.cache.spi.access.AccessType enum names are not valid values for hibernate.cache.default_cache_concurrency_strategy 2015-06-03 13:59:14 -07:00
Steve Ebersole 7fba0a00e9 HHH-9823 - org.hibernate.cfg.annotations.SimpleValueBinder#fillSimpleValue incorrectly using HCANN classloading directly 2015-05-27 15:33:12 -05:00
Gail Badner 4e2f7aeae4 HHH-9777 : Copy tests from AbstractDereferencedCollectionTest into subclasses 2015-05-27 18:09:10 +01:00
Gail Badner 93f56ecf5d HHH-9777 : Dereferenced collections are not processed properly
HHH-9777 : Dereferenced collections are not processed properly (test case changes only)
2015-05-27 18:09:10 +01:00
Gail Badner e07eef3db1 HHH-9777 : Dereferenced collections are not processed properly
HHH-9777 : Dereferenced collections are not processed properly (mark test as FailureExpected due to partial fix)
2015-05-27 18:09:10 +01:00
Gail Badner 82cdc82a48 HHH-9777 : Dereferenced collections are not processed properly (test cases) 2015-05-27 18:09:09 +01:00
barreiro 58fd078e50 HHH-9811 - Enforce uniqueness on EntityPersister#resolveAttributeIndexes 2015-05-27 12:07:19 -05:00
barreiro f795dfc2bc HHH-9811 - Change EntityPersister#resolveAttributeIndexes to take String[] 2015-05-27 12:07:19 -05:00
Steve Ebersole 5514aea2b4 HHH-9629 - l2 cache key constructed wrong for entity with inheritance when fetching lazy property 2015-05-27 11:52:40 -05:00
Steve Ebersole a51f300253 HHH-9820 - Handle JDBC drivers that do not properly report metadata regarding case of identifiers 2015-05-27 11:52:40 -05:00
Andrea Boriero d58ef6950c HHH-9287 - Fix Pooled optimizer identifiers clash with INSERT rows calling sequence directly 2015-05-27 16:31:13 +01:00
Andrea Boriero fff9a16a22 HHH-9798 - Fix Unique constraint of @JoinColumn in @JoinTable not generated 2015-05-27 16:00:41 +01:00
Andrea Boriero fdd7fb8080 HHH-9798 - Add test for Unique constraint of @JoinColumn in @JoinTable not generated 2015-05-27 16:00:40 +01:00
Steve Ebersole 905c79c65e HHH-9788 - SchemaUpdate and quoted identifiers causes tables/columns to not be found based on name search 2015-05-26 16:08:27 -05:00
Svein bb2833bafc HHH-8854 Resolve any TypeVariables to Class or ParameterizedType when
creating AttributeConverterDefinition
2015-05-21 11:49:56 -05:00
Svein b5845138e6 HHH-8854 Create AttributeConverterDefinition even if AttributeConverter
is only implemented via superclass or interface
2015-05-21 11:49:56 -05:00
Steve Ebersole acea523607 HHH-9806 - Bytecode-enhancement-based dirty tracking does not work because PersistentAttributeInterceptor is never injected 2015-05-20 11:44:31 -05:00
Steve Ebersole 14fc8859fe HHH-9745 - ClassCastException in hbm2ddl update and validate 2015-05-19 22:04:20 -05:00
Andrea Boriero 6d0549b448 HHH-9772 - Add @Retention( RUNTIME) so ListIndexBase annotation is available to AnnotationBinder 2015-05-19 19:18:20 +01:00
Andrea Boriero 8368f93e0c HHH-9803 - Fix compilation erorr: ackage instead of package 2015-05-19 12:24:24 +01:00
Steve Ebersole bd256e4783 HHH-9803 - Checkstyle fix ups - headers 2015-05-18 23:25:14 -05:00
Steve Ebersole d5951c6e02 HHH-9803 - Checkstyle fix ups 2015-05-18 21:49:44 -05:00
Steve Ebersole 5f36892a10 HHH-9803 - Checkstyle fix ups 2015-05-18 14:34:48 -05:00
Steve Ebersole 611f8a0e1c HHH-9803 - Checkstyle fix ups 2015-05-18 13:35:27 -05:00
Steve Ebersole bbfacee64d HHH-9803 - Checkstyle fix ups 2015-05-18 01:48:39 -05:00
Steve Ebersole 7308e14fed HHH-9803 - Checkstyle fix ups 2015-05-15 18:07:07 -05:00
Andrea Boriero e4e76ba23b HHH-9765 - Re-introduce ExceptionMapper, ManagedFlushChecker and AfterCompletionAction 2015-05-15 14:50:44 -05:00
Steve Ebersole 2827a59f2d HHH-9788 - Schema generation re-triggered where it should not be 2015-05-15 13:46:58 -05:00
Steve Ebersole 329e85b0b0 HHH-9797 - Inaccurate warnings logged about duplicate joins (HHH000072) 2015-05-14 11:52:56 -05:00
Steve Ebersole b605c3534e HHH-9790 - Remove deprecated methods from Session and SessionFactory 2015-05-13 11:55:02 -05:00
Steve Ebersole b8f43a8c12 HHH-9795 - Create delegating base class for SessionFactory(Implementor) implementations 2015-05-13 11:01:24 -05:00
Steve Ebersole 13736ab5da HHH-9790 - Remove deprecated methods from Session and SessionFactory 2015-05-13 09:03:44 -05:00
Steve Ebersole 48cafb2664 HHH-8804 - Ability to use parametrized type as AttributeConverter type parameter 2015-05-12 23:34:27 -05:00
Svein 99e1250e4e HHH-8804 AttributeConverterDefinition now extracts the raw class from
parameterized type arguments to AttributeConverter
2015-05-12 23:34:27 -05:00
Steve Ebersole 23794bf294 HHH-9792 - Clean up missed Configuration methods 2015-05-12 23:09:58 -05:00
Steve Ebersole 288f490418 HHH-9761 - Make native APIs typed;
HHH-9790 - Remove deprecated methods from Session and SessionFactory
2015-05-12 22:56:37 -05:00
Andrea Boriero dc0f77a236 Fix JdbcCoordinatorImpl impl of TransactionCoordinatorOwner#isActive() 2015-05-12 16:09:02 -05:00
Sanne Grinovero f3247cf3dd HHH-8898 Apply the auto-closeable also to StatelessSession and HibernateIterator 2015-05-12 14:17:26 +01:00
Sanne Grinovero d7bf58e318 HHH-8898 Change the ScrollableResults API to enable auto-closeable when running on Java7 2015-05-12 13:51:27 +01:00
Sanne Grinovero 4d70a29e58 HHH-8898 Change the SessionFactory API to enable auto-closeable when running on Java7 2015-05-12 13:51:27 +01:00