Commit Graph

2735 Commits

Author SHA1 Message Date
magdalena bbaeaa6c58 enable query hints for SQL Server 2012 2015-01-03 13:38:29 +01:00
George Gastaldi 1b9cd19ca7 HHH-9545: H2Dialect should use 'if exists' when dropping constraints 2014-12-19 11:47:38 +00:00
George Gastaldi 7854bc6769 HHH-9500: H2Dialect shoud not drop constraints
The constraints are automatically dropped when the table is also dropped.
Trying to drop a constraint on a table that doesn't exist present unnecessary error messages.
2014-12-18 11:46:04 +00:00
Gail Badner 493808ddc1 HHH-8401 : Unit test fixes
(cherry picked from commit 45511f10ae)
2014-12-17 23:32:43 -08:00
George Gastaldi 60d4fe5001 HHH-6670: H2Dialect should use "if exists" when dropping sequences 2014-12-17 16:08:40 +00:00
Gail Badner fa8383a22e HHH-8401 : Support fractional seconds on MySQL 5.7
(cherry picked from commit fe94cda1d1)
2014-12-16 21:18:14 -08:00
Gail Badner c068b6f70c HHH-9091 : Cascaded collection delete fails due to wrong execution sequence (test case)
(cherry picked from commit 3b57f1612d)
2014-12-02 22:08:29 -08:00
Andrej Golovnin fb15ee548c HHH-9328 Avoids creation of Cascade objects at all
by converting all methods of the Cascade class into
static methods.
2014-11-27 20:43:44 +01:00
Gail Badner 2105f2a49d HHH-9330 : Test cases for orphanRemoval=true does not work in bidirectional relationships (without cascading)
(cherry picked from commit 1ff9edfb81)
2014-11-26 16:13:49 -08:00
Gail Badner 68838823bd HHH-9330 : orphanRemoval=true does not work in bidirectional relationships (without cascading)
(cherry picked from commit ef3550eed5)
2014-11-26 16:13:49 -08:00
Sanne Grinovero fa90757f04 HHH-9508 Improve trace logging in ActionQueue 2014-11-18 11:53:33 +00:00
Sanne Grinovero 498214b569 HHH-9508 Avoid source syntax which doesn't work in Eclipse 2014-11-18 11:53:29 +00:00
Gunnar Morling 9a881907f5 HHH-9479 Avoiding array list growth in ActionQueue constructor 2014-11-11 14:51:30 +01:00
Steve Ebersole c7f58ab57e HHH-9488 - Move scanning from HEM to core 2014-11-07 15:36:44 -06:00
Steve Ebersole d9fc06b7db HHH-9487 - Improve AvailableSettings javadoc for session_factory_name / session_factory_name_is_jndi 2014-11-07 11:01:18 -06:00
Steve Ebersole aac8afa090 HHH-9476 - bytecode-enhanced lazy to-one does not force selection of foreign-key column(s) when association is fetched 2014-11-07 09:14:21 -06:00
Steve Ebersole 66ce8b7fb5 HHH-9466 - Drop metamodel package from source 2014-10-30 07:43:55 -05:00
Gail Badner b943525c80 HHH-9388 : fix Entity Manager bug explicitly enabling ImprovedNamingStrategyDelegator/LegacyNamingStrategyDelegator 2014-10-22 13:46:15 -07:00
Gail Badner 460e966214 HHH-9455 : Unnecessary select count query in some cases
(cherry picked from commit 552c1c06d5)
2014-10-21 13:45:37 -07:00
Gail Badner 52f2c3a002 HHH-9388 HHH-7079 : Default collection table and foreign key names are incorrect in some cases; deprecate NamingStrategy
(cherry picked from commit e5a31caa09)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/HbmBinder.java
	hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/MyNamingStrategyDelegator.java
2014-10-20 22:55:40 -07:00
Gail Badner 1cba98022e HHH-9388 HHH-7079 : Default collection table and foreign key names are incorrect in some cases; deprecate NamingStrategy
(cherry picked from commit 36576046b8)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/Ejb3JoinColumn.java
	hibernate-core/src/main/java/org/hibernate/cfg/HbmBinder.java
	hibernate-core/src/main/java/org/hibernate/cfg/Mappings.java
	hibernate-core/src/main/java/org/hibernate/cfg/annotations/EntityBinder.java
	hibernate-core/src/main/java/org/hibernate/cfg/annotations/TableBinder.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/IdentifierGeneratorResolver.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/AvailableSettings.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java
2014-10-20 22:18:05 -07:00
jmoore c60c97b468 HHH-3868 Fix null pointer exception on merge of entity with transient component 2014-10-17 15:01:35 +01:00
Maxim Frolov 83f29d1e1a HHH-8895: fixed 2014-09-30 15:40:40 +01:00
Andrea Boriero d85f2c8d03 HHH-8895 Add test 2014-09-30 15:40:40 +01:00
andreas fff49977ab HHH-9369 Fix @Formula of enum type results in ClassCastException 2014-09-18 11:15:16 +01:00
Sanne Grinovero 193c8cef20 HHH-9344 Convert QueryLoader to use nanoTime instead of currentTimeMillis 2014-09-17 14:27:56 +01:00
Sanne Grinovero 16b067cd7d HHH-9344 Convert Loader to use nanoTime instead of currentTimeMillis 2014-09-17 14:27:56 +01:00
Sanne Grinovero 0d1460cc1e HHH-9344 Convert QueryTranslatorImpl to use nanoTime instead of currentTimeMillis 2014-09-17 14:27:55 +01:00
Sanne Grinovero 23936fd510 HHH-9344 Convert DefaultResolveNaturalIdEventListener to use nanoTime instead of currentTimeMillis 2014-09-17 14:27:55 +01:00
Sanne Grinovero 067e38a78b HHH-9344 Remove dead code from BatchTest 2014-09-17 14:27:55 +01:00
Sanne Grinovero 42cd3ff2cf HHH-9344 Guard against unneeded invocation to System.currentTimeMillis() in HQLQueryPlan 2014-09-17 14:27:55 +01:00
Gail Badner d4d5fcc9e2 HHH-9390 : Default join column name (FK) for @ManyToMany uses owning entity primary table name (test cases) 2014-09-11 12:52:52 -07:00
Gail Badner f2ae61abf6 HHH-9387 HHH-9389 : Default collection table and join column names generated for @ElementCollection (test cases)
HHH-9387 HHH-9389 : Default collection join column names generated for @ElementCollection (test cases)
2014-09-11 12:51:18 -07:00
Gail Badner c63bc19d8a HHH-9327 : NamingStrategy regression (reverts HHH-9280)
(cherry picked from commit 30c6e060db)
2014-09-10 13:22:29 -07:00
Christian Beikov 4505843f02 Added regression test for HHH-9327
(cherry picked from commit 3da903f064)
(cherry picked from commit 1df6c45f8a)
2014-09-10 13:22:07 -07:00
Gail Badner 35edd56907 HHH-8839 : Eager Map with entity key causes IllegalStateException: Collection element (many-to-many) table alias cannot be empty 2014-08-18 14:00:02 -07:00
Gail Badner 153c4e32ef HHH-9090 : HQL parser is trying to reuse parent implied join for subquery 2014-08-12 16:11:54 -07:00
Steve Ebersole 72e9645d4b HHH-9312 - Database connection leak with JTA transaction tracking and background thread not releasing database connection
(cherry picked from commit 9e1afbaf49)
2014-08-04 13:35:08 -05:00
Gail Badner a0663f0d6c HHH-9305 : HQL FromElement is not reused in some cases resulting in an additional join 2014-07-29 17:10:21 -07:00
Brent Plump d511980072 HHH-9290 : Do not truncate HT_ temporary table name prefix on Oracle 2014-07-28 09:12:11 -04:00
Sanne Grinovero 32403f3ac3 HHH-9288 Restore removed method ServiceRegistryBuilder#buildServiceRegistry used by Tools 2014-07-14 15:57:03 +01:00
Gail Badner 25575d2e7d HHH-9282 : Revert HHH-9222 on 4.3 branch 2014-07-09 22:28:54 -07:00
Gail Badner 365bfe99d8 HHH-8310 : Lob proxy class loading problem 2014-07-09 19:31:50 -07:00
Gail Badner 4007655045 HHH-5811 : Flush causes update query on field of type Byte[] 2014-07-09 17:11:09 -07:00
Gail Badner ccffe0dea9 HHH-9280 : Table name generated for @ElementCollection uses owning entity class name instead of mapped entity name 2014-07-09 15:08:31 -07:00
Steve Ebersole ee0cf672d7 HHH-6005 - DefaultComponentSafeNamingStrategy breaks @ElementCollection of @Embeddables - testcase 2014-07-09 14:06:14 -05:00
Gunnar Morling 953260e0ae HHH-8683 Adapting unit test to changed deserialize() method in 4.3 2014-07-09 16:48:53 +02:00
Gunnar Morling b95b8514d8 HHH-8683 Making EnumState a parameterized class, thus allowing to access its value more safely 2014-07-09 15:29:19 +01:00
Gunnar Morling 4a38b25ec1 HHH-8683 Caching enum constants to avoid memory allocation by repeated calls to getEnumConstants() 2014-07-09 15:29:19 +01:00
Gunnar Morling 5ad2663d12 HHH-8683 Adding test for setting/getting attributes in compressed state int 2014-07-09 15:29:19 +01:00
Emmanuel Bernard dedd24afc2 HHH-8683 Class org.hibernate.engine.spi.EntityEntry consumes lots of memory 2014-07-09 15:29:15 +01:00
Gunnar Morling d84c6b35aa HHH-8237 Applying type configured via @ColumnMapping#type() for constructor results 2014-07-09 10:44:51 +02:00
Gunnar Morling 14c00abd6a HHH-8237 Applying type configured via @ColumnMapping#type() for scalar results 2014-07-09 10:44:51 +02:00
Gail Badner 4851ab01df HHH-9231 : Avoid updating collection 2LC if contains entity added in tx 2014-07-07 19:03:58 -07:00
Galder Zamarreño 36e35207f6 HHH-9231 Avoid updating collection 2LC if contains entity added in tx
(cherry picked from commit 3b098a94d3463086a230d6dbc1254e9ecbf76cda)

