2457 Commits

Author SHA1 Message Date
Steve Ebersole
c2f62a528b HHH-9167 - Support Postgres9.2 JSON data type 2015-03-10 21:33:05 -05:00
Brett Meyer
efaa916a8e HHH-9167 - Support Postgres9.2 JSON data type 2015-03-10 21:32:05 -05:00
Mark Robinson
588d02b6c2 HHH-9167 Add support for PostgreSQL's new JSON data type
(cherry picked from commit 4a8bc1f25036e53fc3d4d701bbc5579de9d7dbdf)
2015-03-10 21:25:54 -05:00
Steve Ebersole
a0a9a4d1e8 HHH-8911 - ClassCastException between CompositeCustomType and ComponentType 2015-03-10 20:56:06 -05:00
Steve Ebersole
b318d21cc8 HHH-9655 - Add logging to help better track down tests that leave SessionFactories open 2015-03-10 20:44:10 -05:00
Steve Ebersole
83756008d2 HHH-9655 - Add logging to help better track down tests that leave SessionFactories open 2015-03-10 19:36:54 -05:00
Steve Ebersole
9caca0ce37 HHH-9490 - Migrate from dom4j to jaxb for XML processing;
HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc);
HHH-7078 - Split NamingStrategy into ImplicitNamingStrategy/PhysicalNamingStrategy;
HHH-6005 - Better handling of implicit column naming with @ElementCollection of @Embeddables;
HHH-9633 - Add tests that explicitly test the "main" NamingStrategy impls
2015-03-10 16:53:51 -05:00
Etienne Miret
94ad371bf3 HHH-9247 Attribute "name" of named-attribute-node maps to "value" of annotation. 2015-03-09 12:07:48 +00:00
Etienne Miret
58e4c675d3 HHH-9247 Add test for parsing named-attribute-nodes in orm.xml. 2015-03-09 12:07:36 +00:00
Sanne Grinovero
f552f6499f HHH-8788 removed unnecessary warning related to follow-on locking with Criteria and LockMode.NONE 2015-03-06 16:03:18 +00:00
Gail Badner
9337f73185 HHH-9457 : EntityGraph with order by using Oracle10gDialect 2015-02-20 17:32:41 -08:00
Gail Badner
0215008851 HHH-9621 : Add HQL query to warning about positional parameter usage 2015-02-18 11:30:50 -08:00
Gail Badner
36cc2c836c HHH-9597 : Criteria creates invalid column aliases 2015-02-12 13:38:09 -08:00
Gail Badner
c9df7589f2 HHH-9597 : Criteria creates invalid column aliases (test case) 2015-02-12 13:23:27 -08:00
Gail Badner
264b0be40e HHH-9523 : EnumeratedTypeTest - select from dual causes test failures on mssql, postgresql, db2 and sybase 2015-01-21 16:53:11 -08:00
Gail Badner
f1a9a9f006 HHH-9091 : Collection deleted due to orphan removal fails with constraint violation 2015-01-21 00:37:55 -08:00
Brett Meyer
2d64e539aa HHH-8494 cleanup 2015-01-20 10:46:29 -05:00
hernan
be08e94aa5 HHH-8494: Misleading log info during batch execution.
* Added a boolean variable to indicate if during addToBatch method the
batchSize is reached and there is more than one batch execution.
* The logging about performing a batch execution is moved to
performExecution method.
* The logging indicating that there is no statement to execute in batch
is performed only if there was no previous batching execution.
2015-01-20 10:45:23 -05:00
Gail Badner
d933c78185 HHH-9568 : EntityManager.flush() does not behave properly with transient one-to-one association and no cascade (reverts HHH-9330) 2015-01-14 15:06:53 -08:00
Arcadiy Ivanov
5047f6fcc6 HHH-9419 : Remove after get with optimistic lock fails
(cherry picked from commit c80a8c442a91b880a24ea32a79e48da3c4a205a8)
2015-01-06 00:09:44 -08:00
Gail Badner
cf728ede66 HHH-9401 : SQL warnings are never logged due to incorrect condition check
(cherry picked from commit a98ebc4ed4580daf0282abde45838e3f6184aef8)
2015-01-05 23:07:55 -08:00
Gail Badner
4bf3b162ad HHH-9467 : Cannot enable NamingStrategyDelegator implementations using standalone schema tools 2015-01-05 12:05:19 -08:00
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 45511f10ae58e9460fd09e6da5c33b1332494cbf)
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 fe94cda1d1a2ede18b5a577e3ac80db85a806ef3)
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 3b57f1612d40ae74eb0001aa67e86182e3dfedcd)
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 1ff9edfb81057535f436a32b3631a3bc0665bbe3)
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 ef3550eed5bac8bf4f6298493a9d771851843367)
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 552c1c06d513bd066c0a3c6386119ea33e083cf7)
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 e5a31caa09b56ace6ad4aa4ccb99a0ad63b1ad31)

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 36576046b8df859a672c90182522048dd18e1e74)

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