Gunnar Morling
52fabe70bc
HHH-8191 Remvoing redundant semicolon
2015-03-25 16:24:54 +01:00
Steve Ebersole
117cb9cd2c
Merge pull request #862 from magdalenamoeller/HHH-9556
...
HHH-9556 - enable query hints for SQL Server 2012
2015-03-24 23:54:57 -05:00
Steve Ebersole
4e0f2b3a7b
HHH-9300 - DB2Dialect generates invalid order by clause
2015-03-24 23:49:09 -05:00
Steve Ebersole
a4b5cf4597
HHH-9668 - Document new SessionFactory approach and APIs
2015-03-24 22:16:22 -05:00
Steve Ebersole
5f6d1d24f7
HHH-8844 - Add support for Java 8 date and time types (JSR-310)
2015-03-24 16:01:15 -05:00
Steve Ebersole
3e73948dae
HHH-7375 - TimeZone of Calendar objects should be used in binding to JDBC statements
2015-03-23 21:02:45 -05:00
Steve Ebersole
04a4f54579
HHH-8191 - Update Teradata Dialect for Teradata 14.0
2015-03-23 14:54:24 -05:00
Steve Ebersole
f6322b5cdd
HHH-9678 - Change built-in SqlTypeDescriptor impls to not auto-register themselves with SqlTypeDescriptorRegistry
2015-03-23 11:20:01 -05:00
Brett Meyer
715544febe
HHH-8191 cleanup
2015-03-21 23:15:10 -04:00
Dave Repshas
027840018b
HHH-8191 Support Teradata 14.0
2015-03-21 23:06:06 -04:00
Steve Ebersole
27e8aae279
HHH-8697 - AttributeConverter not called when value is null;
...
HHH-9320 - AttributeConverter result ignored on extraction when ResultSet.wasNull
2015-03-21 15:54:56 -05:00
Steve Ebersole
7a1c155099
HHH-9577 - Make UUID generation the default (AUTO) for UUID type;
...
HHH-9562 - Dialect specific UUID handling
2015-03-21 14:45:44 -05:00
Andrej Golovnin
a381e368eb
HHH-9336 Avoid creation of TypedValue objects in
...
AbstractPersistentCollection#getOrphans(Collection, Collection,
String, SessionImplementor) for some ID types.
2015-03-20 17:17:43 -05:00
Andrej Golovnin
4615ae1018
- HHH-9324: Avoids creation of LimitHandler instances for every query.
2015-03-20 17:11:36 -05:00
Steve Ebersole
38c004431d
HHH-9599 - AnnotationException occurs when applying @Nationalized and @Convert annotations to the same field
2015-03-20 16:55:29 -05:00
Steve Ebersole
8a7bc2e7c1
HHH-9605 - Query on an enum collection fails - minor changes
2015-03-20 15:39:02 -05:00
obr
001b841934
HHH-9605: fix querying a collection of enums
2015-03-20 15:39:02 -05:00
obr
2c8ded5ff3
HHH-9605: Test for querying a collection of enums
2015-03-20 15:39:02 -05:00
Steve Ebersole
f45b37da8e
HHH-9495 - @Convert support for collections
2015-03-20 15:08:49 -05:00
Gail Badner
8284b9ae2c
HHH-9392 : SQLGrammarException while executing a entity graph with subgraphs
2015-03-20 12:40:20 -07:00
Steve Ebersole
22730624fc
HHH-9042 - Envers fails with @Converter and AttributeConverter
2015-03-20 11:17:48 -05:00
Gail Badner
180e714b7c
HHH-9448 : Association is not fetched when EntityGraph has explicit fetch and query has implicit join
2015-03-19 21:58:30 -07:00
Steve Ebersole
93cf72bfa1
HHH-9490 - Migrate from dom4j to jaxb for XML processing
2015-03-19 19:22:35 -05:00
Steve Ebersole
bd8acaebca
HHH-8866 - HQL Query with enum and @Convert
2015-03-19 19:19:03 -05:00
Steve Ebersole
ffce4ffc2c
HHH-9490 - Migrate from dom4j to jaxb for XML processing - hibernate-osgi
2015-03-19 14:20:00 -05:00
Steve Ebersole
80bf715f0b
HHH-9490 - Migrate from dom4j to jaxb for XML processing - hibernate-osgi
2015-03-19 12:40:29 -05:00
Steve Ebersole
63a0f03c5a
HHH-9654 - Adjust envers for 5.0 APIs + JAXB
2015-03-18 20:22:26 -05:00
Gunnar Morling
8468d834ef
HHH-9451 Propagating entity entry extra state when using identity id generation strategy
...
(cherry picked from commit 4bbf4cd1db
)
2015-03-13 12:56:33 -07:00
Sanne Grinovero
04e7cfce70
HHH-9659 AnnotationMetadataSourceProcessorImpl uses a Logger.debugf method without matching parameters
2015-03-13 19:09:12 +00:00
Sanne Grinovero
6eb6f38721
HHH-9658 Refactor some of the existing logging tests
2015-03-13 19:09:12 +00:00
Sanne Grinovero
c067fc2b42
HHH-9658 Simplify the way tests assert on logging statements
2015-03-13 19:09:12 +00:00
Gail Badner
965e044850
HHH-9333 : TypeMismatchException when using composite-id and natural-id mappings
2015-03-12 23:40:47 -07:00
Gail Badner
6c404c30f7
HHH-9642 : Join fetch not performing join fetch for @Embeddable with @OneToMany
2015-03-11 15:58:29 -07:00
Steve Ebersole
24bafba2b0
Merge pull request #848 from golovnin/HHH-9328_newmaster
...
HHH-9328 Avoid creation of Cascade objects at all
2015-03-10 22:21:53 -05:00
Bradley Plies
51c7bd1523
HHH-5654 PostgreSQL Dialect will now correctly apply "for update of" for any necessary table aliases. Added test.
...
Signed-off-by: Bradley Plies <pliesb@yahoo.com>
2015-03-10 21:44:39 -05:00
Brett Meyer
e70832d9dd
HHH-9044 - Create Oracle12cDialect
2015-03-10 21:40:03 -05:00
Steve Ebersole
11095e709d
HHH-9044 - Create Oracle12cDialect
2015-03-10 21:38:51 -05:00
zhouyanming
73a88ff65c
HHH-9044 - Create Oracle12cDialect
2015-03-10 21:38:41 -05:00
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 4a8bc1f250
)
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 c80a8c442a
)
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 a98ebc4ed4
)
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 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