Conflicts:
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/BasicTransactionalTestCase.java
2014-07-07 19:03:58 -07:00
Gail Badner 31bcb0ea0a HHH-9106 : Merging multiple representations of the same entity (logging) 2014-07-03 11:46:56 -07:00
Gail Badner 368cdc1966 HHH-9106 : Merging multiple representations of the same entity (tests using StrategySelector) 2014-07-03 11:21:26 -07:00
Gail Badner 6203b5da30 HHH-9106 : Merging multiple representations of the same entity (using StrategySelector) 2014-07-02 14:50:26 -07:00
Emmanuel Bernard ceaf2e320f HHH-9269 Store persister to ReferenceCacheEntryImpl to avoid costly lookup at read time 2014-07-02 11:40:58 +02:00
Sanne Grinovero 3b284d797a HHH-9268 The NoopOptimizer used for default id generation doesn't need synchronization 2014-07-02 00:51:52 +02:00
Steve Ebersole 4780f117c5 HHH-9090 - HQL: parser is trying to reuse parent implied join for subquery
(cherry picked from commit 133f0825a3)
2014-06-23 11:06:22 -05:00
Gail Badner 3a8041953d HHH-9106 : (corrected test case to work on MySQL) 2014-06-19 00:32:00 -07:00
Gail Badner ea5068ea76 HHH-9234 : Test failure (testNaturalIdChangedWhileAttached) on SAP/SYBASE ASE
(cherry picked from commit 257efd1025)
2014-06-18 17:15:11 -07:00
Gail Badner 10e4ff5afb HHH-9106 : Merging multiple representations of the same entity (improved logging)
(cherry picked from commit fed3191eb7)
2014-06-17 12:37:19 -07:00
Gail Badner 2daaf9a196 HHH-9106 : Merging multiple representations of the same entity 2014-06-12 20:04:44 -07:00
Gail Badner c7c5b015c1 HHH-9239 HHH-9240 : FailureExpected test cases when merging entity copies with dirty collections 2014-06-12 14:50:45 -07:00
Gail Badner 70532259fa HHH-9106 : Merging multiple representations of the same entity merged 2014-06-12 01:46:23 -07:00
Brett Meyer e520c1c2c0 HHH-9215 HHH-9214 HHH-9213 correcting Sybase test failures 2014-05-30 14:49:22 -04:00
Brett Meyer a39eeed257 HHH-9202 NPE in OneToOneLinkTest on oracle12c 2014-05-27 21:52:32 -04:00
Steve Ebersole d36b3a3e97 HHH-9222 - Bulk delete and element collections 2014-05-27 15:43:24 -05:00
Gail Badner 420296fd26 HHH-9204 HHH-9205 : Restore AbstractCollectionPersister.doProcessQueuedOps() removed by HHH-9078; deprecate method added by HHH-9078 2014-05-27 13:00:19 -07:00
Gail Badner f549b88831 HHH-9171 : Orphan removal does not happen for new entity element 2014-05-27 12:19:04 -07:00
Brett Meyer 4ea068f2e9 HHH-8818 TcclSafeAggregatedClassLoader 2014-05-27 10:24:32 -04:00
Brett Meyer ab8dd7966a HHH-9145 simplified JDBC check 2014-05-23 17:53:34 -04:00
begmandev 3c776321db HHH-9145 Use JDBC Wrapper API for type checks 2014-05-23 17:53:31 -04:00
Lukasz Antoniak 64a27ccada HHH-9203 - ConcurrentNaturalIdCacheStatisticsImpl#getEntries() fails
with ClassCastException

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/cached/CachedMutableNaturalIdStrictReadWriteTest.java
2014-05-23 17:53:29 -04:00
Lukasz Antoniak 478e2e26eb HHH-9201 - Evict cache instead of remove after transaction completion 2014-05-23 17:53:27 -04:00
Brett Meyer f4fe4108a9 HHH-8941 simplified the dialect function 2014-05-23 17:53:19 -04:00
dodgex d7347c3f48 [HHH-8941] add SQLFunctionTemplate for replace() to FirebirdDialect
Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/FirebirdDialect.java
2014-05-23 17:52:35 -04:00
Steve Ebersole d3f75ea0d9 HHH-9138 - CastFunctionTest failing on most databases
(cherry picked from commit c012c4d8de)
2014-05-22 11:03:51 -05:00
Steve Ebersole 14053b5928 HHH-9190 : consolidate contracts
(cherry picked from commit fbe72e7b64)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/query/spi/ParameterMetadataRecognizerInitiator.java
2014-05-22 09:49:34 -05:00
Gunnar Morling ac06799a55 HHH-9190 Introducing QueryPlanFactory service contract in order to make creation of native query plans customizable 2014-05-21 09:24:02 -05:00
Gunnar Morling ccdf6df3d6 HHH-9190 Introducing ParameterMetadataRecognizer contract in order to make retrieval fo parameter meta-data for native queries customizable 2014-05-21 09:24:02 -05:00
Lukasz Antoniak 07bc5ce877 HHH-9200 - Natural id cache statistics are not cleared 2014-05-19 13:57:18 -04:00
Steve Ebersole fdf2ae3df5 HHH-9154 - keywords as parameter names
gah... missed in initial commit for cherry-pick
2014-05-15 09:24:37 -05:00
Steve Ebersole 1ed895a373 HHH-9154 - keywords as parameter names
(cherry picked from commit 5aff092e2bd06bcfc18eb6eec9983b2f97237d64)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java
2014-05-15 09:23:26 -05:00
Gail Badner eeeb4a884f HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.MIN_VALUE 2014-05-14 15:05:59 -07:00
Gail Badner 32054d8603 HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.MIN_VALUE 2014-05-13 23:59:53 -07:00
Gail Badner fcaa6e8780 HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.MIN_VALUE 2014-05-13 22:42:28 -07:00
Gail Badner 56bcf3ae7f HHH-9154 : HQL Parsing: unexpected token ':' (test case) 2014-05-13 15:49:20 -07:00
Brett Meyer 656997a82c HHH-9174 cache SqlExceptionHelper reference 2014-05-09 12:35:06 -04:00
Brett Meyer 8a2a78ff33 HHH-9170 StatelessSession is accidentally 2LC enabled in some cases 2014-05-09 12:28:47 -04:00
Brett Meyer 5979046d05 HHH-9174 Increase performance
of SqlExceptionHelper#handleAndClearWarnings
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/SqlExceptionHelper.java
2014-05-09 12:28:42 -04:00
Gail Badner 61d2c0c049 HHH-9171 : Orphan removal broken for new element added by merge that is removed by later merge (test case) 2014-05-07 16:16:10 -07:00
Brett Meyer 24b041986d Revert "HHH-3730 Compare both ids in isModified instead of an object and an id"
This reverts commit c7903392cd.
2014-04-21 09:45:01 -04:00
Guillaume Smet c7903392cd HHH-3730 Compare both ids in isModified instead of an object and an id 2014-04-21 08:49:37 -04:00
msulima ee8f26a4be HHH-9136 - DatabaseMetadata: NPE hides exception in finally block
- Protection against NPE in finally block
- Little formatting fixes
2014-04-21 08:43:32 -04:00
Steve Ebersole 025d2e2f44 HHH-8980 - Instance of super-class not found because of joined subclass reference is an inner join
(cherry picked from commit 651b23b173)
2014-04-08 16:41:09 -05:00
Brett Meyer f6399cd159 HHH-9107 throw WrongClassException if attempting to load incorrect
subclass from 2lc
2014-04-08 11:19:24 -04:00
Gail Badner d997265b26 HHH-9106 : Multiple detached representations of the same entity cannot be merged 2014-04-07 16:02:33 -07:00
Steve Ebersole cbc79c2d61 HHH-9100 - Improve CAST function support
(cherry picked from commit 137c2daf81)
2014-04-07 14:09:47 -05:00
Brett Meyer b861b4d29f HHH-9104 corrected BasicHibernateAnnotationsTest.testFilterOnCollection
test data cleanup
2014-04-07 14:18:22 -04:00
Brett Meyer 03586f3b7b HHH-9103 Dialect resolver should use a newer Oracle dialect for
Oracle12c
2014-04-07 11:09:40 -04:00
Steve Ebersole 92ae4ac417 HHH-9100 - Improve CAST function support
(cherry picked from commit 6ffbf8f3f3)
2014-04-03 13:07:30 -05:00
Steve Ebersole bbd2f1ae5b HHH-4700 - ClassCastException with parameter in CaseNode.getFirstThenNode()
(cherry picked from commit efa5dc2f6c)
2014-04-03 13:07:15 -05:00
Gail Badner decb673bdd HHH-9089 : Test case that shows annotations on fields in nested embeddable collection elements are ignored 2014-03-27 20:01:39 -07:00
Steve Ebersole 33aeb4f7c2 HHH-8923 - Reconsider closing of ServiceRegistry instances
Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java
2014-03-26 12:28:06 -04:00
Brett Meyer 2c88c3998b HHH-8923 corrected test case 2014-03-26 09:33:10 -04:00
Steve Ebersole daf120b063 HHH-8923 - Reconsider closing of ServiceRegistry instances 2014-03-26 09:33:07 -04:00
Brett Meyer 1ec115c0d6 HHH-9078 correct OrderColumn indexes for inverse, extra lazy collections 2014-03-24 13:24:35 -04:00
Steve Ebersole 0e6ed807fb HHH-7971 - Enabling ENABLE_LAZY_LOAD_NO_TRANS results in trying to remove elements in collections
(cherry picked from commit 6f342358db)
2014-03-21 13:32:00 -05:00
Alexander-Dukhno 50c12d98b2 HHH-7971 create regression test case for lazy loading with property ENABLE_LAZY_LOAD_NO_TRANS = true
(cherry picked from commit 30205607ef)
2014-03-21 13:31:42 -05:00
Guillaume Smet a86acaf010 HHH-9072 Fix name property of LoadEventListener.RELOAD 2014-03-21 10:46:31 -05:00
Steve Ebersole c5bdec20b9 HHH-9071 - Proxy narrowing loses the initialized state of the original proxy 2014-03-21 09:59:43 -05:00
Guillaume Smet 2cf52cc7f1 HHH-9071 When an already initialized proxy is narrowed, initialize the new proxy 2014-03-21 09:59:43 -05:00
Steve Ebersole 156bebd8a1 HHH-8816 - Unable to instantiate AttributeConverter: root cause of exception hidden 2014-03-20 09:47:54 -05:00
Steve Ebersole d023c7c95c HHH-8816 - Unable to instantiate AttributeConverter: root cause of exception hidden 2014-03-20 09:33:00 -05:00
Steve Ebersole 1178e70034 HHH-1582 : post-commit listeners and failed transactions 2014-03-17 15:00:31 -05:00
Shawn Clowater c6ca3a4ef2 HHH-1582 - Added explicit PostCommit(Insert|Delete|Update)EvenLister interfaces to allow for separation of success/fail handling in post commit events.
Maintained current behavior by having the Entity actions call the existing API unless using one of the new interfaces.  Added 2 test cases, 1 using the new interfaces and 1 using the existing interfaces.
2014-03-17 15:00:31 -05:00
Brett Meyer ccdddf4682 HHH-9051 removing unnecessary System.out.println 2014-03-17 15:43:54 -04:00
Brett Meyer a9c0fd3243 HHH-9057 Correct ObjectNameNormalizer for mssql-style quoting 2014-03-17 15:12:43 -04:00
Brett Meyer 514f096061 HHH-9056
OneToOneTest.testPkOneToOneSelectStatementDoesNotGenerateExtraJoin fails
on oracle and postresql
2014-03-17 15:12:43 -04:00
Brett Meyer 7b349a2be8 HHH-9054 QuoteTest violates unique key constraint on some DBs 2014-03-17 15:12:43 -04:00
Brett Meyer 1f3ff4ba95 HHH-9052 ASTParserLoadingTest.testBooleanPredicate fails on most
databases
2014-03-17 15:12:42 -04:00
Gail Badner 63881f137e HHH-9002 : Fetch many-to-many order by 2014-03-14 15:57:05 -07:00
Libor Ondrusek 7ca36585a9 HHH-9040 Added halt on error support for scripts importing
Conflicts:
	hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaExport.java
2014-03-12 17:04:17 -04:00
Brett Meyer 68918d29a3 HHH-8374 test case 2014-03-12 16:04:41 -04:00
sndyuk a689354db6 HHH-8374: Treat an entity wrapped by hibernate proxy equals a raw entity 2014-03-12 16:01:58 -04:00
Jorgen Rydenius 5a78f26d3b HHH-9037 Simplified debugging by improving the ClassCastException message from JavassistLazyInitializer. 2014-03-12 13:19:54 -04:00
Brett Meyer 8a4d736031 HHH-9034 ASTParserLoadingTest fails with postgresplus92 2014-03-12 12:52:54 -04:00
Brett Meyer 60f4e6cf28 HHH-9028 corrected Session#get for caching w/ polymorphism, improved
tests
2014-03-07 12:15:06 -05:00
Guillaume Smet 5d3ed89462 HHH-9028 Test case: when second level cache is enabled, the session returns the objects even if the class doesn't match 2014-03-07 10:56:16 -05:00
Brett Meyer 11e918f39b HHH-9024 correct TypedValue transients during de-serialization 2014-03-06 12:15:11 -05:00
Brett Meyer 69e25f5280 HHH-7072 correcting test failure 2014-03-04 17:19:03 -05:00
Brett Meyer 171e214458 HHH-7072 force recreation of element collections of components with all
nullable properties
2014-03-04 16:29:17 -05:00
Brett Meyer fab8b3a04a HHH-9017 correct HSQL pooled sequences 2014-03-04 09:55:40 -05:00
Brett Meyer f51fead739 HHH-9010: Revert "HHH-8961 Reduce allocation cost of org.hibernate.cache.spi.CacheKey instances"
This reverts commit f69e1a6b9f.
2014-02-28 14:00:26 -05:00
Sanne Grinovero ac16473511 HHH-9003 Avoid allocating arrays in most methods of ComponentType 2014-02-26 19:01:28 -05:00
Sanne Grinovero 64f6ea7d61 HHH-8950 Avoid repeated array allocation for sqlTypes 2014-02-26 19:01:26 -05:00
Brett Meyer b840a9edc8 HHH-8878 corrected id conflict in CoreMessageLogger 2014-02-26 18:55:09 -05:00
Sanne Grinovero 0f4886d63a HHH-8878 Remove some dead code 2014-02-26 18:51:32 -05:00
Sanne Grinovero 8826c30371 HHH-8878 Avoid hot allocation in PooledLoOptimizer
Conflicts:
	hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java
2014-02-26 18:51:27 -05:00
Sanne Grinovero 5b2bd9aa48 HHH-8878 Fix logged message about PooledLoOptimizer being created
Conflicts:
	hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java
2014-02-26 18:47:52 -05:00
Sanne Grinovero 5475d9f964 HHH-9001 Unnecessary Stack object being allocated in
org.hibernate.engine.internal.Cascade

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java
2014-02-26 17:41:22 -05:00
Brett Meyer 84f6fde1b3 Revert "HHH-8945 introduced "hibernate.session.initial_capacity" to reduce"
This reverts commit 949adc92c2.
2014-02-26 17:22:05 -05:00
Brett Meyer 927c2031d1 Revert "HHH-8945 increased default map size"
This reverts commit d3d2c4c549.
2014-02-26 17:21:55 -05:00
Sanne Grinovero 34a45c5722 CheckStyle: Improve formatting of org.hibernate.event.spi.LoadEvent 2014-02-24 17:06:28 +00:00
Sanne Grinovero 49e28ee34e HHH-8984 Reintroduce the previous EntityEntry constructor as a deprecated delegate (for stable branches only) 2014-02-24 16:51:14 +00:00
Sanne Grinovero 70a7c7a821 HHH-8984 EntityEntry slimming: remove EntityMode and tenantId fields 2014-02-24 16:47:29 +00:00
Sanne Grinovero 5bdef580bd HHH-8991 Cache lookup of identifier Type and associated EntityPersister for each EntityType 2014-02-24 15:24:07 +00:00
Furkan Kamaci de927ce547 HHH-8989
Logic mismatch between AbstractQueryImpl and LimitHelper for setMaxResults(0) is fixed.
2014-02-20 14:50:23 -05:00
Brett Meyer a7b4d6dcb2 HHH-8983 log/clear Statement warnings on JdbcCoordinator#release 2014-02-18 22:08:47 -05:00
Sanne Grinovero 85e158d161 HHH-8977 Guess reasonable size for ArrayList and IdentitySet for Query perform 2014-02-18 15:01:28 -05:00
Brett Meyer d3d2c4c549 HHH-8945 increased default map size 2014-02-18 14:53:34 -05:00
Sanne Grinovero 11ab464d9b HHH-8954 Avoid LockOptions allocation in LoadEvent unless strictly required 2014-02-18 14:49:52 -05:00
Sanne Grinovero f69e1a6b9f HHH-8961 Reduce allocation cost of org.hibernate.cache.spi.CacheKey instances
Remove tenantId field from CacheKey: use a different type when tenants are needed.
Also remove the Type as we should be able to rely on the entityOrRoleName String.
2014-02-18 14:41:38 -05:00
Sanne Grinovero af5804a49c HHH-8939 Reduce contention on initialization of ColumnNameCache instances by loaders 2014-02-18 14:28:51 -05:00
Brett Meyer 949adc92c2 HHH-8945 introduced "hibernate.session.initial_capacity" to reduce
StatefulPersistenceContext's Map#resize calls
2014-02-12 13:27:11 -05:00
Andrej Golovnin bc8533366a HHH-8950 Avoid useless creation of an array in #getColumnSpan(Mapping). 2014-02-12 13:22:12 -05:00
Brett Meyer 61fb660907 HHH-8814 simplified the test a bit 2014-02-12 13:01:16 -05:00
Benoit GUERIN 6660bd8d37 HHH-8814 : test case 2014-02-12 13:01:14 -05:00
Benoit GUERIN 37c4e172af HHH-8814 : Sequence generators on HSQLDB starts on 1 by default 2014-02-12 13:00:57 -05:00
Brett Meyer fa707a7de7 HHH-8946 corrected bug in register(ResultSet, Statement), improved
javadoc
2014-02-11 15:16:23 -05:00
Sanne Grinovero f3da202b4c HHH-8946 Optimize JdbcCoordinatorImpl for CPU performance
- unnecessary HashMap lookups
- size HashMap allocations appropriately
- a leak of tracked statements
- complex logging logic
2014-02-11 14:54:17 -05:00
Sanne Grinovero 7f9dc27de9 HHH-8947 Refactor also the Alternative registry to use the new ConcurrentServiceBinding 2014-02-11 14:20:06 -05:00
Sanne Grinovero 324d5536e4 HHH-8947 Optimize performance of ServiceRegistry for intense lookup, small contents and almost no writes 2014-02-11 14:20:00 -05:00
Brett Meyer cb58f0bd68 HHH-3482 corrected imports 2014-02-10 17:25:09 -05:00
Brett Meyer b97a1b3749 HHH-3482 formatting 2014-02-10 17:10:37 -05:00
mukhanov b47dd338d2 HHH-3482 Fixed StatelessSession inserting bug + test 2014-02-10 17:10:35 -05:00
Brett Meyer 76aede601f HHH-8845 formatting 2014-02-10 16:40:46 -05:00
Paul Lysak 6329be56ff HHH-8845 - More informative error message 2014-02-10 16:40:44 -05:00
akotlyarov 9f215c8475 HHH-7205: Added catching exception for executing session.get when session cache contains proxy for non-existing object 2014-02-10 16:33:34 -05:00
Brett Meyer acd7c3046f HHH-7205 test assertion 2014-02-10 16:33:32 -05:00
akotlyarov 2ecd96158e HHH-7205: Added test to show bug exists when execute session.get after session.load for not-existing entity 2014-02-10 16:33:29 -05:00
Thomas Jones-Low 4656176ea9 HHH-8900 annotations OneToOne test fail with some sequence supporting
dialects

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/annotations/onetoone/OneToOneTest.java
2014-02-10 12:11:49 -05:00
Brett Meyer 0fa057c150 HHH-8921 in-memory value generation (INSERT) only works if
hibernate.id.new_generator_mappings is enabled
2014-02-07 11:50:46 -05:00
Brett Meyer 29cf10b3e2 HHH-8942 log level checks should not be static 2014-02-07 11:16:24 -05:00
Sanne Grinovero 3e40bfab12 HHH-8942 Micro polishing in hot method of TransactionCoordinatorImpl
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/TransactionCoordinatorImpl.java
2014-02-07 11:10:56 -05:00
Brett Meyer 629b653cc7 HHH-8922 ClassLoaderServiceImpl#getResources should use LinkedHashSet to
preserve ordering
2014-02-07 10:03:39 -05:00
Brett Meyer bbe4714196 HHH-8942 reorganized TransactionCoordinatorImpl#attemptToRegisterJtaSync
to further reduce log level checks
2014-02-07 09:57:16 -05:00
Brett Meyer 687682a620 HHH-8942 reduced logging hits in TransactionCoordinatorImpl 2014-02-06 14:05:13 -05:00
Brett Meyer 4fd5bc25b9 HHH-8747 evictQueryRegions should evict the default region 2014-02-04 12:32:16 -05:00
Brett Meyer 2a55763e40 HHH-8822 ValueHolder fields need to be transient if owned by a
Serializable class

Conflicts:
	hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetadataImpl.java
2014-01-30 11:52:27 -05:00
Steve Ebersole 556e31fb2d HHH-8853 - Tomcat jdbc-pool interceptor exception
(cherry picked from commit 86d5ab0d818b8029cc5e0310ae5c64338d0f47ef)
2014-01-29 07:50:43 -06:00
Brett Meyer 99e6883d1c HHH-8903 bi-directional fetches in entity graphs 2014-01-28 16:44:05 -05:00
Lukasz Antoniak 522ce1d974 HHH-8243 HHH-8329 - Avoid flushing in validity audit strategy
(cherry picked from commit f0bd12f823)
2014-01-28 13:36:48 -06:00
Brett Meyer d59387cd01 HHH-8864 count distinct tuples for postgres and h2 2014-01-22 15:18:20 -05:00
Jesse Sightler dcad957f19 HHH-8884 : Made this only remove "and " and " and"
Made this only remove "and " and " and" as otherwise tables named "android" end up being queried as "roid".
(cherry picked from commit 84b032da1d)
2014-01-21 19:04:18 -06:00
Brett Meyer 0765dcee54 HHH-2988 test case 2014-01-20 20:03:00 -05:00
davidmuzik 01a2ca7ec1 HHH-2988 Update UnionSubclassEntityPersister column quoting 2014-01-20 20:02:58 -05:00
Henrik Hoffmann 61c66f1d2c HHH-8850 - fixed ex. when calling addScalar to NamedSQLQuery
changed list instanciation from java.util.Arrays.ArrayList to
java.util.ArrayList when creating SQLQueryImpl from an
NamedSQLQueryDefinition.

added testcase
2014-01-16 01:25:33 -05:00
Brett Meyer 7c69c7fb95 HHH-8855 HHH-8640 corrected EntityGraph loadplan strategy, support inheritance in SubGraphs 2014-01-16 01:05:01 -05:00
Brett Meyer cd964a9aca HHH-8855 corrected EntityGraph loadplan strategy, testcase cleanup 2014-01-14 19:40:22 -05:00
Steve Ebersole 151719b764 HHH-8812 - JPAOverriddenAnnotationReader and @Convert annotations
(cherry picked from commit 56e6db38fc)
2014-01-14 18:30:28 -06:00
Brett Meyer bb267297c1 HHH-8863 correct StatisticalLoggingSessionEventListener partial flush
timing
2014-01-14 14:36:36 -05:00
Brett Meyer 78a62acc2d HHH-5289 remove unnecessary security checks in property accessors 2014-01-10 16:06:50 -05:00
Brett Meyer 5963b6a4be HHH-2188 Query metadata gives NPE for polymorphic queries 2014-01-10 14:13:24 -05:00
Brett Meyer 9a9a95e104 HHH-8638 global quoting breaks UC on FK
Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/annotations/quote/User.java
2014-01-10 13:15:37 -05:00
Steve Ebersole 458b2dc772 HHH-8842 - Hibernate can't handle JodaTime Converters result (possible bug)
(cherry picked from commit 6fb5a899bd)
2014-01-10 09:37:26 -06:00
Brett Meyer c4c33943f2 HHH-8811 collection read causes open cursors 2014-01-09 14:20:11 -05:00
Brett Meyer bd0892a87d HHH-8831 changed exception type, formatting 2014-01-09 13:18:30 -05:00
Christian Beikov f8d853bdc1 HHH-8831 improved exception message
When having @JoinColumn in a @CollectionTable that do not point to valid columns, the message can be really confusing. These new lines will actually enrich the exception which is thrown that the problem appeared on a specific property of a specific class.

Please include this, since it is not always clear what the actual problem is with a mapping when an exception occurs.
2014-01-09 13:12:46 -05:00
Brett Meyer 770a1cb32f HHH-8827 corrected @SortNatural and @SortComparator, test case 2014-01-09 11:59:13 -05:00
Lukasz Antoniak 26f19d0b4c HHH-8699 - Multiselect with boolean predicate 2014-01-08 17:46:56 -05:00
Brett Meyer b3e79f3f40 HHH-3051 corrected CustomLoader returnTypes (different approach) 2014-01-06 13:56:48 -05:00
Brett Meyer 2a90123991 HHH-3051 corrected Loader returnTypes 2014-01-02 14:40:55 -05:00
Brett Meyer fcd6f1b330 HHH-2298 WARN if using build-in conn pool 2013-12-17 14:29:02 -05:00
Brett Meyer 9def347be7 HHH-8790 improved Filter javadoc 2013-12-17 10:08:59 -05:00
Brett Meyer b38365e023 HHH-8790 add "escape" keyword to Template 2013-12-17 10:08:55 -05:00
Gail Badner 90a08ec3a2 HHH-8774 : Add Javadoc for load plans 2013-12-16 10:50:22 -08:00
Gail Badner eb5f605068 HHH-8774 : Add Javadoc for load plans 2013-12-13 15:09:17 -08:00
Gail Badner c901e5f951 HHH-8774 : Add Javadoc for load plans 2013-12-13 15:09:17 -08:00
Steve Ebersole 26820e8a77 HHH-6911 - Write DiscriminatorValue to DiscriminatorColumn when combined with InheritanceType#JOINED 2013-12-13 10:40:36 -06:00
Steve Ebersole b70148a85a HHH-6911 - Write DiscriminatorValue to DiscriminatorColumn when combined with InheritanceType#JOINED 2013-12-13 00:57:47 -06:00
Steve Ebersole 5329bba1ea HHH-6911 - Write DiscriminatorValue to DiscriminatorColumn when combined with InheritanceType#JOINED 2013-12-13 00:57:47 -06:00
Brett Meyer e64e89b2cc HHH-8794 cleanup and formatting 2013-12-12 16:21:31 -05:00
Matus Zamborsky a2fcfc602b HHH-8794 Support for @OrderBy without specifying attribute 2013-12-12 15:56:32 -05:00
Brett Meyer 4627f7f489 HHH-7630 allow joined subclass ordering to explicitly reference natural 2013-12-11 13:49:04 -05:00
Brett Meyer 8e2c9c7faf HHH-8765 corrected hbm2ddl for turkish locale 2013-12-10 20:55:13 -05:00
Brett Meyer 637c8b4b08 HHH-8783 corrected logic 2013-12-10 20:33:45 -05:00
Brett Meyer e1366904fa HHH-3604 add MySQL engine to table generators 2013-12-09 18:08:19 -05:00
Brett Meyer 1811b48f72 HHH-8783 use JPA @JoinColumn(@ForeignKey(name=...)) for constraint name 2013-12-09 15:14:56 -05:00
Brett Meyer 46aeb988c8 HHH-8784 @Generated(ALWAYS) w/ DDL default not inserting 2013-12-09 14:19:10 -05:00
Brett Meyer b3219affcd HHH-4638 add Firebird to StandardDialectResolver 2013-12-06 12:12:30 -05:00
Gail Badner cb8d6c4e06 HHH-8750 : Move load plan implementations from spi to internal 2013-12-03 15:52:51 -08:00
Gail Badner 850578c1e8 HHH-8744 : Add Javadoc for load plans 2013-12-03 15:52:51 -08:00
Gail Badner c9bc9e7512 HHH-8750 : Move load plan implementations from spi to internal 2013-12-03 15:52:51 -08:00
Gail Badner a2c543e088 HHH-8750 : Move load plan implementations from spi to internal 2013-12-03 15:52:50 -08:00
Gail Badner ebedc75e0f HHH-8750 : Move load plan implementations from spi to internal 2013-12-03 15:52:50 -08:00
Gail Badner c188767510 HHH-8750 : Move load plan implementations from spi to internal 2013-12-03 15:52:50 -08:00
Gail Badner 14a9d776b1 HHH-8744 : Add Javadoc for load plans 2013-12-03 15:52:50 -08:00
Steve Ebersole 055a750a53 HHH-8733 - General build cleanup 2013-12-02 20:57:57 -06:00
Brett Meyer e0d6cdc0f7 HHH-8760 improve EntityGraph JPQL query hint test 2013-12-02 12:43:45 -05:00
Brett Meyer d430846076 HHH-5065 improved exception message on Configuration#getRootClassMapping 2013-11-27 21:20:39 -05:00
Brett Meyer bb53193a75 HHH-8749 Error flushing with a many-to-many Map defined with
unique="true" and cascading orphan delete
2013-11-27 18:06:06 -05:00
Steve Ebersole 14d0116af2 Revert "HHH-8733 - General build cleanup - hibernate-testing"
This reverts commit bc2855b323.
2013-11-26 17:48:25 -06:00
Steve Ebersole 0252895354 Revert "HHH-8733 - General build cleanup - hibernate-testing"
This reverts commit b692fbc307.
2013-11-26 17:47:53 -06:00
Steve Ebersole 5f0927fed6 Revert "HHH-8733 - General build cleanup - hibernate-testing"
This reverts commit 2a9a17c79c.
2013-11-26 17:47:34 -06:00
Steve Ebersole 2a9a17c79c HHH-8733 - General build cleanup - hibernate-testing 2013-11-26 16:38:15 -06:00
Steve Ebersole b692fbc307 HHH-8733 - General build cleanup - hibernate-testing 2013-11-26 16:37:33 -06:00
Brett Meyer 88c811bead HHH-8748 replace Javassist's ProxyObject with Proxy 2013-11-26 14:58:46 -05:00
Steve Ebersole bc2855b323 HHH-8733 - General build cleanup - hibernate-testing 2013-11-26 13:53:18 -06:00
Steve Ebersole d1023821b1 HHH-8733 - General build cleanup 2013-11-26 13:04:55 -05:00
Brett Meyer f24e470181 HHH-8341 JtaTransaction logs excessive HHH000426 warning 2013-11-25 13:35:25 -05:00
Brett Meyer 1566586fbf HHH-8743 EntityReferenceInitializerImpl#resolveEntityKey throws
Exception in case of entityKey != null
2013-11-25 10:24:13 -05:00
Steve Ebersole 783831f113 HHH-8741 - More checkstyle cleanups 2013-11-25 01:07:35 -06:00
Steve Ebersole 8fe5460ec0 HHH-8741 - More checkstyle cleanups 2013-11-24 20:07:37 -06:00
Steve Ebersole 66d3902ec2 HHH-8741 - More checkstyle cleanups 2013-11-24 17:42:54 -06:00
Steve Ebersole 3a2c9f83e6 HHH-8741 - More checkstyle cleanups 2013-11-24 17:20:23 -06:00
Steve Ebersole b103b2a0ad HHH-8741 - More checkstyle cleanups 2013-11-24 15:39:24 -06:00
Steve Ebersole 77c85353ab HHH-8741 - More checkstyle cleanups 2013-11-24 15:29:50 -06:00
Steve Ebersole 4c91944fd9 HHH-8741 - More checkstyle cleanups 2013-11-24 15:20:45 -06:00
Steve Ebersole 7b69aaacb3 HHH-8741 - More checkstyle cleanups 2013-11-24 15:16:12 -06:00
Steve Ebersole cd590470c0 HHH-8741 - More checkstyle cleanups 2013-11-24 09:44:55 -06:00
Steve Ebersole b6c9a56136 HHH-8741 - More checkstyle cleanups 2013-11-23 21:40:59 -06:00
Steve Ebersole e59a0170af HHH-8741 - More checkstyle cleanups 2013-11-23 21:30:05 -06:00
Steve Ebersole 241868e1dd HHH-8741 - More checkstyle cleanups 2013-11-23 10:06:53 -06:00
Steve Ebersole 8ec17e68e7 HHH-8741 - More checkstyle cleanups 2013-11-23 00:06:06 -06:00
Gail Badner 5d09464c67 HHH-8684 : Named output parameters don't work for stored procedure call 2013-11-22 16:22:36 -08:00
Steve Ebersole 9c96e23488 HHH-8739 - Tracking of JTA Synch registration thread 2013-11-22 16:28:43 -06:00
Steve Ebersole 608bdefc9a HHH-8739 - Tracking of JTA Synch registration thread 2013-11-22 15:12:39 -06:00
Steve Ebersole c1612fe004 HHH-8733 - General build cleanup 2013-11-22 14:53:24 -06:00
Brett Meyer d47e9daf88 HHH-8689 regression test 2013-11-21 11:36:41 -05:00
Gail Badner 412d5d6fca HHH-8662 : Deprecate functionality for initialized many-to-many collections of proxies 2013-11-20 04:18:22 -08:00
Gail Badner f679a3c783 HHH-8597 : Rename org.hibernate.loader.plan2 to org.hibernate.loader.plan 2013-11-20 02:21:31 -08:00
Gail Badner 8e2f2a9da6 HHH-8597 : Delete org.hibernate.loader.plan2 and related code 2013-11-20 01:38:46 -08:00
Gail Badner b42b759a0d HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support 2013-11-19 23:22:33 -08:00
Gail Badner eeb5a3f2c2 HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support 2013-11-19 23:22:23 -08:00
Gail Badner ed4fafeb50 HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support 2013-11-19 23:22:13 -08:00
Gail Badner 9d8fa394e3 HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support 2013-11-19 23:21:47 -08:00
Gail Badner 7693826b77 HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support 2013-11-19 23:21:27 -08:00
Gail Badner ec348c32fd HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support 2013-11-19 23:21:13 -08:00
Gail Badner de7cddc879 HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support 2013-11-19 23:19:00 -08:00
Brett Meyer 834a71bc6d HHH-8721 CoreMessageLogger conflicts 2013-11-19 18:09:28 -05:00
Steve Ebersole 8580b29161 HHH-8709 - SynchronizationCallbackCoordinator is calling Thread.currentThread way too often 2013-11-19 11:29:22 -06:00
Brett Meyer fe6263936e HHH-8686 FumTest hangs on mysql55 2013-11-18 18:35:04 -05:00
Steve Ebersole 465c3b1e9c HHH-8684 - Named output parameters don't work for stored procedure call 2013-11-18 16:17:31 -06:00
Steve Ebersole 162e1659c3 HHH-8684 - Named output parameters don't work for stored procedure call 2013-11-18 15:49:55 -06:00
Sanne Grinovero 9a3b1417c6 HHH-8703 Remove need to support EntityKey de-serialization without having access to a SessionFactory 2013-11-18 09:02:57 -06:00
Steve Ebersole d6fa2b2864 HHH-8703 - Remove NonFlushedChanges api 2013-11-18 08:29:14 -06:00
Sanne Grinovero 220a27af64 HHH-8682 org.hibernate.engine.spi.EntityKey consumes a lot of memory 2013-11-16 14:09:03 -06:00
Sanne Grinovero 15adff22ce HHH-8679 Relax synchronized block in Loader#wrapResultSetIfEnabled 2013-11-16 14:09:03 -06:00
Sanne Grinovero e64376eb2b HHH-8698 ColumnNameCache wraps and unwraps int to Integer multiple times 2013-11-16 14:09:03 -06:00
Sanne Grinovero 61a75accf5 HHH-8680 Relax synchronized block in TableGenerator#generate 2013-11-16 14:09:03 -06:00
Sanne Grinovero be44a1984e HHH-8681 NonNullableTransientDependencies should initialize identityMap lazily 2013-11-16 14:09:03 -06:00
Sanne Grinovero b2479bf00d Whitespace and style fixes (only) 2013-11-16 14:09:03 -06:00
Steve Ebersole 7f82763843 HHH-8704 - ManyToOneType#scheduleBatchLoadIfNeeded creates EntityKey instances even if absolutely not necessary 2013-11-16 14:07:35 -06:00
Steve Ebersole 449c558365 HHH-8654 - Ability to get notified of interesting Session events 2013-11-15 13:04:18 -06:00
Steve Ebersole 1e74abf511 HHH-8654 - Ability to get notified of interesting Session events 2013-11-15 12:01:14 -06:00
Steve Ebersole f073b979d4 HHH-8654 - Ability to get noitified of interesting Session events 2013-11-13 16:03:35 -06:00
Gail Badner b7f17e9412 HHH-8629 : Integrate LoadPlans into collection initializers 2013-11-13 12:44:18 -08:00
Gail Badner fdf211fdd1 HHH-8629 : Integrate LoadPlans into collection initializers 2013-11-13 12:44:18 -08:00
Gunnar Morling 1e39c4b07f HHH-2907 Adding @UpdateTimestamp generator annotation 2013-11-08 13:08:41 -06:00
Gunnar Morling fb0d0c5cf7 HHH-2907 Adding @CreationTimestamp generator annotation 2013-11-08 13:08:41 -06:00
Gunnar Morling fd57a751b4 HHH-2907 Retrofitting @Generated, making it a generator annotation type 2013-11-08 13:08:41 -06:00
Gunnar Morling cc30269b84 HHH-2907 Adding support for annotation based value generation strategies 2013-11-08 13:08:41 -06:00
Gunnar Morling a860e6559d HHH-2907 Changing ValueGenerator contract in order to allow implementations performing work using the JDBC connection 2013-11-08 13:08:41 -06:00
Steve Ebersole 9938937fe7 HHH-8637 - Downcasting with TREAT operator should also filter results by the specified Type 2013-11-08 12:35:42 -06:00
Strong Liu b3871f319b HHH-8285 Initial JPA 2.1 entity graph support (EntityManager.find()) 2013-11-08 20:59:50 +08:00
Gail Badner dd28adb1ae HHH-8629 : Integrate LoadPlans into collection initializers 2013-11-06 13:11:12 -08:00
Strong Liu 3b85ae8658 HHH-8671 WithClauseTest.testWithClause fails on all QA databases 2013-11-06 10:19:29 +08:00
Brett Meyer e012809fb2 HHH-6004 improved HashMap performance in StructuredCacheEntry 2013-11-01 04:39:33 -04:00
Steve Ebersole bdf0186a7f HHH-7539 - Interceptor.afterTransactionCompletion not called when transaction completes via JTA sync 2013-10-31 09:08:42 -05:00
Gail Badner 560b274fb7 HHH-8662 : Deprecate functionality for initialized many-to-many collections of proxies 2013-10-31 12:38:17 +01:00
Brett Meyer dd44ad459a HHH-7927 Enabling globally_quoted_identifiers breaks schema validation
if TableGenerator is used
2013-10-31 07:01:40 -04:00
Gail Badner e1eef18d62 HHH-8629 : Integrate LoadPlans into collection initializers 2013-10-31 11:54:55 +01:00
Brett Meyer 32b93b9788 HHH-6167 correct Ejb3Column.checkPropertyConsistency error message 2013-10-31 05:22:05 -04:00
Brett Meyer 6242632b76 HHH-8627 compile error in test case 2013-10-31 04:45:04 -04:00
Brett Meyer ca2d0578ff HHH-8627 Support EntityGraphs through JPA Query hints 2013-10-30 12:12:28 -05:00
Steve Ebersole 52d095be97 HHH-8660 - NamedEntityGraphDefinition built too early 2013-10-30 10:45:19 -05:00
Andrew Clemons 4e527d0f3e HHH-8228 - enable foreign keys in HANA dialects by defaulting to 'ON UPDATE CASCADE' 2013-10-30 04:23:50 -04:00
Strong Liu f52c14a652 Revert "HHH-8285 Moving jpa/internal/metamodel and jpa/graph from hem to core"
This reverts commit 61483966a7.
2013-10-29 15:53:46 +01:00
Strong Liu 61483966a7 HHH-8285 Moving jpa/internal/metamodel and jpa/graph from hem to core 2013-10-29 07:48:27 -05:00
Steve Ebersole 1658a477fb HHH-8647 - hibernate.cache.use_reference_entries + queries 2013-10-29 04:04:38 -05:00
Steve Ebersole 77825fefd6 HHH-2907 - ability to apply 'generation strategy' to generated properties 2013-10-25 13:18:33 -05:00
Brett Meyer 19057a4685 HHH-8617 correcting test failure 2013-10-23 13:03:36 -04:00
Brett Meyer 203140a197 HHH-8617 Revert "HHH-8517 strip time from Date descriptors"
This reverts commit 9dba10cf9e.
2013-10-23 12:58:25 -04:00
Brett Meyer 8e556f0029 HHH-8579 corrected test case 2013-10-22 22:29:45 -04:00
Brett Meyer 0dfbad406b HHH-8579 force english locale for query alias generation 2013-10-22 16:54:19 -04:00
Steve Ebersole 859eaaa1c5 HHH-8619 - Account for "shadow" services as part of ServiceRegistry impls 2013-10-17 15:19:35 -05:00
Brett Meyer a1e3849e5d HHH-8573 refactored test case 2013-10-16 17:21:00 -04:00
Vasily Kochnev af03365c86 HHH-8573: Persister is taken according to the actual type of the replaced object 2013-10-16 16:51:10 -04:00
Vasily Kochnev 3a75f9fb4e HHH-8573: Test case illustrating creation of a superclass instance when
subclass instance needed
2013-10-16 16:51:03 -04:00
Steve Ebersole 202e46eef2 HHH-8621 - NPE in BasicConnectionCreator 2013-10-16 15:13:23 -05:00
Brett Meyer 1cb6be9d10 HHH-8612 correct FumTest's use of Date in a composite PK
Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/legacy/FumTest.java
2013-10-16 14:35:43 -04:00
Steve Ebersole 67ee00a422 HHH-8607 - Start Topical Guide - Service Registries 2013-10-15 15:54:54 -05:00
Brett Meyer b5f5288708 HHH-8611 FlushIdGenTest requires identity support 2013-10-15 14:45:58 -04:00
Sanne Grinovero 716db5d116 HHH-8611 DelayedPostInsertIdentifier needs to implement Comparable 2013-10-15 14:18:09 -04:00
Steve Ebersole ba3c2f656f HHH-8613 - ClassCastException in AbstractLoadPlanBuildingAssociationVisitationStrategy 2013-10-14 18:08:49 -05:00
Steve Ebersole 67fccf231b HHH-6838 - Query Paramater Binding should quote strings 2013-10-14 16:56:31 -05:00
Steve Ebersole a96cc4bfbd HHH-8607 - Start Topical Guide - Service Registries 2013-10-14 14:12:33 -05:00
Brett Meyer 94dd246bf4 HHH-8605 supportsTuplesInSubqueries false in sqlserver/sybase 2013-10-14 10:29:50 -04:00
Brett Meyer 2fc60011e5 HHH-6484 remove orphaned one-to-one when association replaced while managed 2013-10-11 15:15:30 -04:00
Brett Meyer f675b67c27 HHH-8228 cleanup, formatting, check for empty constraint alter table
statements before executing
2013-10-10 11:27:28 -04:00
Andrew Clemons c986fe9121 HHH-8228 - support for SAP HANA 2013-10-10 10:43:56 -04:00
Brett Meyer 4d04f40fe0 HHH-8074 CascadingAction REFRESH should pass the entityName 2013-10-09 21:28:34 -04:00
Ståle W. Pedersen cf903b78f0 HHH-8354 - New dirty-checking options based on bytecode enhancement 2013-10-09 13:00:10 -05:00
Brett Meyer 2bb453ce35 HHH-7130 cleanup 2013-10-09 11:38:23 -04:00
Zbyněk Roubalík a9aaf87861 HHH-7130 Query cache eviction logging 2013-10-09 11:36:11 -04:00
Brett Meyer 2009a940b6 HHH-8276 removing blank package-info.java 2013-10-09 11:15:15 -04:00
Gail Badner bf440a4231 HHH-8276 - Fix NullPointerException when hibernate.max_fetch_depth is not configured 2013-10-08 22:13:52 -05:00
Steve Ebersole edc4a04a63 HHH-8276 - Fix AnyType handling during Nullability checking 2013-10-08 22:13:52 -05:00
Steve Ebersole 479b873f5b HHH-8276 - Fix AnyType handling during Nullability checking 2013-10-08 22:13:52 -05:00
Gail Badner f111600e1f HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:13:52 -05:00
Gail Badner ee02fafbba HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:13:52 -05:00
Gail Badner 1e79efd10a HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:13:52 -05:00
Gail Badner 9e1acbac41 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:13:52 -05:00
Strong Liu c607e30051 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:13:52 -05:00
Gail Badner 77d7deb0f3 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:13:52 -05:00
Gail Badner d6ac5359a7 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:13:52 -05:00
Strong Liu 803c73c555 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:13:52 -05:00
Strong Liu 8638aac01a HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:12:34 -05:00
Gail Badner 4defc8a5d6 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:12:33 -05:00
Strong Liu 438dd9c180 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:12:33 -05:00
Strong Liu 7d2867bf53 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:12:33 -05:00
Strong Liu 712fb95b8a HHH-8276 fixing FooBarTest.testRefresh 2013-10-08 22:12:33 -05:00
Strong Liu aaadcd74ee HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:12:33 -05:00
Strong Liu c5f3ddeccb HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:42 -05:00
Strong Liu c83fd30d23 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:42 -05:00
Gail Badner 6f8fdddd84 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:42 -05:00
Gail Badner 0481eb856b HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:42 -05:00
Gail Badner ba0d14546c HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:42 -05:00
Steve Ebersole e1105fb6d3 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:42 -05:00
Steve Ebersole f32c736160 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:41 -05:00
Steve Ebersole b10c51eec7 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:41 -05:00
Steve Ebersole af1061a42d HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:41 -05:00
Steve Ebersole 18079f346d HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) - Initial reworking to remove SQL references (for reuse in Search, OGM, etc) and to split out conceptual "from clause" and "select clause" into different structures (see QuerySpaces) 2013-10-08 22:09:41 -05:00
Steve Ebersole dc7cdf9d88 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:41 -05:00
Steve Ebersole 456d61bd4e HHH-8276 - Integrate LoadPlanAdvisor into UniqueEntityLoader (PoC) 2013-10-08 22:08:44 -05:00
Steve Ebersole cb30fefd87 HHH-8445 - Implement REF_CURSOR support for StoredProcedureQuery 2013-10-08 16:33:47 -05:00
Brett Meyer 6d097d202b HHH-8328 Typo in Query.list Javadoc 2013-10-08 14:17:52 -04:00
Steve Ebersole 4e3d17c0d4 HHH-8453 - Investigate improving DriverManager-based connection pooling 2013-10-08 09:43:00 -05:00
Steve Ebersole 9671a4a727 HHH-8453 - Investigate improving DriverManager-based connection pooling 2013-10-08 09:43:00 -05:00
Brett Meyer e269739993 HHH-7513 check for natural id resolution in NaturalIdCacheKey 2013-10-07 17:51:19 -04:00
Brett Meyer bb5e03cb64 HHH-7513 test cleanup 2013-10-07 17:51:19 -04:00
Guenther Demetz 7cf6a6272a HHH-7513 testcase 2013-10-07 17:51:19 -04:00
Steve Ebersole b20ac395cb HHH-8577 - ClearListener: allow to listen for clear events 2013-10-07 16:29:10 -05:00
Steve Ebersole 3d366a526e HHH-8561 - hibernate.dialect_resolvers causes failures 2013-10-07 14:40:18 -05:00
Scott Marlow 4428464d09 HHH-8593 EntityManager.refresh should throw EntityNotFoundException if the entity no longer exists in the database 2013-10-07 15:20:28 -04:00
Brett Meyer bc31357436 HHH-6255 correctly handling quoting fk names 2013-10-07 15:15:29 -04:00
Brett Meyer 0593cbbc5a HHH-2155 mysql dialect should not generate automatically index for
foreign key
2013-10-07 14:30:48 -04:00
Brett Meyer 0ba9a3a289 HHH-7150 added Cache#evictAllRegions 2013-10-07 12:14:17 -04:00
Steve Ebersole 4a898c5524 HHH-7689 - Error executing batch should abort rest of batch for "cleanliness" sake 2013-10-04 13:39:52 -05:00
Steve Ebersole 0e164d1c9d HHH-7689 - addToBatch in BatchingBatch blows out of error handling and doesn't abort the batch 2013-10-04 12:33:07 -05:00
Brett Meyer ca3b22a18c HHH-8580 clearing a map collection caused NPE 2013-10-04 11:50:07 -04:00
Steve Ebersole 075bc86209 HHH-7689 - addToBatch in BatchingBatch blows out of error handling and doesn't abort the batch 2013-10-03 16:53:01 -05:00
Scott Marlow fa6a222ab1 HHH-8586 Synchronization beforeCompletion/afterCompletion should check if EM is closed and this helps us pass the tck entityManagerFactoryCloseExceptions test. 2013-10-03 11:27:26 -04:00
Brett Meyer fdcfeca511 HHH-4118 warn if hibernate.hbm2ddl.auto has unrecognized value 2013-10-02 15:46:24 -04:00
Steve Ebersole 85bb1e1146 HHH-8548 - HHH-3047 causes regressions 2013-10-02 13:40:49 -05:00
Brett Meyer 1755f00260 HHH-5744 check ResultSet#hasNext in GUIDGenerator 2013-10-02 14:09:56 -04:00
Steve Ebersole bd93745aec HHH-4577 - 2L query cache: Low performance of flush and commit due many unnecessary (pre)invalidate calls on UpdateTimestampsCache 2013-10-02 12:16:55 -05:00
Brett Meyer 739b88c5ce HHH-5818 exception message typo 2013-10-02 12:58:31 -04:00
Steve Ebersole 31ad26731c HHH-4577 - 2L query cache: Low performance of flush and commit due many unnecessary (pre)invalidate calls on UpdateTimestampsCache 2013-10-02 11:50:28 -05:00
Brett Meyer 3677045663 HHH-8520 apply global quoting to HBM columns 2013-10-01 12:18:22 -04:00
Brett Meyer f17d8ad7c3 HHH-8578 correct DeleteExecutor's use of where-clause 2013-09-30 16:45:26 -04:00
Steve Ebersole ffa67243b8 HHH-8576 - Query not properly locking non-versioned entities associated with PersistenceContext 2013-09-30 13:43:56 -05:00
Steve Ebersole 7c6b358d4f HHH-8551 - Cannot use with-clause on the RHS of a join 2013-09-30 13:43:56 -05:00
Brett Meyer 2060e95c40 HHH-8537 @UniqueConstraint naming non-existent column leads to NPE 2013-09-27 16:24:03 -04:00
Steve Ebersole 0d7854a15d HHH-8560 - Add (trace/debug) logging of SQL ResultSet mapping info 2013-09-26 12:23:06 -05:00
Brett Meyer 1a621666e1 HHH-8551 Cannot use with-clause on the RHS of a join 2013-09-25 16:24:48 -04:00
Steve Ebersole 0062600296 HHH-8550 - Order of remove/delete calls important for associated data 2013-09-25 13:36:48 -05:00
Steve Ebersole f2b272f468 HHH-8550 - Order of remove/delete calls important for associated data 2013-09-25 13:36:48 -05:00
Steve Ebersole 185fa1d68b HHH-8550 - Order of remove/delete calls important for associated data 2013-09-25 13:36:48 -05:00
Brett Meyer 55d941944d HHH-8503 whoops 2013-09-24 22:30:55 -04:00
Brett Meyer a5e00f3201 HHH-8503 invoke determineDialect instead of constructDialect when
hibernate.dialect is blank
2013-09-24 22:04:40 -04:00
Brett Meyer 3740a5b37b HHH-8476 Bulk delete doesn't cascade delete on join table 2013-09-24 17:42:29 -04:00
Steve Ebersole 86b2fa4317 HHH-8549 - JPQL TREAT keyword handling is currently case sensitive 2013-09-24 15:13:15 -05:00
Steve Ebersole ae3f1117e0 HHH-8529 - AttributeConverter not applied to @ElementCollection 2013-09-23 16:05:22 -05:00
Steve Ebersole 498735aa37 HHH-8478 - AttributeConverters need to be applied to JPQL and Criteria queries 2013-09-23 12:55:55 -05:00
Steve Ebersole 903321fe92 HHH-8542 - javax.persistence.Query#setLockMode should throw ISE if not a SELECT JPQL or Criteria query 2013-09-22 19:57:02 -05:00
Steve Ebersole 1f9c157db6 HHH-8539 - @Column#table naming primary table fails 2013-09-22 14:41:00 -05:00
Steve Ebersole 2bb866a616 HHH-8534 - Metamodel#managedType(SomeMappedSuperclass.class) returns null 2013-09-22 14:20:25 -05:00
Steve Ebersole a1ff3a29cb HHH-8529 - AttributeConverter not applied to @ElementCollection 2013-09-21 16:55:05 -05:00
Steve Ebersole 4473f0302f HHH-8529 - AttributeConverter not applied to @ElementCollection 2013-09-21 14:06:57 -05:00
Steve Ebersole 4d5174f55f HHH-8533 - Add tests of JPA Metamodel handling for MappedSuperclass and mixed @Id/@IdClass declaration 2013-09-20 22:05:24 -05:00
Steve Ebersole bf0eed907f HHH-8530 - Align JPA "positional parameter" handling in javax.persistence.Parameter impl 2013-09-20 12:02:49 -05:00
Steve Ebersole 1889562bed HHH-8525 - Hook in XML overriding of ConstructorResult for sql-result-set-mapping 2013-09-19 17:58:34 -05:00
Brett Meyer 9dba10cf9e HHH-8517 strip time from Date descriptors 2013-09-19 15:20:23 -04:00
Steve Ebersole 075da4fdf0 HHH-8523 - Incorrect parameter binding for Calendar and TemporalType 2013-09-19 13:55:55 -05:00
Steve Ebersole 5a3233b915 HHH-8523 - Incorrect parameter binding for Calendar and TemporalType 2013-09-19 13:20:40 -05:00
Brett Meyer 611e097a04 HHH-8522 CompositeIdTypeBindingTest.testCompositeTypeBinding fails on
sybase157
2013-09-19 12:42:45 -04:00
Lukasz Antoniak 2f145d3985 HHH-8432 - Expanding parameters in IN clause 2013-09-18 17:20:31 -04:00
Steve Ebersole 346d958c20 HHH-8518 - Validate EMF#addNamedQuery transfers all query settings 2013-09-18 14:21:15 -05:00
Brett Meyer feaac3b917 HHH-4910 docs, javadocs, formatting, minor refactoring 2013-09-18 12:27:01 -04:00
Andy2003 bcd6185809 HHH-4910 The collection cache is evicted if a related collection element is inserted, removed or updated
HHH-4910 minor fixes

HHH-4910 make this feature configurable
2013-09-18 12:26:35 -04:00
Brett Meyer 66b222c8bf HHH-8516 EnumeratedTypeTest.testTrimmedEnum fails on oracle 2013-09-18 11:11:45 -04:00
Steve Ebersole 31f50f3280 HHH-8515 - EntityManager#createStoredProcedureQuery( String, String...) should throw IAE if result set mapping name(s) do not exist 2013-09-18 08:48:51 -05:00
Steve Ebersole a2881b3a35 HHH-8498 - Full ConstructorResult handling 2013-09-17 17:29:53 -05:00
Brett Meyer 4b2667cc40 HHH-1835 added stddev to MySQLDialect 2013-09-17 16:29:29 -04:00
Brett Meyer d538b9f2e3 HHH-8504 add MySQL5Dialect to StandardDatabaseInfoDialectResolver 2013-09-17 16:20:05 -04:00
Steve Ebersole 2fd4a75a78 HHH-8510 - Add a Logger which is able to monitor the creation of new Sessions at DEBUG/TRACE level 2013-09-17 13:11:55 -05:00
Steve Ebersole 8dae133bba HHH-4577 - 2L query cache: Low performance of flush and commit due many unnecessary (pre)invalidate calls on UpdateTimestampsCache 2013-09-16 15:38:17 -05:00
Anton Marsden 7bca11a504 HHH-4577: Improved performance of ActionQueue
The ActionQueue has been seriously refactored. An ExecutableList class
has been created to manage each list of actions, and it includes
serialization behaviour that was previously in ActionQueue. Prevalidate
behaviour has changed - prevalidate is now called once per execution
list rather than once per execution. A test case has been added for
ExecutableList. There is also a new method on the Executable interface.
2013-09-16 12:20:44 -05:00
Arlo Louis O'Keeffe ea7f1e805c HHH-8500 Interbase does not have a boolean type 2013-09-12 13:17:07 -04:00
Steve Ebersole 9e54c418ab HHH-8499 - Prepare for 4.3 Beta4 release 2013-09-12 11:44:42 -05:00
Brett Meyer 580af7e61b HHH-8496 TableCatalog and TableSchema arguments mistaken in DB update-script. 2013-09-12 10:44:43 -04:00
Steve Ebersole 0bf29bc2fd HHH-8493 - Implement ConstructorResults handling 2013-09-12 07:10:44 -05:00
Brett Meyer 312283cb0e HHH-8491 formatting and improved readability 2013-09-11 15:46:23 -04:00
Christian Beikov d224991d1b HHH-8491 Improved implementation for locale string parsing 2013-09-11 15:46:19 -04:00
minman 0695299155 HHH-8472 @Lob annotation applies to both key and value of Map 2013-09-11 14:42:15 -04:00
java4dev@ 7444c6c139 HHH-8297 Typo in error message: "contains phyical column name" 2013-09-11 14:39:27 -04:00
Steve Ebersole cbd828217a HHH-8485 - Apply newly extracted version-injection plugin 2013-09-10 16:08:18 -05:00
Steve Ebersole 1fc9efb2a2 HHH-8469 - Application of JPA 2.1 AttributeConverters 2013-09-09 15:35:55 -05:00
Brett Meyer d995bb9bb9 HHH-8153 Criteria on Enum mapping defined in hbm.xml fails. 2013-09-09 14:40:39 -04:00
Brett Meyer 29ab1766c0 HHH-8363 SessionFactoryServiceRegistryImpl should not call parent#destroy, test failures, formatting 2013-09-06 18:28:58 -04:00
Tomaz Cerar 360567beac HHH-8363 Some more mem leak fixes 2013-09-06 18:28:58 -04:00
Brett Meyer fa341c66e9 HHH-8363 destroy the parent ServiceRegistry and stop its provided 2013-09-06 18:28:58 -04:00
Brett Meyer 3fdffcbcd4 HHH-8363 cleanup and formatting 2013-09-06 18:28:58 -04:00
Tomaz Cerar 5011b4a30e HHH-8363 ClassLoaderServiceImpl should be defined as Stoppable
- also fix problem with JpaIntegrator holding references to beanmanager
2013-09-06 18:28:57 -04:00
Steve Ebersole 9348c23e00 HHH-8469 - Application of JPA 2.1 AttributeConverters 2013-09-06 16:47:07 -05:00
Steve Ebersole 1f6daa6785 HHH-8469 - Application of JPA 2.1 AttributeConverters 2013-09-06 13:38:56 -05:00
Brett Meyer 46c962e9b0 HHH-8468 cleanup and simplification 2013-09-05 13:46:44 -04:00
s.vasilyev 91a289e3a9 HHH-8468 - @JoinColumn(table = "...") doesn't use NamingStrategy 2013-09-05 13:27:41 -04:00
s.vasilyev 0cce06fb54 HHH-8468 test case 2013-09-05 13:24:56 -04:00
Brett Meyer a450630f36 HHH-8464 normalize quoting on join column 2013-09-05 12:46:31 -04:00
Brett Meyer 6963dc88d0 HHH-8316 JandexHelper uses ClassLoaderService 2013-09-04 22:38:18 -04:00
Brett Meyer 9acb43599b HHH-8462 Handle <converter></converter> elements in orm.xml 2013-09-04 18:13:44 -04:00
Steve Ebersole 151dd1531b HHH-8469 - Application of JPA 2.1 AttributeConverters 2013-09-03 11:43:24 -05:00
Brett Meyer 9f10ec5e74 HHH-8454 added numeric types to MySQLDialect#getCastTypeName 2013-08-29 15:06:59 -04:00
Steve Ebersole 939c1f2743 HHH-8445 - Implement REF_CURSOR support for StoredProcedureQuery 2013-08-27 16:17:28 -05:00
Steve Ebersole cd812b6d65 HHH-8413 - Rename ProcedureResults -> ProcedureOutputs 2013-08-25 21:08:49 -05:00
Steve Ebersole 0ecb76f9d5 Tests for @ConstructorResult mapping of stored procedure results 2013-08-25 09:41:56 -05:00
Brett Meyer 8b65113ada HHH-3047 Increase max alias length for Oracle dialects from 10 to 30 2013-08-22 22:32:21 -04:00
Brett Meyer d91ed8942c HHH-4699 test case 2013-08-22 15:35:52 -04:00
Kristian Marinkovic ad5dd18aac HHH-4699 trim value from database before Enum.valueOf()
this change fixes the problem with fixed size columns with enum values
that are right padded.
2013-08-22 15:19:57 -04:00
Steve Ebersole 0b488b92a0 HHH-8111 - AttributeConverter doesn't override built-in type mappings 2013-08-22 10:01:53 -05:00
Steve Ebersole d2c5734c6e HHH-8111 - AttributeConverter doesn't override built-in type mappings 2013-08-22 09:27:59 -05:00
Steve Ebersole 9f86babd88 HHH-8111 - AttributeConverter doesn't override built-in type mappings 2013-08-22 09:27:59 -05:00
Brett Meyer 8ccbd7d121 HHH-8068 formatting and cleanup 2013-08-21 15:39:32 -04:00
ammachado d0a7a017a5 HHH-8068 Suggestion for improvement. 2013-08-21 15:39:19 -04:00
Brett Meyer 9ee5392456 HHH-7915 test case and cleanup 2013-08-21 15:39:19 -04:00
chris-manning 7ef045ae2c HHH-7915 Include referenced columns when creating foreign keys from the included table 2013-08-21 15:39:07 -04:00
Brett Meyer 10930af516 HHH-2692 corrected failing test 2013-08-20 19:49:27 -04:00
Manuel Bernhardt f1e4bfbffd HHH-2692 Handling subqueries in INSERT...SELECT, disallowing use of
:parameters in SELECT if not in INSERT...SELECT, additional test cases

Conflicts:
	hibernate-core/src/main/java/org/hibernate/hql/ast/tree/SelectClause.java
	hibernate-core/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java
2013-08-20 19:33:36 -04:00
Manuel Bernhardt 6ad0d4cfbe HHH-2692: Correctly reporting type mismatch in select...insert
Conflicts:
	hibernate-core/src/main/java/org/hibernate/hql/ast/tree/IntoClause.java
	hibernate-core/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java
2013-08-20 19:30:35 -04:00
Manuel Bernhardt 9304c2b3e9 Least-effort fix for HHH-2692
Conflicts:
	hibernate-core/src/main/java/org/hibernate/hql/ast/HqlSqlWalker.java
	hibernate-core/src/main/java/org/hibernate/hql/ast/tree/IntoClause.java
	hibernate-core/src/main/java/org/hibernate/hql/ast/tree/SelectExpressionList.java
	hibernate-core/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java
2013-08-20 19:29:17 -04:00
Steve Ebersole bf168ca24e HHH-8111 - AttributeConverter doesn't override built-in type mappings 2013-08-19 16:07:07 -05:00
Anton Marsden ad5c0f1f82 HHH-5920: improve the performance of PersistentClass 2013-08-19 16:19:26 -04:00
Steve Ebersole 7bcf161d36 HHH-8111 - AttributeConverter doesn't override built-in type mappings 2013-08-19 14:54:46 -05:00
Brett Meyer 5a7d179f81 HHH-8423 corrected one un-cleaned-up test 2013-08-19 13:26:18 -04:00
Brett Meyer 714d48880d HHH-8447 HQL delete with multiple subqueries failing (incorrect alias
used)
2013-08-16 12:34:24 -04:00
Brett Meyer cc550c08a8 HHH-8441 Hibernate is trying to add values to an Immutable List 2013-08-16 10:16:21 -04:00
Brett Meyer 05144811e4 HHH-8440 added mssql2012 to StandardDatabaseInfoDialectResolver 2013-08-15 10:10:44 -04:00
Brett Meyer 5981fc19b5 HHH-8440 Support sequences with a new SQLServer2012Dialect 2013-08-14 11:59:51 -04:00
Brett Meyer b1759cb7c2 HHH-8383 ExceptionInInitializerError when changing System properties
while Environment class is initialized
2013-08-13 14:59:46 -04:00
Brett Meyer cc992e0e1a HHH-8183 re-activating test now that QA allows Synonym creation 2013-08-13 10:28:31 -04:00
Brett Meyer e5af57585b HHH-8428 comment & cleanup 2013-08-06 11:53:19 -04:00
Karl von Randow 023862728f HHH-8428 Protect SessionFactoryRegistry.getNamedSessionFactory(String) from NPE 2013-08-06 11:52:59 -04:00
Brett Meyer a2da429997 HHH-8426 Add defaultScrollMode to Dialect 2013-08-06 11:18:13 -04:00
Lukasz Antoniak 4140661b82 HHH-7807 - key-many-to-one cascade removal tests 2013-08-05 23:42:22 -04:00
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
HGC 96e80b2df3 HHH-8397: MultiLineImportFileTest failing on some platforms (Fix) 2013-08-05 22:22:49 -04:00
Brett Meyer b9d3fa5581 HHH-8420 multiple test-only fixes from matrix failures 2013-08-05 17:05:24 -04:00
Brett Meyer 742b1b4156 HHH-2736 query hints for Query and Criteria 2013-08-05 11:12:35 -04:00
Steve Ebersole 6beb5acb4b HHH-8415 - Throw exception types expected by JPA spec wrt StoredProcedureQuery 2013-08-02 19:18:14 -05:00
Sanne Grinovero 8aff7db2e0 HHH-8410 NaturalIdXrefDelegate could miss some cached entries from naturalIdResolutionCacheMap 2013-08-02 18:09:56 +01:00
Sanne Grinovero 168c06d062 HHH-8409 Improve usage of ConcurrentMaps by using putIfAbsent in StatefulPersistenceContext 2013-08-02 18:09:56 +01:00
Sanne Grinovero 1bed587355 HHH-8408 LegacyHiLoAlgorithmOptimizer.noTenantState is accessed with inconsistent synchronization 2013-08-02 18:09:56 +01:00
Sanne Grinovero 1ea823e0b5 HHH-8408 PooledLoOptimizer.noTenantState is accessed with inconsistent synchronization 2013-08-02 18:09:56 +01:00
Sanne Grinovero 4f1c8a4ba6 HHH-8407 Missing synchronization in DriverManagerConnectionProviderImpl#stop 2013-08-02 18:09:56 +01:00