Gail Badner
839bf0b6f9
HHH-11073 : Casting to boolean in HQL query fails on MySQL
2016-08-31 00:22:16 -07:00
Gail Badner
4551e521c1
HHH-11073 : test case
2016-08-31 00:21:25 -07:00
Gail Badner
b28e0974df
HHH-11072 : Skip CriteriaLiteralInSelectExpressionTest#testStringLiteral2 for Oracle, Db2, SQL Server, and Sybase dialects
2016-08-30 23:10:00 -07:00
Steve Ebersole
d5cbd8fdf0
HHH-8630 - random map key column generated when using @AttributeOverrides and @ElementCollection
2016-08-30 18:41:56 -05:00
姜禹
19834a0046
HHH-10502 - ORDER BY FIELD(..) throws java.sql.SQLException: Operand should contain 1 column(s)
2016-08-30 15:56:52 +03:00
Steve Ebersole
aaa32ebed5
HHH-11067 - Proxy-wrapped Sessions (ThreadLocalSessionContext.TransactionProtectionWrapper) handle equals incorrectly
2016-08-26 10:53:40 -05:00
Gail Badner
4f991c3e74
HHH-9739 : Updated object is written to second level cache with CacheMode.IGNORE
2016-08-25 01:04:52 -07:00
Steve Ebersole
68c62da29e
HHH-11058 - NPE in SchemaValidator with DdlTransactionIsolatorJtaImpl
2016-08-20 10:02:40 -05:00
Steve Ebersole
f26eb97091
HHH-11058 - NPE in SchemaValidator with DdlTransactionIsolatorJtaImpl
2016-08-19 15:48:51 -05:00
Gail Badner
5096982532
HHH-11037 : Correct jira issue in @TestForIssue
2016-08-18 15:44:31 -07:00
Andrea Boriero
62bfbf8bd9
HHH-11037 - Same named subtype embeddable properties ignored
2016-08-18 15:44:31 -07:00
Andrea Boriero
3028f5d787
HHH-11037 - Add test for issue
2016-08-18 15:44:31 -07:00
johara
65422a6750
HHH-11051 : Cache EventListenerRegistry and StatisticsImplementor
...
(cherry picked from commit 97318b71f0
)
Conflicts:
hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
(cherry picked from commit 836691b5a7
)
Conflicts:
hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
2016-08-18 15:16:45 -07:00
Andrea Boriero
f201d2829e
HHH-10693 - Fix PostgreSQL failing tests
2016-08-15 09:15:23 +02:00
Andrea Boriero
8d86770dcc
HHH-11033 - NativeQueryImpl::doScroll seems to be broken when used with setParameterList (affects scroll and stream)
2016-08-14 17:59:06 +02:00
Andrea Boriero
6ec48514f7
HHH-11033 - Add test for issue
2016-08-14 17:59:06 +02:00
Andrea Boriero
78cab094b9
HHH-11036 - The drop schema filtering of sequence generation with schemaFilter is wrong
2016-08-11 08:07:28 +02:00
Chris Cranford
5b7d00ef1e
HHH-10978 - Added test case.
2016-08-10 15:51:07 -07:00
Chris Cranford
9c37511811
HHH-10978 - Fix building join table metadata with default catalogs or schema values.
2016-08-10 15:51:07 -07:00
Andrea Boriero
4c79b4fa50
HHH-11030 - InformationExtractorJdbcDatabaseMetaDataImpl getTable method wrong default namespace lookup
2016-08-10 13:41:11 +02:00
VyacheslavRarata
f0fa15b247
HHH-10106 - Include source entity name and table name (attribute name too ideally) for associations referencing unmapped classes
2016-08-10 14:29:43 +03:00
Andrew Judson
6dd41e7ae6
HHH-3846 - Persisting entity with detached associated entity.
2016-08-10 13:22:11 +03:00
Vlad Mihalcea
a63935b530
HHH-11005 - OneToMany generated incorrect SQL where MapKey is on superclass and using InheritanceType.JOINED
...
Add missing license headers
2016-08-10 08:44:35 +03:00
Richard Barnes
e75b017a46
HHH-11005 - OneToMany generates incorrect SQL where MapKey is on superclass and using InheritanceType.JOINED
2016-08-10 08:41:04 +03:00
Andrea Boriero
455d86307b
HHH-10695 - Fix MySQL should not use the NCLOB type
2016-08-09 16:26:38 -07:00
Andrea Boriero
513c2358f7
HHH-10693 - Fix PostgreSQL should not use nvarchar when using Nationaliztaion
2016-08-09 15:37:33 -07:00
Andrea Boriero
c1023ac49e
HHH-10693 - Change test to run with PostgreSQL dialect
2016-08-09 15:29:01 -07:00
Andrea Boriero
4ac5978c20
HHH-11024 - Fix checkstyle error
2016-08-09 13:14:39 +02:00
Vlad Mihalcea
731732d780
HHH-11019 - Extend DelayedPostInsertIdentifier support to include checks for FlushMode (EXTENDED PC)
...
Add tests to demonstrate how PersistenceContextType.EXTENDED works with the IDENTITY generator
2016-08-09 11:26:13 +03:00
Steve Ebersole
6c005239d4
HHH-11024 - Exception still thrown when dropping schema with a managed connection - exclude any arq+wf tests from JDK 9 builds
2016-08-08 15:53:55 -05:00
Steve Ebersole
7038b3e983
HHH-11024 - Exception still thrown when dropping schema with a managed connection - extend test task dependencies to the matrix-tesing plugin test tasks
2016-08-08 14:40:31 -05:00
Andrea Boriero
dddf01740e
HHH-11024 - Add test for issue
2016-08-08 14:50:48 +02:00
Steve Ebersole
2db3d9ad2a
HHH-11024 - Exception still thrown when dropping schema with a managed connection
2016-08-06 14:09:39 -05:00
Steve Ebersole
f025cf9c03
HHH-11024 - Exception still thrown when dropping schema with a managed connection
2016-08-06 14:05:03 -05:00
Andrea Boriero
468307f394
HHH-10953 - Fix tests failing on PostgreSQL
2016-08-03 21:51:18 +02:00
Andrea Boriero
f7cc256a1c
HHH-10952 - Tests leaving transactions opened cause PostgreSQL to hang
2016-08-03 21:37:27 +02:00
Andrea Boriero
109410b153
HHH-10942 - Session not flushing starting from 5.2.0 in Karaf + Aries JPA & JTA
2016-08-03 15:31:51 +02:00
Andrea Boriero
d55ade52b2
HHH-10942 - Add test for issue
2016-08-03 15:30:57 +02:00
Andrej Golovnin
26f2b8e42a
HHH-10924 Replace ConcurrentServiceBinding by ConcurrentHashMap
2016-08-03 14:18:12 +01:00
Andrea Boriero
5b327f52c3
HHH-10953 - HQL update statement fails if entity is inside a package of format in.mycomany.domain.Entity
2016-08-03 14:41:52 +02:00
Andrea Boriero
b90093927d
HHH-10953 - Add test for issue
2016-08-03 14:41:52 +02:00
Andrea Boriero
7c361fee3a
HHH-10991 - Wrong order parameter binding when filters are used in conjunction with component type parameters and subqueries
2016-08-03 08:44:17 +03:00
Chris Cranford
9b9becb903
HHH-11009 - Fix exception message to specify unique constraint only when index is unique.
2016-08-02 16:43:46 -05:00
Chris Cranford
58e4f89f47
Checkstyle fixups.
2016-08-02 16:11:20 -05:00
Gail Badner
894c6470d0
HHH-10896 : fix for checkstyle failure
2016-08-02 13:49:35 -07:00
Steve Ebersole
c7c5a00167
HHH-10896 - Exception thrown when dropping schema with a managed connection
2016-08-02 13:32:09 -05:00
Steve Ebersole
da49122113
HHH-10896 - Exception thrown when dropping schema with a managed connection
2016-08-02 13:08:40 -05:00
Vlad Mihalcea
1661af2d8f
HHH-10965 - Add new Query Hint to avoid passing DISTINCT from entity queries to SQL statements
2016-08-02 17:47:31 +03:00
Andrea Boriero
c5e5287790
HHH-10027 - Dynamic filter parameter can be bound in wrong order when applied to OneToMany collections
2016-08-02 17:44:12 +03:00
Andrea Boriero
d62e9f44ca
HHH-10896 - Fix checkstyle error
2016-08-02 13:17:43 +02:00
Andrea Boriero
e6c36a6666
HHH-10950 - uniqueResultOptional fails for Query created from CriteriaQuery
2016-08-02 11:54:55 +02:00
Andrea Boriero
edf684e1f1
HHH-10950 - uniqueResultOptional fails for Query created from CriteriaQuery
2016-08-02 11:35:24 +02:00
Andrea Boriero
5cbc428421
HHH-10950 - Add test for issue
2016-08-02 11:35:24 +02:00
Andrea Boriero
73df331415
HHH-10937 - The generation of the drop schema does not filter sequence with schemaFilter
2016-08-02 10:58:42 +02:00
Andrea Boriero
a190d2f3eb
HHH-10937 - Add test for issue
2016-08-02 10:58:42 +02:00
Chris Cranford
5eacf421fb
HHH-11016 - Added 'if exists' for sequence drop statements for PostgreSQL82 and derivatives.
2016-08-01 22:38:28 -05:00
Steve Ebersole
d109c15c0c
HHH-10896 - Exception thrown when dropping schema with a managed connection
2016-07-30 07:55:39 -05:00
Steve Ebersole
10def48f48
HHH-10896 - Exception thrown when dropping schema with a managed connection
2016-07-30 07:55:38 -05:00
Gail Badner
0d8f08b9d1
HHH-10795 : added assertions to test case
2016-07-29 15:47:24 -07:00
Gail Badner
56b22aeaac
HHH-10795 : StatefulPersistenceContext.entityEntryContext does not work properly for ManagedEntity associated with a different StatefulPersistenceContext
2016-07-29 15:47:24 -07:00
Vlad Mihalcea
bf823d440c
HHH-10996 - The cleanupTestData utility has issues with link tables
...
Use bulk delete in certain situations like when we have a @Formula annotation that takes an SQL function which is not supported by the currently running DB
2016-07-29 07:43:18 +03:00
Chris Cranford
714ba62158
HHH-10994 - Relax requirement of 'as' in the alias phrase for the MSSQL LimitHandler implementation.
2016-07-28 12:31:44 -05:00
Vlad Mihalcea
8f5ba32990
HHH-10996 - The cleanupTestData utility has issues with link tables
2016-07-27 16:13:35 +03:00
Andrea Boriero
65fee06bd6
HHH-10919 - HQL: Sql syntax exception when joining a Map<Entity,Component>
2016-07-27 14:23:20 +03:00
Gail Badner
2c553f3290
HHH-10993 : NPE when Lazy loading collection without transaction for bytecode enhanced entitie
2016-07-26 16:22:04 -07:00
Gail Badner
41ac8c4f08
HHH-10993 : Correct to test case for master
2016-07-26 14:58:01 -07:00
johara
80e092a432
HHH-10993 - Added testcase for Lazy Loaded collections outside transaction in bytecode enhanced entities
2016-07-26 14:50:34 -07:00
Steve Ebersole
72e948514e
HHH-10984 - Have multiLoad not return (unflushed) DELETED entities;
...
HHH-10617 - multiLoad behavior
2016-07-26 11:31:17 -05:00
Andrea Boriero
085a70beb4
HHH-10920 - Joined inheritance : Same super class field name in embedded type causes embedded field to be ignored
2016-07-26 17:00:22 +03:00
Andrea Boriero
649e2b76e7
HHH-10959 - Methods in org.hibernate.query.Query should not return the deprecated org.hibernate.Query
2016-07-26 08:12:09 -05:00
Andrea Boriero
e1bdbc84d4
HHH-10959 - Add test for issue
2016-07-26 08:12:09 -05:00
Gunnar Morling
65bbf28d3c
HHH-10923 Upgrading CDI and related dependency versions
2016-07-26 15:16:25 +03:00
Andrea Boriero
5e69823b79
HHH-10915 - NullPointerException from AbstractProducedQuery.getParameters()
2016-07-26 15:05:18 +03:00
jfb
26df5d9e11
HHH-10531 JaxbHbmTuplizerType marshalling does not conform hibernate-mapping-4.0.xsd
...
HHH-10532 Cannot marshall JaxbHbmBasicAttributeType to xml if the "generated" attribute is not specified
2016-07-26 11:22:29 +03:00
Marvin Froeder
74e959f1bc
HHH-10879 SqlServer dialect doesn't respect "key" reserved keyword
2016-07-22 11:27:41 +03:00
barreiro
a9318ce656
HHH-10973 - Fix 'class is frozen' when enhancing bidirectional relationships
2016-07-21 22:23:22 -07:00
barreiro
987487e106
HHH-10977 - Entity not enhanced after MappedSuperclass
2016-07-21 22:23:22 -07:00
Dmytro Bondar
29edc4f367
HHH-10810 - ImplicitIndexColumnNameSource should extend ImplicitNameSource.
2016-07-21 17:56:26 +03:00
Dmytro Bondar
63ea1f812a
HHH-8687 Better exception message for PostgreSQL81Dialect and named REF_CURSOR parameter binding
2016-07-21 16:59:00 +03:00
Yanming Zhou
5ea8997ca7
Fix missing currentTenantIdentifierResolver
...
1. Add missing sessionFactoryBuilder.applyCurrentTenantIdentifierResolver() .
2. Use getter instead of field for consistency .
2016-07-21 15:12:58 +03:00
Vlad Mihalcea
b90047f55d
HHH-10960 - Clarification of org.hibernate.query.Query methods
...
This test tries to replicate the given issue, but I could not find any compile warning related to this class.
2016-07-21 12:27:58 +03:00
Gabriel Belingueres
5e82c2e414
Fixes HHH-10800 - InformixDialect: add support for current_timestamp() and current_date()
2016-07-21 10:58:25 +03:00
Idel Pivnitskiy
e814eb930b
Fix mistake in doc for org.hibernate.annotations.CascadeType#DETACH
2016-07-20 18:09:36 +03:00
barreiro
92c1e63577
HHH-10922 - Call on bytecode enhanced method trigger load of proxy
2016-07-19 12:34:31 -07:00
barreiro
45adb05f5a
HHH-10922 - Test case
2016-07-19 12:34:31 -07:00
Gail Badner
c893577efc
HHH-5393 : MappingException when @MapKeyColumn refers to a column mapped in embeddable map value
2016-07-14 15:16:51 -07:00
Vlad Mihalcea
9ac00406d2
HHH-10955 - PessimisticWriteLockTimeoutTest#testSkipLocked should run only on PostgreSQL 9.5
2016-07-14 14:12:39 +03:00
Vlad Mihalcea
f5e10c29eb
HHH-10907 - Fix connection leak problem in hibernate-core tests
2016-07-14 13:55:30 +03:00
Vlad Mihalcea
da9c6e160d
HHH-10907 - Fix connection leak problem in hibernate-core tests
2016-07-13 18:02:47 +03:00
Andrea Boriero
e4062362ac
HHH-10952 - Tests leaving transactions opened cause PostgreSQL to hang
2016-07-13 10:17:14 +02:00
Vlad Mihalcea
799ab91cf5
HHH-10943 - Driver Manager Connection Pool should close leaked connections upon shutting down
2016-07-12 17:14:59 +03:00
Vlad Mihalcea
dc5fe2cde8
HHH-10900 - ExceptionConverter throws an exception if the Proxy is no longer reachable
2016-07-12 15:58:52 +03:00
Andrea Boriero
f0fe332991
HHH-10944 - org.hibernate.test.mappingexception.MappingExceptionTest#testNotFound failure
2016-07-12 11:15:17 +01:00
Gail Badner
406a82616b
HHH-10551 : test case
...
(cherry picked from commit c1f3b54194
)
Conflicts:
hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/LazyBasicFieldNotInitializedTestTask.java
2016-07-11 18:47:04 -07:00
Gail Badner
cdd7fb66c8
HHH-10888 : PluralAttribute#isAssociation returns true for @ElementCollection
2016-07-11 13:41:50 -07:00
Brett Meyer
da4f5e1a57
HHH-10947 Add @Repeatable to Hibernate-owned annotations
2016-07-11 15:33:35 -04:00
Chris Cranford
acd2f238ee
HHH-10905 - Fix NPE when calling StatelessSession methods with null LockMode.
2016-07-07 13:26:06 -05:00
Steve Ebersole
5b5d2b6559
HHH-10863 - Improve consistency of how we call implicitNamingStrategy.determineBasicColumnName with element collections
2016-06-30 08:47:17 -05:00
Guillaume Smet
7f3a3bcbcc
HHH-10863 Add a isCollectionElement() method to AbstractAttributeKey
...
It allows external libraries to test for the collection element marker
without being aware of the exact syntax used as it might change in the
future.
2016-06-30 08:47:17 -05:00
Guillaume Smet
9fd61a10db
HHH-10863 Be consistent in the parameter passed to
...
ImplicitNamingStrategy#determineBasicColumnName
When dealing with an element collection (say items.name),
ImplicitNamingStrategy#determineBasicColumnName is sometimes called
with items.collection&&element.name and sometimes with items.name.
This is due to HHH-6005 which removes the "collection&&element."
part before calling determineBasicColumnName.
With this patch, we only remove the "collection&&element." part before
calling the physical naming strategy, thus allowing us to be consistent
in the way we call ImplicitNamingStrategy#determineBasicColumnName.
2016-06-30 08:47:17 -05:00
Gail Badner
570577b653
HHH-10851 : Change to check for @Access on field and getter before checking the class containing the attribute
2016-06-30 00:35:08 -07:00
Vlad Mihalcea
0e6230faf0
HHH-10904 - Fix tests failing when switching to MySQL
2016-06-30 08:50:22 +03:00
barreiro
5ef1da74c2
HHH-10851 - PropertyAccessMixed not aware of Access annotation
2016-06-30 00:34:21 +02:00
barreiro
cdc69a475b
HHH-10801 - Bytecode enhancement of @MappedSuperclass
2016-06-30 00:29:29 +02:00
barreiro
f0dfc1269b
HHH-10865 - ManyToMany relation dropped from database when lazy loading is active
2016-06-29 23:27:49 +02:00
Andrea Boriero
20f68d43a4
HHH-8488 - Fix Join, CollectionJoin, SetJoin, ListJoin, MapJoin CriteriaBuilder#treat SetJoin behaviour
2016-06-29 19:35:55 +02:00
Andrea Boriero
9d20d3ab03
HHH-8488 - Add tests for issue
2016-06-29 19:35:55 +02:00
Chris Cranford
cf0fb8d262
HHH-10807 - Added test case for JTA transactions and marked for rollback.
2016-06-29 11:15:46 -05:00
Chris Cranford
ee4f939a04
HHH-10807 - Moved isActive from Transaction to TransactionImplementor.
2016-06-29 11:15:45 -05:00
Chris Cranford
1bc2f7c79c
HHH-10807 - Fix flush operation to work when transaction marked for rollback.
2016-06-29 11:15:45 -05:00
Chris Cranford
e7933ababb
HHH-10807 - Added isActive to Transaction and moved logic to TransactionDriver.
2016-06-29 11:15:45 -05:00
Andrea Boriero
a8bcedecbf
HHH-10877 - Fix Introduce a configuration option to allow out of transaction updates
2016-06-29 14:55:56 +02:00
Andrea Boriero
88e7254b6e
HHH-10877 - Add test for issue
2016-06-29 14:28:13 +02:00
Gail Badner
1d20ea4f60
HHH-10413 : byte[] as the version attribute broken
2016-06-28 21:57:53 -07:00
Gail Badner
13db8b95e3
HHH-10729 HHH-9021 HHH-10230 : Add more checks to test cases
2016-06-28 17:11:26 -07:00
Andrea Boriero
597183a3b9
HHH-10861 - Fix nullLiteral in select expression
2016-06-28 20:46:52 +02:00
Andrea Boriero
e71af130f0
HHH-10729 HHH-9021 HHH-10230 - Fix Issue with literals in select expression
2016-06-28 20:46:52 +02:00
Andrea Boriero
e0963d56b9
HHH-10729 HHH-9021 HHH-10230 - Add test for issue
2016-06-28 20:46:52 +02:00
Andrea Boriero
3855a48f1e
HHH-10843 - Fix QuerySyntaxException when use CriteriaBuilder.concat in selectCase expression
2016-06-28 17:30:35 +02:00
Andrea Boriero
a3ed7010b6
HHH-10843 - Add test for issue
2016-06-28 17:30:35 +02:00
Andrea Boriero
d889b412cd
HHH-10885 - QueryParameterBindingsImpl refactoring
2016-06-28 17:20:12 +02:00
Andrea Boriero
92f5032cc0
HHH-10885 - Fix JPA Native Queries with ordinal parameter is zero based
2016-06-28 17:20:12 +02:00
Andrea Boriero
e99270c332
HHH-10885 - Add test for issue
2016-06-28 17:20:12 +02:00
Vlad Mihalcea
0b34910b22
HHH-10890 - PostgreSQL does not consider alias-specific LockMode
2016-06-28 17:43:32 +03:00
Andrea Boriero
5cb5b68f9c
HHH-10893 - Fix Reusing Query but changing collection parameters returns wrong result
2016-06-28 16:29:19 +02:00
Andrea Boriero
0e0f497c2a
HHH-10893 - Add test for issue
2016-06-28 16:29:19 +02:00
Andrea Boriero
2d9caaf030
HHH-10837 - Changed new setting name to hibernate.jpa.static_metamodel.population
2016-06-28 15:52:12 +02:00
Andrea Boriero
1558eb73a6
HHH-10837 - with jpaMetaModelPopulationSetting.DISABLED the MetadataContext is not created
2016-06-28 15:52:12 +02:00
Andrej Golovnin
248d9cca14
HHH-10837 Add new setting to disable/enable scanning for the static metamodel.
2016-06-28 15:52:12 +02:00
Andrea Boriero
83eb8b0f76
HHH-10341 - Fix failing test
2016-06-28 15:19:03 +02:00
Andrea Boriero
04f1fcc762
HHH-10341 - Fix Specification violation in Implementation of TupleElement
2016-06-28 15:19:03 +02:00
Andrea Boriero
57b954d476
HHH-10341 - Add test for issue
2016-06-28 15:19:03 +02:00
Vlad Mihalcea
f59dfa2522
HHH-10889 - Fix unit tests failing on Oracle
2016-06-28 15:56:01 +03:00
Vlad Mihalcea
e779f6ae16
HHH-10886 - The follow-on-locking Oracle mechanism should consider UNION as well
2016-06-28 15:33:45 +03:00
mharray
253820a289
HHH-10874 - @Where annotation is not processed with "Extra-lazy" loading for bidirectional collections
...
For bidirectional collections, the where clause is now considered when calculating the size() of the LazyCollectionOption.EXTRA annotated collections
2016-06-23 11:55:25 +03:00
Vlad Mihalcea
eec01edcca
HHH-10876 - DefaultIdentifierGeneratorFactory does not consider the hibernate.id.new_generator_mappings setting
2016-06-23 10:31:51 +03:00
Gail Badner
59c0d48f8d
HHH-10648 : No MultipleBagFetchException is thrown when fetching two bags eagerly
2016-06-23 00:05:07 -07:00
Andrea Boriero
ad5c0f6376
HHH-10860 - Fix Query#scroll() throws NPE
2016-06-22 16:23:54 +02:00
Andrea Boriero
1e5a022e93
HHH-10860 - Add test for issue
2016-06-22 16:23:54 +02:00
Andrea Boriero
6c80bc4b08
HHH-10839 - Fix checkstyle errors
2016-06-22 15:48:48 +02:00
Gail Badner
60bfef093a
HHH-10761 : Moved test case to hibernate-entitymanager
2016-06-21 17:15:31 -07:00
Gail Badner
6853fdae70
HHH-8999 : NullPointerException when updating or deleting multiple entities of same type with non-comparable IDs
2016-06-21 12:11:36 -07:00
Gail Badner
280f93add3
HHH-8999 : Added test cases
2016-06-21 12:11:36 -07:00
Sanne Grinovero
59a3b4587e
HHH-10839 Restore some lost backwards compatibility ( #1418 )
...
* HHH-10839 Restore some more selected deprecated APIs
* HHH-10839 Restore backwards compatibility for org.hibernate.Query contract
* HHH-10839 Missing override in the new org.hibernate.query.Query interface
2016-06-21 13:09:10 -05:00
Emmanuel Bernard
b11d10d742
HHH-10813 Replace AssertionFailure with HibernateException when collection not processed by flush
2016-06-21 17:15:46 +03:00
Martin Prebio
4604258746
Fix Javadoc typo
2016-06-21 17:05:44 +03:00
Joël Marty
b13fffee6c
HHH-10238: Derby MultiTableBulkIdStrategy uses non-existant temporary tables
...
- DerbyDialect.java: make getDefaultMultiTableBulkIdStrategy() return a LocalTemporaryTableBulkIdStrategy
2016-06-21 16:20:00 +03:00
Andrea Boriero
aa6ab6d074
HHH-10870 - Fix Parameter lookup for Iterable fails on Criteria API
2016-06-20 20:23:06 +02:00
Andrea Boriero
c8acf1ed9e
HHH-10870 - Add test for issue
2016-06-20 18:47:50 +02:00
Vlad Mihalcea
69ee03a79c
HHH-10826 Auxiliary Database Object no longer documented
...
HHH-10334 @Formula annotation javadoc contains database dependent sample usage
Created a new section related to automatic schema generation
2016-06-20 13:26:34 +03:00
Steve Ebersole
60aac117e6
HHH-10774 - SortedMap defined in .hbm.xml are not sortable
2016-06-19 12:08:20 -05:00
Steve Ebersole
b112e5af3f
HHH-10864 - Allow ORM to be built with Java 9
2016-06-18 15:12:23 -05:00
Steve Ebersole
fdd15307e0
HHH-10864 - Allow ORM to be built with Java 9
2016-06-17 13:40:44 -05:00
Steve Ebersole
015be3df6e
HHH-10864 - Allow ORM to be built with Java 9
2016-06-17 13:40:44 -05:00
Steve Ebersole
b7f17ce898
HHH-10277 - AttributeConverter not applied to attributes of an embeddable used as collection element
2016-06-16 11:10:44 -05:00
Nikita
309b1b27b0
HHH-10516 - Incorrect coalesce function for InformixDialect
...
HHH-10846 - InformixDialect has incorrect substring function
2016-06-16 16:24:59 +03:00
Gail Badner
7ed51f44dd
HHH-10562 : ManagedEntity linked list broken when non-associated enhanced entity is evicted
2016-06-15 22:05:10 -07:00
Chris Cranford
66172dd30e
Checkstyle fixups.
2016-06-15 23:21:32 -05:00
Gail Badner
10a035481d
HHH-10360 : Natural ID columns are nullable by default
2016-06-15 16:54:11 -07:00
Gail Badner
67c7858dd5
HHH-10360 : Added test cases
2016-06-15 16:46:04 -07:00
Piotr Findeisen
832b62f7bb
HHH-9486: Use follow-on locking when paging only
2016-06-15 18:57:29 +03:00
Vlad Mihalcea
097abe8be1
Externalize the ConnectionProvider delegate logic out of PreparedStatementSpyConnectionProvider
2016-06-15 06:46:31 +03:00
Andrea Boriero
da0b46d61c
HHH-10375 - Fix adding an entity at index to list with @OrderColumn in detached Entity
2016-06-14 15:28:36 -07:00
Andrea Boriero
6e47c2840a
HHH-10375 - Add test for issue
2016-06-14 15:28:36 -07:00
Chris Cranford
e2343f873a
HHH-10824 - Fix query stream API to support returning R rather than Object[] when selecting one type.
2016-06-14 10:51:08 -05:00
Vlad Mihalcea
e9b48a881d
Change PreparedStatementSpyConnectionProvider so that it works with any given ConnectionProvider
2016-06-14 13:52:35 +03:00
Vlad Mihalcea
6142f92d2f
Improve the PreparedStatement assertion mechanism to rely on Mockito solely
2016-06-14 12:50:43 +03:00
Chris Cranford
be93105e9a
HHH-10299 - Fix DOM4J entity-mode deprecation warning for Envers audited entities.
2016-06-13 23:29:38 -05:00
Andrea Boriero
0eaf431ef6
HHH-10515 - Add test for issue
...
HHH-10515 - Fix Stored procedure execution fails to find column
HHH-10515 : Add test case using no JDBC DatabaseMetaData; move original test case to hibernate-core
HHH-10515 - Fix Stored procedure execution fails to find column
2016-06-13 19:26:40 -07:00
Andrea Boriero
2ea122aedd
HHH-10352 - Fix HBM2DDL does not use described name for foreign key in join inheritance
2016-06-13 16:58:32 -07:00
Andrea Boriero
4afa8fb57d
HHH-10352 - Add test for issue
2016-06-13 16:58:32 -07:00
Andrea Boriero
35cefeda2f
HHH-10796 - Fix org.hibernate.query.Query<R> setProperties(Map map); set to null parameters not contained in the map
2016-06-13 14:02:47 -07:00
Andrea Boriero
6027d8319e
HHH-10796 - Add test for issue
2016-06-13 14:02:47 -07:00
Vlad Mihalcea
8513a55255
HHH-10822 - Wrong signature for SharedSessionContract#setJdbcBatchSize
2016-06-13 18:59:27 +03:00
Andrej Golovnin
28af8cb95a
HHH-10835 The hash code calculation of the EntityKey should also include the hash code of the root entity name.
2016-06-13 12:21:40 +01:00
Chris Cranford
5318cef733
HHH-10803 - Fix test to assert based on exception typing.
2016-06-11 16:02:25 -05:00
Chris Cranford
131127a498
HHH-10803 - Fix getParameter methods to be JPA compliant with thrown exception types.
2016-06-11 16:02:24 -05:00
Chris Cranford
42f3028dca
HHH-10833 - JPA NoResultException and NonUniqueResultException not thrown from getSingleResult.
2016-06-11 15:56:36 -05:00
Gail Badner
ec86d2d446
HHH-10511 : Restore and deprecate org.hibernate.property.access.spi.EnhancedGetterMethodImpl to maintain backward-compatibility
2016-06-10 14:31:01 -07:00
Vlad Mihalcea
a599d4fc1d
HHH-10797 - PostgreSQL81Dialect does not honor the lock timeout settings
...
HHH-10799 - Add PostgreSQL 9.5 Dialect which supports the SKIP LOCKED clause
HHH-10816 - SQLServer2005Dialect does not use NOWAIT for aliases
HHH-10817 - AbstractHANADialect should support the NOWAIT directive in the FOR UPDATE clause
2016-06-10 19:22:00 +03:00
Andrea Boriero
3d74c45e1d
HHH-10820 - Fix InformationExtractorJdbcDatabaseMetaDataImpl quoted table names
2016-06-10 13:52:55 +01:00
Andrea Boriero
c713c56f6c
HHH-10820 - Add test for issue
2016-06-10 13:15:55 +01:00
Andrea Boriero
93a1a1f531
HHH-10427 - Modify test
2016-06-09 18:53:52 +01:00
Andrea Boriero
1beb6ec27b
HHH-10427 - Fix Checkstyle error
2016-06-09 18:49:45 +01:00
Sanne Grinovero
dfa3f52e25
HHH-10427 Make sure to cache Provided services in the fast-access map as well
2016-06-09 11:58:31 -05:00
Sanne Grinovero
f7174c9207
HHH-10427 Protect from double initialization and from concurrent destroy actions
2016-06-09 11:58:31 -05:00
Sanne Grinovero
b626f289b7
HHH-10427 All access to mutable fields needs lock protection
2016-06-09 11:58:31 -05:00
Sanne Grinovero
5a3260fb02
HHH-10427 Binding to alternative implementations need to be a final field
2016-06-09 11:58:31 -05:00
Gail Badner
9ecc646df2
HHH-10427 - Fix ServiceRegistry creates multiple service instances and returns uninitialized services
2016-06-09 11:58:31 -05:00
Andrea Boriero
c1fde98aee
HHH-10427 - Fix ServiceRegistry creates multiple service instances and returns uninitialized services
2016-06-09 11:58:31 -05:00
Andrea Boriero
493793a299
HHH-10427 - Add test for issue
2016-06-09 11:58:31 -05:00
barreiro
86727515f4
HHH-10245 - [enhancer] Do not expose ClassPool
2016-06-09 10:52:13 -05:00
barreiro
d95cecd91b
HHH-10642 - [enhancer] Use INVOKEVIRTUAL instead of INVOKESPECIAL
2016-06-09 10:52:13 -05:00
barreiro
68169968a5
HHH-10511 - drop EnhancedGetterMethod: use GetterMethod / GetterField instead
2016-06-09 10:52:13 -05:00
barreiro
c33735108a
HHH-10583 - [enhancer] also consider attribute type when finding the right mappedBy value
2016-06-09 10:52:13 -05:00
barreiro
37b9a0c903
HHH-10540 - [enhancer] Add CompositeOwner interface only once
2016-06-09 10:52:13 -05:00
Matthias Kurz
78de650efe
HHH-10643 - Attribute 'foreignKeyDefinition' of @javax.persistence.ForeignKey ignored by schema exporter
2016-06-07 11:36:30 +03:00
Dionis Argiri
2abf9ddac4
HHH-10805 - fix hierarchy of PostgreSQL dialects.
2016-06-07 11:17:15 +03:00
Andrea Boriero
30ad787c9e
HHH-10802 - Fix Attempt to resolve foreign key metadata from JDBC metadata failed to find column mappings for foreign key
2016-06-06 16:51:57 +01:00
Andrea Boriero
e03d4d1f88
HHH-10802 - Add test for issue
2016-06-06 16:51:57 +01:00
Alex Belyaev
816c97613d
HHH-9512: Avoid creation of invalid managed -> managed entity mapping in MergeContext when traversing cascade loop
2016-06-06 17:31:08 +03:00
Gail Badner
62ac35213f
HHH-10679 HHH-10712 : Fix subselect fetching in load plans
...
(cherry picked from commit d444be1fdbf3618ce1f52b6ea8b8812fbfd795db)
Conflicts:
hibernate-core/src/main/java/org/hibernate/loader/plan/exec/process/internal/ResultSetProcessingContextImpl.java
2016-06-02 13:03:43 -07:00
Vlad Mihalcea
545930c39f
HHH-1594 - Add on-delete="cascade" support to unidirectional *ToOne relationships.
2016-06-02 16:53:24 +03:00
Martin Simka
c579c8b451
HHH-10756 fix procedure name in test
2016-06-02 08:01:24 +03:00
Anthony Foulfoin
db6832fc1f
HHH-10786 - Add MySQL 5.7 JSON datatype support
2016-06-02 07:52:11 +03:00
barreiro
e615d76a26
HHH-10646 - [enhancer] Add support for @MappedSuperclass
2016-06-01 22:16:03 -05:00
Steve Ebersole
3a0824a037
HHH-10287 - Cache keys no longer include the entity type
2016-06-01 20:51:46 -05:00
Andrea Boriero
114ea15b30
HHH-10085 HHH-10143 - Fix issues with Criteria and case expressions
2016-06-01 00:16:01 -05:00
Louis Jacomet
73aa359242
HHH-10664 Remove duplicate cacheAccess.close() invocation
2016-05-31 23:55:23 -05:00
Andrea Boriero
030f442f3c
HHH-10372 - Fix Sequence generator for idbag ignores generator parameters
2016-05-31 23:44:52 -05:00
Andrea Boriero
a9e4eb4895
HHH-10373 - Add test for issue
2016-05-31 23:44:52 -05:00
Gail Badner
885f76a92f
HHH-10757 : select new ..." with CAST( NULL AS ...) fails
2016-05-31 17:13:22 -07:00
Janario Oliveira
8cd51b450a
HHH-7355 - Added support to join with of many-to-many relation
2016-05-31 16:57:34 +03:00
Timo Verhoeven
5e8bb78b77
HHH-10780 - Provide a PrimitiveByteArrayTypeDescriptor toString implementation
2016-05-31 12:07:44 +03:00
Timo Verhoeven
455368dccd
HHH-9676 - TypeSafeActivator.applyDDL doesn't process composing constraints when @NotNull is present
2016-05-31 07:57:36 +03:00
Gail Badner
f2427fa28a
HHH-10476 : Getting an entity with composite ID containing a detached entity fails if PersistenceContext contains a managed copy
2016-05-27 15:36:18 -07:00
Brett Meyer
53e044334e
HHH-10365 checkstyle
2016-05-26 14:13:54 -04:00
Brett Meyer
69bdf979cb
HHH-10365 added OsgiClassLoaderService support for non-container-managed JPA, tweaked method overloading
2016-05-26 12:05:46 -04:00
Kankare Timo
585a8aa757
HHH-10365: Initializing ClassLoaderService in OsgiPersistenceProvider.
2016-05-26 12:05:46 -04:00
Vlad Kuznetsov
bf9b3f524d
HHH-6781 - Class level @Where annotation is not enforced on collections of that class
2016-05-26 16:23:34 +03:00
Andrea Boriero
80472f6a43
HHH-10513 - Fix locking WARN message logged when query LockMode is NONE
2016-05-26 10:01:55 +01:00
Andrea Boriero
70c6abcbae
HHH-10513 - Add test for issue
2016-05-26 10:01:54 +01:00
Vlad Mihalcea
1345d515d2
HHH-10772 - RuntimeException during releaseStatements causes JDBC connection not to be closed
2016-05-26 10:32:43 +03:00
Dgray16
50b7882663
HHH-10766 Resolve mapping 'type' parameter error
2016-05-25 15:45:54 +03:00
Gail Badner
92dfd69937
HHH-10756 : StoredProcedureQuery with OUT param fails with Oracle when using named parameters
2016-05-24 16:45:28 -07:00
Vlad Mihalcea
a3207ca5a8
HHH-10754 - Add support for PARTITION keyword in @Formula
2016-05-24 21:38:51 +03:00
Vlad Mihalcea
f18a749c12
HHH-10431 - Session-level configurable batch size support
2016-05-24 16:52:46 +03:00
Michael Hum
5a47abbbfe
HHH-9951 - Formula annotation doesn't properly escape keywords/types
2016-05-24 09:54:21 +03:00
Guillaume Smet
5a1194d571
HHH-10760 Add a getter to Index to expose the columnOrderMap
2016-05-23 09:24:20 +01:00
Steve Ebersole
0e1b79d2b5
HHH-10708 - Accessing a lazy collection in an enhanced class deletes it afterwards
2016-05-20 08:52:22 -05:00
barreiro
e91feda6d9
HHH-10708 - Test cases
2016-05-20 08:52:21 -05:00
Chris Cranford
0a92e384bd
HHH-10736 - Fix regression introduced for windows line separator parsing.
2016-05-19 11:26:02 -05:00
Vlad Mihalcea
1223683192
Add a \r\n on the expected form too
2016-05-19 11:26:02 -05:00
Vlad Mihalcea
2315a5fcbf
HHH-10736
...
- Provide test case for situations when \r\n is used as a line separator
- Add a temporary "fix" to demonstrate how we can handle the issue
2016-05-19 11:26:01 -05:00
Vlad Mihalcea
e2c5b34093
Fix checkstyle issue caused by finally block being misplaced
2016-05-19 17:19:22 +03:00
Vlad Mihalcea
d658295025
Fix checkstyle issue due to improper use of spacing
2016-05-19 17:08:54 +03:00
a.navrotskiy
e6d3ad5013
HHH-9406 - Add method for get avg execution time for offen but really fast queries (where avg execution time ~0-1 ms)
2016-05-19 11:26:24 +03:00
Greg Jones
3ef05dea2f
HHH-9894 - Support Informix Boolean Type
2016-05-19 10:02:18 +03:00
soldierkam
87fb8af34f
HHH-10714 - Add support for @Immutable attribute types
2016-05-18 17:33:39 +03:00
Andrea Boriero
d47fc93090
HHH-10752 - Fix ProcedureCallImpl registers every paremeter twice
2016-05-18 12:34:33 +01:00
Vlad Mihalcea
c5704dbafa
HHH-10750 - Add stored procedure unit tests for Oracle, MySQL, PostgreSQL, and SQL Server
2016-05-18 13:16:22 +03:00
Vlad Mihalcea
231484662b
HHH-10689 - Fix tests failing when switching to Oracle
2016-05-17 17:44:32 +03:00
Steve Ebersole
bdff7ab169
HHH-9339 - java.lang.Optional support
2016-05-16 11:25:01 -05:00
Steve Ebersole
aa9e1f0baf
HHH-9339 - java.lang.Optional support
2016-05-16 11:14:05 -05:00
Andrea Boriero
18a068ab5d
HHH-10664 - Fix NativeQueryImpl#doScroll(ScrollMode) does not apply scrollmode
2016-05-13 16:06:59 +01:00
Andrea Boriero
d54b7ad50f
HHH-10691 - Fix other PostgreSQL test failures after HEM integration
2016-05-13 15:26:55 +01:00
Vlad Mihalcea
25c75eed6f
HHH-10691 - Fix tests failing when switching to PostgreSQL
...
HHH-10696 - Add a new CatalogFilterTest
2016-05-13 15:26:47 +01:00
Steve Ebersole
eb308a953a
HHH-9340 - Streams API for query result processing.
2016-05-13 08:38:39 -05:00
Andrea Boriero
b990cf08ea
HHH-9340 - Fix checkstyle error
2016-05-13 14:13:10 +01:00
Steve Ebersole
7cae5ba95b
HHH-9340 - Streams API for query result processing.
2016-05-13 07:13:02 -05:00
Andrea Boriero
14b34c78bd
HHH-10601 - Fix test
2016-05-13 11:47:09 +01:00
Andrea Boriero
0b9e81d35c
HHH-10526 - Fix SchemaMigrator does not apply SchemaFilter on foreign keys
2016-05-13 09:46:31 +01:00
Andrea Boriero
7ac83badf3
HHH-10605 - Fix HSQLDialect dosn't use 'if exists' when dropping sequences
2016-05-13 09:35:15 +01:00
Andrea Boriero
62a1b92881
HHH-10605 - Add test for issue
2016-05-13 09:35:15 +01:00
Chris Cranford
6871824f4d
HHH-8507 - Fix SQL Server 2005 limit handler to be tolerant of carriage returns.
2016-05-12 08:20:47 -05:00
Andrea Boriero
31a75390f7
HHH-10684 - Fix No target script generated for update action when using schema-generation
2016-05-12 10:50:48 +01:00
Andrea Boriero
58fce234df
HHH-10684 - Add test for issue
2016-05-12 10:50:48 +01:00
Andrea Boriero
67c0e68170
HHH-10678 - Fix hbm hibernate-mapping's schema attribute is ignored
2016-05-12 10:12:00 +01:00
Andrea Boriero
ed991e385e
HHH-10678 - Add test for issue
2016-05-12 10:12:00 +01:00
Andrea Boriero
251a19ef24
HHH-10718 - Fix Underscore in table name can result in SchemaExtractionException: More than one table found
2016-05-12 09:44:59 +01:00
Andrea Boriero
bc8fc81efa
HHH-10710 - Add test for issue
2016-05-12 09:44:59 +01:00
Andrea Boriero
ffb7470ce8
HHH-10601 - Fix Persistence.generateSchema - the output file contains duplicated DDL statements
2016-05-12 08:30:08 +01:00
Chris Cranford
8117588354
Checkstyle fix - Added file header.
2016-05-11 17:15:00 -05:00
Steve Ebersole
69b8202c75
HHH-9602 - Schema validation fails when materialized view is involved
2016-05-10 08:21:58 -05:00
dionis
8235721747
HHH-9602 - added new dialect for PostgreSQL 9.3 that supports materialized views & enable materialized view support.
2016-05-10 08:21:58 -05:00
Chris Cranford
d44e535b12
Checkstyle fix
2016-05-06 20:57:16 -05:00
Naros
7854e1d338
HHH-9084 - Added regression test case.
2016-05-06 20:23:08 -05:00
Chris Cranford
2b66cd72bb
Checkstyle fixups
2016-05-06 18:37:59 -05:00
Steve Ebersole
8c9152040c
HHH-10664 - Prep 5.2 feature branch
2016-05-06 13:27:14 -05:00
Andrea Boriero
69c8ef29a8
Steve fix NoCdiAvailableTest
2016-05-06 13:13:30 -05:00
Andrea Boriero
a6af7c6f74
remove gradle stupid log :)
2016-05-06 13:13:29 -05:00
Andrea Boriero
9ae57a6f7a
remove hibernate-entitymanager project
2016-05-06 13:13:29 -05:00
Andrea Boriero
b77626ddbd
other changes
2016-05-06 13:12:39 -05:00
Andrea Boriero
37fc401da8
copy test from hem to core
2016-05-06 13:12:39 -05:00
Steve Ebersole
5e30247c6f
HHH-10669 - Allow to add SF-scoped services through a ServiceContributor
2016-05-06 13:12:38 -05:00
Steve Ebersole
60dd63536e
HHH-10726 - Support for Java 8 date/time types as Query parameters
2016-05-06 13:12:38 -05:00
Steve Ebersole
d44bacedd0
HHH-10674 - SessionFactoryObserver could use a sessionFactoryAboutToClose method
2016-05-06 13:12:38 -05:00
Steve Ebersole
6cb8ef26ac
HHH-10674 - SessionFactoryObserver could use a sessionFactoryAboutToClose method
2016-05-06 13:12:38 -05:00
Andrea Boriero
2e1d1a6f16
Fix TransactionJoiningTest
2016-05-06 13:12:38 -05:00
Chris Cranford
f30c879bca
Removed checkOpen() from accessTransaction()
2016-05-06 13:12:38 -05:00
Chris Cranford
0f2ced4668
- Add new configuration setting ALLOW_JTA_TRANSACTION_ACCESS. Uses can use this setting to
...
override default JPA behavior for transaction access if needed.
- Added new SPI method accessTransaction() which bypasses checks and returns the current or new transaction.
2016-05-06 13:12:38 -05:00
Steve Ebersole
f826b7d5e8
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (test fixup)
2016-05-06 13:12:38 -05:00
Steve Ebersole
52fd42ebb4
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (Query#getHints)
2016-05-06 13:12:38 -05:00
Steve Ebersole
d06055a951
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (Query#getHints)
2016-05-06 13:12:38 -05:00
Andrea Boriero
71f69b09a6
Fix LockTimeoutPropertyTest
2016-05-06 13:12:37 -05:00
Steve Ebersole
71009d0da4
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures)
2016-05-06 13:12:37 -05:00
Steve Ebersole
9ecb2a3deb
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures)
2016-05-06 13:12:37 -05:00
Steve Ebersole
1c1783e90f
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures)
2016-05-06 13:12:37 -05:00
Steve Ebersole
b67b5866ac
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures)
2016-05-06 13:12:37 -05:00
Steve Ebersole
68bde01676
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures)
2016-05-06 13:12:37 -05:00
Chris Cranford
6e5a4e6335
Fix javadoc/comments to indicate ordinals are stored 0-based rather than 1-based.
2016-05-06 13:12:37 -05:00
Steve Ebersole
5a328d1d72
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures)
2016-05-06 13:12:37 -05:00
Steve Ebersole
66802a70c1
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures)
2016-05-06 13:12:37 -05:00
Steve Ebersole
1ece6056d1
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures)
2016-05-06 13:12:37 -05:00
Steve Ebersole
4ad242799a
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (misc)
2016-05-06 13:12:37 -05:00
Andrea Boriero
614d406e8c
fix ValidatorFactory2PhaseInjectionTest
2016-05-06 13:12:37 -05:00
Steve Ebersole
7ce75e4080
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (autoClear fix)
2016-05-06 13:12:37 -05:00
Andrea Boriero
c4378c1c9d
Fix not masked properties
2016-05-06 13:12:37 -05:00
Andrea Boriero
4f1bca75bc
Fix JPA Transaction#commit() does not throw RollbacackException
2016-05-06 13:12:36 -05:00
Andrea Boriero
3637bd342d
Fix RefreshTest
2016-05-06 13:12:36 -05:00
Andrea Boriero
d6a3fdb771
Fix EntityManagerFactoryClosedTest
2016-05-06 13:12:36 -05:00
Chris Cranford
fd7ada315e
Fixed NullPointerException when building session.
2016-05-06 13:12:36 -05:00
Chris Cranford
a54da750ad
Fixed failing tests and code to treat '?' parameters as 0-based ordinals and '?<position>' parameters as named 1-based parameters.
2016-05-06 13:12:36 -05:00
Steve Ebersole
8a746b98a7
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (stored procedure queries)
2016-05-06 13:12:36 -05:00
Chris Cranford
affa6a086c
Fix FlushMode
2016-05-06 13:12:36 -05:00
Andrea Boriero
1e6a601795
Fix NonNullableCircularDependencyCascadeTest
2016-05-06 13:12:36 -05:00
Steve Ebersole
bedb33decf
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (Interceptor handling)
2016-05-06 13:12:36 -05:00
Andrea Boriero
8f812730d1
Fix setLockMode
2016-05-06 13:12:36 -05:00
Andrea Boriero
bec73b3bd3
Fix MultiCircleJpaCascadeTest#testPersistNoCascadeToTransient() test
2016-05-06 13:12:36 -05:00
Andrea Boriero
9e4b90e72a
Fix test transactionCoordinator.isActive() check
2016-05-06 13:12:35 -05:00
Andrea Boriero
7570baed15
Fix issue with jta getTransaction()
2016-05-06 13:12:35 -05:00
Chris Cranford
ad7771d489
Removed an unnecessary check.
2016-05-06 13:12:35 -05:00
Chris Cranford
35f27be589
Changed positional parameter mappings to be stored as list.
...
Added JPA positional and named parameter translation support.
2016-05-06 13:12:35 -05:00
Steve Ebersole
8ef423a1b3
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (have HibernateException extend JPA PersistenceException)
2016-05-06 13:12:35 -05:00
Andrea Boriero
f4d8a9d850
Fix unwarp for SharedSessionContractImplementor
2016-05-06 13:12:35 -05:00
Andrea Boriero
b352756377
Fix ManipulationCriteriaTest
2016-05-06 13:12:35 -05:00
Andrea Boriero
da4ee5bbac
Fix issue with getMetamodel() called before its initialization
2016-05-06 13:12:35 -05:00
Andrea Boriero
4f72bd0cef
Fix guessType() method refactoring
2016-05-06 13:12:35 -05:00
Andrea Boriero
3839fc8c8b
Fix ParameterTest
2016-05-06 13:12:35 -05:00
Andrea Boriero
13ce7148ae
Fix closing entity manager that uses a closed session factory, must throw IllegalStateException
2016-05-06 13:12:35 -05:00
Chris Cranford
c10c006b0d
Fix ordinal bind parameter binding to fix SQLLoaderTest testCompositeIdId.
2016-05-06 13:12:35 -05:00
Andrea Boriero
33c4f3b5b5
fix Session#refresh() exception
2016-05-06 13:12:35 -05:00
Steve Ebersole
d2ac092992
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (HEM tests - JPA requirements around access to Transaction delegate after EntityManager is closed; also its requirement that the same Transaction delegate be available across all calls to its commit/rollback methods)
2016-05-06 13:12:35 -05:00
Steve Ebersole
5e37492490
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (HEM tests - JPA requirements around access to Transaction delegate after EntityManager is closed; also its requirement that the same Transaction delegate be available across all calls to its commit/rollback methods)
2016-05-06 13:12:34 -05:00
Steve Ebersole
2c96937587
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (HEM tests - JPA requirements around access to Transaction delegate after EntityManager is closed; also its requirement that the same Transaction delegate be available across all calls to its commit/rollback methods)
2016-05-06 13:12:34 -05:00
Steve Ebersole
8e6d51d56d
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (added org.hibernate.boot.spi.SessionFactoryOptions.isJpaBootstrap)
2016-05-06 13:12:34 -05:00
Andrea Boriero
2d2e496e10
Fix MasterDetailTest
2016-05-06 13:12:34 -05:00
Steve Ebersole
482771ad99
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (initial compilation and work on hibernate-entitymanager tests)
2016-05-06 13:12:34 -05:00
Steve Ebersole
a7a039e291
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures)
2016-05-06 13:12:34 -05:00
Steve Ebersole
16c78f0438
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures)
2016-05-06 13:12:34 -05:00
Andrea Boriero
49514b92e3
Fix ImmutableNaturalIdTest
2016-05-06 13:12:34 -05:00
Andrea Boriero
dc0033aa9d
Fix IdClassTest
2016-05-06 13:12:34 -05:00
Andrea Boriero
44efc0162e
Fix error causing ClearEventListenerTest failure
2016-05-06 13:12:34 -05:00
Chris Cranford
d34153f52e
FIx setProperties functionality.
2016-05-06 13:12:34 -05:00
Chris Cranford
713263a71c
Fix SuppliedConnectionTest failure.
2016-05-06 13:12:34 -05:00
Steve Ebersole
ebfab98f2e
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures)
2016-05-06 13:12:34 -05:00
Andrea Boriero
d9ac176989
Fix for TuplizerDynamicEntityTest and ImprovedTuplizerDynamicEntityTest
2016-05-06 13:12:34 -05:00
Chris Cranford
16b0b74bd2
Fixed assertion errors and session.merge returning correct exceptions.
2016-05-06 13:12:34 -05:00
Chris Cranford
4e2f0f804d
Fix typo
2016-05-06 13:12:33 -05:00
Chris Cranford
9076c78785
Fix TransactionRequiredException failures.
2016-05-06 13:12:33 -05:00
Andrea Boriero
a9ffd13efb
Fix SessionEventListenerManager serialization issue
2016-05-06 13:12:33 -05:00
Steve Ebersole
63e96a46ce
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures)
2016-05-06 13:12:33 -05:00
Chris Cranford
a340d11eea
Fixed exception handling to expect IllegalArgumentException rather than QueryExceptioin
2016-05-06 13:12:33 -05:00
Andrea Boriero
4b2e96c6e9
Fix SecondaryTableTest
2016-05-06 13:12:33 -05:00
Andrea Boriero
7b107539db
Fix BasicHibernateAnnotationsTest
2016-05-06 13:12:33 -05:00
Andrea Boriero
d67db86f73
Fix EmbeddableIntegratorTest
2016-05-06 13:12:33 -05:00
Steve Ebersole
59ed7fa29b
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures)
2016-05-06 13:12:33 -05:00
Andrea Boriero
5c5de945e5
HHH-10664 - Fix SortedSet issue
2016-05-06 13:12:33 -05:00
Chris Cranford
b4b158aaff
Fixed missing bound parameters not throwing QueryException
2016-05-06 13:12:33 -05:00
Chris Cranford
993e308e96
Fixed query-based read-only support during iteration.
2016-05-06 13:12:33 -05:00
Steve Ebersole
76bac3268a
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures)
2016-05-06 13:12:33 -05:00
Andrea Boriero
34b439223e
Fix ConfigurationTest
2016-05-06 13:12:32 -05:00
Andrea Boriero
a0da5fe677
Fix some tests
2016-05-06 13:12:32 -05:00
Steve Ebersole
e3ab793fe8
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures)
2016-05-06 13:12:32 -05:00
Steve Ebersole
87e3f0fd28
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (first sucessful full compile of consolidated hibernate-core)
2016-05-06 13:12:32 -05:00
Steve Ebersole
774b805ce1
initial HEM->CORE consolidation work
2016-05-06 13:11:18 -05:00
Dominique Toupin
15c83ab61b
HHH-10332 - Disambiguate missing table name
2016-04-28 17:42:04 +03:00
Andrej Golovnin
58303884bd
HHH-10382 - GetterFieldImpl creates unnecessary objects
2016-04-28 11:16:48 +03:00
Kirill Vlasov
2d8e9d66e2
Fixing squid:S2259 - Null pointers should not be dereferenced
2016-04-27 17:29:36 +03:00
Michael Schnell
b3e260b234
HHH-1237 Escaping colon in queries
2016-04-26 10:08:54 +03:00
Gustavo Adolfo Rodríguez Libreros
5c724307c7
HHH-9570: Auto-detect SQL Server 2014
...
Copying a previous workaround for the same issue: https://github.com/hibernate/hibernate-orm/pull/395
- Previously, SQL Server version 12 (SQL Server 2014) was an unknown version, resulting in the SQLServerDialect
- Add version 12 to the switch statement so that SQLServer2012Dialect is now returned by default, as SQL Server 2014 is much more similar to SQL Server 2012 than SQL Server 2000
- Add test case
- Add Oracle and SQL Server environments for testing purpose
2016-04-25 17:57:06 +03:00
Martin Simka
3152bb0ffb
[HHH-10290] ignore environment property hibernate.jdbc.batch_versioned_data in BatchVersionedDataConfigTest
2016-04-07 10:21:06 +03:00
Martin Simka
18dd88c957
[HHH-10587] skip NationalizedIgnoreCaseTest on db2 and postgresql(plus) as they don't support nString
2016-04-07 10:01:34 +03:00
Jan Martiska
78685964ec
HHH-10598 - Oracle JDBC driver can't handle entities with a one-character name in some cases
2016-04-06 17:44:53 +03:00
Martin Simka
e591b70cf7
[HHH-10588] use H2Dialect in ConnectionsReleaseTest
2016-04-06 17:29:18 +03:00
Danny02
3e959005ed
HHH-10612 - Check for support of RefCursor in Java 8
2016-04-06 16:54:38 +03:00
Martin Simka
e861182f19
[HHH-10640] fix wrong expected statement on DB2
2016-04-06 15:58:29 +03:00
Zhenlei Huang
cbdab9d87f
HHH-10649 - When 2LC enabled, flush session and then refresh entity cause dirty read in another session / transaction
2016-04-06 12:40:47 +03:00
Martin Simka
a68a6c6770
[HHH-10641] Fix identifier is too long exception for test LongVarcharValidationTest
2016-04-05 17:58:25 +03:00
Zhenlei Huang
7c75a92db4
HHH-10652 - The HHH-10631 test makes wrong assertion
2016-04-05 09:23:44 +03:00
Steve Ebersole
fa0db89f7f
HHH-10664 - Prep 6.0 feature branch - merge hibernate-java8 into hibernate-core
2016-03-31 12:27:52 -05:00
Vlad Mihalcea
985229f9a7
HHH-10662 - Fix inconsistencies between quoting-related configuration properties JavaDocs and their default values assigned at the code level
2016-03-31 09:09:02 +03:00
Dominique Toupin
de6d80a67b
HHH-10456: Report the class name were the invalid PrimaryKeyJoinColumn is present
2016-03-30 17:55:05 +03:00
Sanne Grinovero
86b49a0ce7
HHH-10657 Make 'none' a valid option for hibernate.hbm2ddl.auto
2016-03-30 11:13:32 +01:00
Andrea Boriero
68298bbc45
HHH-10650 - Hibernate SchemaExport does not filter ForeignKey for namespaces and tables
2016-03-30 10:55:59 +02:00
yinzara
6036f00781
HHH-10429 - Change SimpleValue isIdentityColumn method to return true if the generator class used extends from IdentityGenerator instead of simply being equal to IdentityGenerator
2016-03-24 07:22:54 +02:00
Martin Simka
a634ccebba
[HHH-10596] add missing dialect-scope for oracle12c
2016-03-23 11:28:01 +00:00
Andrea Boriero
4c7525d89e
HHH-10632 - Fix comment on column missing seperator between table name and column
2016-03-22 18:04:53 +00:00
Andrea Boriero
feab5063c6
HHH-10632 - Add test for issue
2016-03-22 18:04:47 +00:00
Vlad Mihalcea
565318067b
HHH-9271 - IdentityGenerator broken with quoted identifiers
...
Use dialect for verifying quoting
2016-03-22 16:49:06 +02:00
Vlad Mihalcea
573518cfc9
Fix test failing on H2 because the table name is a reserved keyword
2016-03-22 16:17:18 +02:00
Vlad Mihalcea
c62c367957
HHH-9271 - IdentityGenerator broken with quoted identifiers
2016-03-22 12:29:45 +02:00
mdebeljuh
7aea8a60e9
HHH-10633 - JPA 2.1 Named Entity Graph in ORM XML loaded without subgraph
...
Process subgraphs and subclassSubgraphs concomitantly
2016-03-22 07:13:08 +02:00
Zhenlei Huang
66d2436759
HHH-10631 - Auto evict collection cache not work when owner side update parent to null
2016-03-21 15:59:31 +02:00
Vlad Mihalcea
5799aae2e5
HHH-7412 - JDBCTransactionFactory.getDefaultReleaseMode() returns incorrect ConnectionReleaseMode
...
Switch back to AFTER_TRANSACTION for JDBC transactions.
2016-03-21 09:30:56 +02:00
Janario Oliveira
732abea8e5
HHH-10614 - Auto evict collection cache throws exception with null values
2016-03-16 12:27:07 +02:00
Vlad Mihalcea
0ed39c7746
Change hibernate.properties to take configurable environment settings
2016-03-16 09:30:29 +02:00
Vlad Mihalcea
ec4f20a5fb
Remove @NotNull annotation that was imported from com.sun.istack.iternal which triggers a compilation failure on OpenJDK
2016-03-14 17:53:00 +02:00
Vlad Mihalcea
5b61df9591
HHH-9306 - Wrong DDL generated by hibernate when using MappedSuperclass containing ManyToMany relation
...
Add a test to prove that the issue does not replicate anymore.
2016-03-14 16:46:09 +02:00
Janario Oliveira
4546cc698a
HHH-10592 - Query with literal parameter and fails with attribute converter
2016-03-14 14:08:05 +02:00
Janario Oliveira
7232b7ccd5
HHH-10608 - Avoid exception from Hibernate.initialize when lazy_no_transaction is enabled
2016-03-14 10:29:56 +02:00
Gail Badner
bdb458a609
HHH-10269 : JDBC Statement is not closed if exception appeared during query execution
2016-03-11 13:55:19 -08:00
Steve Ebersole
3e00630808
HHH-9693 - H2 : Hibernate cannot validate it's own created schema
2016-03-11 09:06:35 -06:00
Vlad Mihalcea
0756bbfccf
HHH-4161 - persistence.xml <jar-file> not following JSR220 spec
...
Switch to an OS-independent way of checking absolute paths
2016-03-10 15:21:03 +02:00
Janario Oliveira
0385b1436a
HHH-10602 - Retrieve cached value with enable_lazy_load_no_trans throws an exception
2016-03-09 14:47:11 +02:00
Vlad Mihalcea
cf27164532
Roll back change that slipped from the User Guide-related changes
2016-03-09 14:00:28 +02:00
Vlad Mihalcea
68af365916
Convert basic chapter examples to unit tests for quoting, column transformers, and @Any mappings
2016-03-09 12:50:12 +02:00
k abram
2aed1fd6b1
HHH-10549 - Hibernate incorrectly applies Converters with autoApply=true to subclasses
2016-03-09 07:36:57 +02:00
Vlad Mihalcea
009d8813db
HHH-10593 - Avoid NullPointerException with auto_evict_collection_cache and many-to-many
...
Cherry pick from Janoiro PR
2016-03-08 16:44:21 +02:00
Janario Oliveira
8b181857a6
HHH-10593 - Avoid NullPointerException with auto_evict_collection_cache and many-to-many
...
Added verification to many-to-many relation
2016-03-08 16:29:08 +02:00
bdragan
54c2586a01
Fixed HHH-10517: ClassCastException using Restrictions.in with child
...
classes in Criteria based on parent class.
2016-03-08 15:24:00 +02:00
Vlad Mihalcea
fe247985f2
Fix new line issues that were causing some tests to fail on Windows OS
2016-03-08 11:11:31 +02:00
Gail Badner
3f37fff04a
HHH-10563 : Significant String use/duplication associated with subselect fetch
2016-03-07 18:08:52 -08:00
Gail Badner
b053116bb4
HHH-10563 : Add trace logging of generated SubselectFetch query string
2016-03-07 15:32:00 -08:00
Steve Ebersole
65886c045e
HHH-10277 - AttributeConverter not applied to attributes of an embeddable used as collection element
2016-03-03 18:12:38 -06:00
Gail Badner
5e30c2bf16
HHH-10576 : Correct association in CascadeMergeToChildBeforeParentTest
2016-02-29 22:57:42 -08:00
barreiro
c5104601e1
HHH-10554 - Fix NPE in dirty tracking generated code of bytecode enhanced @Embeddable entities
2016-02-26 11:49:54 -06:00
Steve Ebersole
a69b485d1b
HHH-10564 - EntityManager.find() broken for MySQL and UUID
2016-02-26 11:48:52 -06:00
Andrea Boriero
d65445194d
HHH-10533 - Fix ORM tries to create a unique constraint on a non existing table
2016-02-26 12:41:14 +00:00
Andrea Boriero
dc07f44629
HHH-10553 - add test for issue
2016-02-26 12:41:13 +00:00
Gail Badner
bdfe38b0c6
HHH-10567 : Wrong table for formula if its property is mapped on a secondary table
2016-02-25 19:48:53 -08:00
Steve Ebersole
f076b5823c
HHH-10499 - Can't set ConnectionProvider instance, regression
2016-02-24 22:05:49 -06:00
Steve Ebersole
020ca4aa39
HHH-7405 - BatchBuilder service does not properly define JMX MBean
2016-02-23 07:09:17 -06:00
Steve Ebersole
a5cbe326d6
HHH-9485 - Duplicate Property with AccessType.PROPERTY and MappedSuperclass
2016-02-22 16:36:05 -06:00
Guillaume Smet
d0a036c536
HHH-10538 Fix the javadoc of TableInformation.getIndex(Identifier indexName)
2016-02-17 15:36:01 +01:00
Steve Ebersole
0fccf6b7bd
HHH-10528 - use_nationalized_character_data global property is ignored
2016-02-16 09:35:54 -06:00
Andrea Boriero
409c5424a0
HHH-10529 - Fix SQLServer2008Dialect generate incorrect length of nvarchar
2016-02-15 14:45:53 +00:00
Andrea Boriero
d4772107f0
HHH-10529 - Add test for issue
2016-02-15 14:45:25 +00:00
Andrea Boriero
e09a9f9aca
HHH-10521 - Fix Java 6 not compliant tests
2016-02-12 14:42:51 +00:00
Radim Vansa
aaf13cd123
HHH-9993 IsolationDelegate: add method to execute code without obtaining a connection
2016-02-10 10:57:53 -06:00
Gail Badner
b5a86ea45c
HHH-5855 : checkstyle corrections
2016-02-10 00:10:52 -08:00
Gail Badner
efa72a8333
HHH-5855 : Merge causes a duplicated "insert" of a child entity in lazy collection
2016-02-09 23:33:50 -08:00
Steve Ebersole
177bbfe5e3
HHH-10345 - HHH-3422 still a problem with oracle
2016-02-09 22:35:12 -06:00
Steve Ebersole
13bbddfd30
HHH-9548 - Allow propagation of NULL for stored-procedure argument parameters to database
2016-02-09 16:08:59 -06:00
Andrea Boriero
19d86c3d65
HHH-10484 - MySQLDialect override Dialect#isJdbcLogWarningsEnabledByDefault() to return false
2016-02-09 21:33:54 +00:00
Andrea Boriero
624ddc620b
HHH-10484 - Add Dialect#isJdbcLogWarningsEnabledByDefault() method, the return value is true
2016-02-09 21:33:54 +00:00
Andrea Boriero
1a1523db44
HHH-10484 - Add hibernate.jdbc.log.warnings configuration property
2016-02-09 21:33:54 +00:00
Steve Ebersole
0a2a709f9e
HHH-10458 - Better encapsulate SchemaManagementTool (OGM) - unify JPA schema generation and hbm2ddl capabilities;
...
HHH-10487 - Add @Incubating annotation
2016-02-09 11:45:46 -06:00
Steve Ebersole
17de173cb5
HHH-10458 - Better encapsulate SchemaManagementTool (OGM) - unify JPA schema generation and hbm2ddl capabilities;
...
HHH-10487 - Add @Incubating annotation
2016-02-09 11:45:46 -06:00
Andrea Boriero
eea9a943b3
HHH-10507 - Hibernate core test removing usage of Java 8 methods
2016-02-09 17:00:27 +00:00
Andrea Boriero
57b32543ed
HHH-7973 - Fix String literals in an HQL query can get mangled
2016-02-09 15:27:54 +00:00
Andrea Boriero
9c75e79bc9
HHH-7973 - Add test for issue
2016-02-09 15:27:29 +00:00
Gail Badner
1e470f9e4d
HHH-10474 : Skip SchemaUpdateFormatterTest.testSetFormat unless H2Dialect
2016-02-08 23:40:18 -08:00
Martin Simka
9b80aa1d6e
[HHH-10473] skip NationalizedLobFieldTest on databases that don't support nclob
2016-02-08 22:50:56 -08:00
Steve Ebersole
62276504f7
fixed bad test code
2016-02-08 16:21:10 -06:00
Steve Ebersole
f4b5f2c649
HHH-16 - Explicit joins on unrelated classes
...
HHH-7321 - HQL: Combining a CROSS JOIN with a LEFT JOIN which requires a WITH clause triggers an exception.
2016-02-08 15:53:52 -06:00
Oliver Breidenbach
008c2dc409
HHH-9375 - bugfix suggestion
2016-02-08 11:17:11 +00:00
Maxime Falaize
b8a3774cb4
HHH-9411 : Fix downcast of treat statement.
2016-02-06 16:12:28 +02:00
Andrea Boriero
4fb11c9919
HHH-9635 - Fix SQLServer2005Dialect (and above) does not support read past locking
2016-02-05 15:07:07 +00:00
Andrea Boriero
034afb96bf
HHH-9635 - Add test for issue
2016-02-05 15:00:36 +00:00
cranforc
8ff853e133
HHH-8657 - Case insensitivity on Nationalized column yields incorrect SQL
...
HHH-8657 - Case insensitivity on Nationalized column yields incorrect
SQL
2016-02-04 15:07:16 +00:00
Andrea Boriero
7dec9f83e2
HHH-7705 - Fix Query.setProperties(Map) silently ignores null values provided in the Map
2016-02-04 14:22:44 +00:00
Andrea Boriero
5711c3ce6c
HHH-7705 - Add test for issue
2016-02-04 14:22:44 +00:00
Andrea Boriero
4d3259a201
HHH-10495 - Fix Oracle10gDialect generate nvarchar when using @Nationalized
2016-02-04 14:14:37 +00:00
Andrea Boriero
4207882292
HHH-10495 - Add test for issue
2016-02-04 14:13:49 +00:00
Koen Aers
ff3b54a962
HHH-10430: Comment for class is ignored when using subselect in hibernate mapping - Solution
2016-01-29 15:13:49 +00:00
Koen Aers
fd21be8705
HHH-10430: Comment for class is ignored when using subselect in hibernate mapping - Test demonstrating the issue
2016-01-29 15:13:49 +00:00
Steve Ebersole
c5e6faeb3f
HHH-10402 - Hibernate maps enum types as tinyblob even when @Enumeration(EnumType.ORDINAL) is specified
2016-01-28 11:14:46 -06:00
Andrea Boriero
5e5ae9dacb
HHH-9286 - Add CustomType implements ProcedureParameterExtractionAware
2016-01-27 17:30:02 +00:00
Andrea Boriero
a339ebd8a9
HHH-9286 - Add CustomType implements ProcedureParameterNamedBinder
2016-01-27 16:40:49 +00:00
Andrea Boriero
9567d9af76
HHH-9286 - Modify AbstractParameterRegistrationImpl#prepare(CallableStatement statement, int startIndex) to use ProcedureParameterNamedBinder#nullSafeSet(...)
2016-01-27 16:40:48 +00:00
Andrea Boriero
f6c45ad11c
HHH-9286 - Add BasicBinder#bind(CallableStatement st, J value, String name, WrapperOptions options) method
2016-01-27 16:40:48 +00:00
Andrea Boriero
22dc33ff79
HHH-9286 - AbstractStandardBasicType implements ProcedureParameterNamedBinder
2016-01-27 16:40:48 +00:00
Andrea Boriero
2a43387081
HHH-9286 - Add ProcedureParameterNamedBinder interface
2016-01-27 16:40:48 +00:00
Andrea Boriero
08b294b49d
HHH-9286 - Oracle10gDialect override registerResultSetOutParameter(CallableStatement statement, String name) and getResultSet(CallableStatement statement, String name)
2016-01-27 16:40:06 +00:00
Andrea Boriero
8a34206fe0
HHH-9286 - Oracle10gDialect override Dialect#Oracle10gDialect#getResultSet(CallableStatement statement, int position)
2016-01-27 16:40:06 +00:00
Andrea Boriero
418b7fe926
HHH-9491 - Remove columnDefinition method ref from {@link javax.persistence.JoinColumn} and {@link javax.persistence.Column} causing Javadoc generation failure
2016-01-27 12:17:27 +00:00
Steve Ebersole
90f4fd9d55
HHH-10345 - HHH-3422 still a problem with oracle
2016-01-26 16:35:04 -06:00
Steve Ebersole
4e36781b42
HHH-9491 - Add support to opt columnDefinitions out of globally-quoted-identifiers
2016-01-25 22:16:50 -06:00
Steve Ebersole
bb109139e8
HHH-10446 - Comment delimiters not "escaped" within (VAR)CHAR literals within native queries
2016-01-25 20:54:59 -06:00
Steve Ebersole
95ed41b445
HHH-7572 - Develop API for load-by-multiple-ids
2016-01-25 13:12:45 -06:00
Andrea Boriero
43db914f0d
HHH-10451 - Fix Add table comment to 'create table...' statement
2016-01-25 18:02:55 +00:00
Andrea Boriero
8e32162cab
HHH-10451 - Fix generation of 'comment on table ... ' and 'comment on column' statements
2016-01-25 18:02:31 +00:00
Andrea Boriero
53872de0fd
HHH-10451 - Add test for issue
2016-01-25 17:39:46 +00:00
Steve Ebersole
7881e358f5
HHH-10303 - Reinstate legacy bytecode-enhancement Ant task
2016-01-25 10:49:13 -06:00
Steve Ebersole
af2d642cf6
HHH-9876 - Ability to filter objects from Database for schema tooling
2016-01-25 10:18:27 -06:00
Steve Ebersole
abb2b077b9
HHH-9876 - Ability to filter objects from Database for schema tooling
2016-01-25 09:29:38 -06:00
vladmihalcea
dc991d29d9
Cherry pick spelling corrections from https://github.com/hibernate/hibernate-orm/pull/1238
2016-01-25 11:36:25 +02:00
Marcus
2fdbeb8db6
HHH-9876 - Ability to filter objects from Database for schema tooling.
2016-01-24 17:48:41 -06:00
Guillaume Smet
d71f931429
HHH-7610 Add an option to initialize empty components when all the properties are null
...
Note that this commit also changes the semantic of the comparison between a null component
and a component with all properties null: they are considered equivalent.
2016-01-24 18:05:22 +01:00
Steve Ebersole
039382e8be
cleaned up JdbcMocks in test sources and moved it to hibernate-testing
2016-01-23 12:59:03 -06:00
Steve Ebersole
6076298ce9
HHH-8706 - Delay registering of the entity listener class as long as possible
2016-01-22 19:17:06 -06:00
Steve Ebersole
a5e65834a1
HHH-9548 - Allow propagation of NULL for stored-procedure argument parameters to database
2016-01-19 15:47:36 -06:00
Andrea Boriero
653cf910fa
HHH-10401 - Fix Missing table names on foreign key circularity error message
2016-01-14 09:55:37 +00:00
Steve Ebersole
ef23be0e62
HHH-9485 - Duplicate Property with AccessType.PROPERTY and MappedSuperclass
2016-01-13 12:29:25 -06:00
Steve Ebersole
6c7f3ef25b
HHH-9485 - Duplicate Property with AccessType.PROPERTY and MappedSuperclass
2016-01-13 12:29:25 -06:00
Andrea Boriero
d35e29dc29
HHH-10433 - Fix hbm2ddl utils has a problem - release jdbc connection
2016-01-13 17:38:05 +00:00
Andrea Boriero
977c34bb59
HHH-10433 - Add test for issue
2016-01-13 17:37:56 +00:00
Steve Ebersole
debc06d54e
HHH-10422 - Backport HHH-9983 to fix identity IDs using Oracle12cDialect in 5.0
2016-01-13 11:31:29 -06:00
Sergey Astakhov
1ddcc7075f
HHH-9474 Fixing perfomance issue with ElementCollection
2016-01-13 15:02:27 +00:00
Jaikiran
536b814dc8
HHH-10439 Log a message while executing the import script(s)
2016-01-13 14:31:08 +00:00
Steve Ebersole
5c77f279af
HHH-4161 - persistence.xml <jar-file> not following JSR220 spec
2016-01-12 15:22:19 -06:00
Andrea Boriero
8670b4211e
HHH-10385 HHH-10386 - Fix the @JoinColumn foreignKey is not taken into consideration when generating the association database schema
2016-01-12 18:57:14 +00:00
Andrea Boriero
504dd8353d
HHH-10385 HHH-10386 - Add tests for issues
2016-01-12 18:53:58 +00:00
Andrea Boriero
5b42faa134
HHH-10437 - Fix NPE in PrimaryKey#addColumn(Column column) when getTable().getNameIdentifier() is null
2016-01-12 16:45:46 +00:00
Andrea Boriero
a4dbbf447d
HHH-10437 - Add test for issue
2016-01-12 16:45:46 +00:00
Steve Ebersole
fd1ff34f03
HHH-5932 Fix filtering request with string literal starting with ':' (checkstyle fix)
2016-01-11 17:32:28 -06:00
Steve Ebersole
a35abf43e9
HHH-9342 - HQL "x member of treat(y as Type).collections" fails to parse
2016-01-11 16:32:58 -06:00
Etienne Miret
e2b58d1d20
HHH-5932 Fix filtering request with string literal starting with ':'.
2016-01-11 12:08:31 -06:00
Etienne Miret
f52b841c5c
HHH-5932 Add test case.
2016-01-11 12:08:31 -06:00
Etienne Miret
446aa84429
HHH-9357 Fix type() with joined inheritance and discriminator column.
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
2016-01-09 22:26:37 -05:00
Etienne Miret
ea64e67495
HHH-9357 Add test case for this issue.
2016-01-09 22:25:12 -05:00
Etienne Miret
ea2d26e92e
HHH-9356 Add a bunch of tests.
...
Conflicts:
hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/convert/QueryTest.java
2016-01-09 21:57:22 -05:00
Etienne Miret
17e5f536bf
HHH-9356 All arguments of a between are now given the same expected type.
2016-01-09 21:53:44 -05:00
Steve Ebersole
abace003e6
HHH-5184 - Create a ConnectionAcquisitionMode as corollary to ConnectionReleaseMode
2016-01-08 13:41:16 -06:00
Steve Ebersole
b1d1a3c143
HHH-10307 - JTA no longer transitively provided (HHH-10178) causes problems for apps not using JTA
2016-01-08 11:12:58 -06:00
Andrea Boriero
3d237f67ba
HHH-10405: <return> elements of <sql-query> are not handled properly when building metadata - Refactoring
2016-01-08 11:39:26 +00:00
Koen Aers
9e89826f8f
HHH-10405: <return> elements of <sql-query> are not handled properly when building metadata - Solution
2016-01-08 11:39:26 +00:00
Koen Aers
e9834f4810
HHH-10405: <return> elements of <sql-query> are not handled properly when building metadata - Unit test demonstrating the issue
2016-01-08 11:39:25 +00:00
Andrea Boriero
3fb9577e50
HHH-10425 - Fix SchemaMigration creates foreign keys too early if across schema
2016-01-07 14:30:31 +00:00
Andrea Boriero
df362e4568
HHH-10425 - Add test for issue
2016-01-07 14:29:49 +00:00
Andrea Boriero
96b8a31b18
HHH-10420 - Fix SchemaExport creates foreign keys too early if across schema
2016-01-07 11:07:14 +00:00
Andrea Boriero
f6f9965133
HHH-10420 - Add test for issue
2016-01-07 11:07:14 +00:00
Gail Badner
6df1dccc05
HHH-10421 : Change "native" ID generator for Oracle12cDialect to SequenceStyleGenerator
2016-01-06 15:36:06 -08:00
Emmanuel Bernard
0c38cfc9d7
HHH-10419 Detect if the user inappropriately left @Convert.converter to void
2016-01-06 15:02:38 +01:00
Emmanuel Bernard
bb7cb7636b
HHH-10419 Factor converter instantiation exception error logic
2016-01-06 14:55:43 +01:00
Jan Martiska
e65a883761
HHH-10395 ServiceBootstrappingTest assumes that show_sql != true
2015-12-21 16:32:34 -08:00
Yoann Rodière
0dea233ce3
HHH-10191 Fixed exceptions when a functional index exists.
2015-12-21 14:50:46 -08:00
Yoann Rodière
be94481e33
HHH-10191 test case
2015-12-21 14:50:46 -08:00
Gail Badner
4c6941190a
HHH-10383 : IN parameter is not enclosed in parenthesis
2015-12-21 13:26:10 -08:00
Andrea Boriero
cb0729b59f
HHH-10396 - Fix In a @OneToMany association with @JoinColum the @ForeignKey is not taken into consideration when generating the association database schema
2015-12-21 13:10:07 +00:00
Andrea Boriero
14c97f0b5b
HHH-10396 - Add tests for the issue
2015-12-21 13:10:07 +00:00
Scott Marlow
96d4639e6c
HHH-10384 Fix thread safety issues in thread local optimiser
2015-12-18 10:05:50 -05:00
Stuart Douglas
bef14a5890
HHH-10384 Fix thread safety issues in thread local optimiser
2015-12-18 10:05:50 -05:00
barreiro
268a1eaa22
HHH-10252 - Trigger the lazy loading of cascading attributes
2015-12-16 15:07:13 -06:00
barreiro
601bdaa678
HHH-10252 - Add test case
2015-12-16 15:07:13 -06:00
Andrej Golovnin
328fa2363a
HHH-10363 - The Cascade class makes unnecessary calls to the Reflection
...
API.
2015-12-16 15:01:01 -06:00
Steve Ebersole
153b8f26cc
HHH-10381 - Introduce a ThreadLocal-based pooled-lo optimizer to avoid locking
2015-12-16 14:38:01 -06:00
barreiro
6828f5ee9b
HHH-10354 - Rename 'field access' to 'extended enhancement'
2015-12-16 13:56:56 -06:00
Steve Ebersole
20ebd8f5ca
HHH-10381 - Introduce a ThreadLocal-based pooled-lo optimizer to avoid locking
2015-12-16 13:49:31 -06:00
Scott Marlow
0c358d80f6
HHH-10381 - Introduce a ThreadLocal-based pooled-lo optimizer to avoid locking
2015-12-16 13:03:40 -06:00
Torsten Schöne
fe48897692
HHH-10353 Interceptor.afterTransactionBegin() is not fired
2015-12-16 12:19:58 -06:00
Karl von Randow
828a83dcbf
HHH-10286 SessionFactoryImpl doesn't cache and reuse existing collection cache region access strategies
2015-12-16 12:08:37 -06:00
Eskil Bylund
5cc2175033
Fix missing parenthesis around composite properties in WHERE clauses
...
The currentClauseType field would not be correct if the query contained a
subquery.
Signed-off-by: Andrea Boriero <andrea@hibernate.org>
2015-12-16 10:48:30 +00:00
Andrea Boriero
aefdda0978
HHH-10298 - Add new configuration type hibernate.hbm2dll.extra_physical_table_types
2015-12-15 16:48:12 +00:00
Andrea Boriero
c7b8f73b46
HHH-10298 - Add test
2015-12-15 16:17:44 +00:00
Andrea Boriero
57975b98e4
HHH-10364 - Fix HSQL does not support Nationalized annotation
2015-12-15 15:31:43 +00:00
Andrea Boriero
d63f25bab6
HHH-10364 - Add test for issue
2015-12-15 15:31:18 +00:00
Gail Badner
c767b0ed15
HHH-9764 : StaleObjectStateExceptions raising outside flush context
2015-12-14 13:40:43 -08:00
Guenther Demetz
840d906cea
Testcase for HHH-9764
...
Conflicts:
hibernate-core/src/test/java/org/hibernate/test/cache/CollectionCacheEvictionTest.java
2015-12-14 13:40:43 -08:00
Ståle W. Pedersen
a679528f71
HHH-10366 Check for trace logging before calling log method and unused method parameters
2015-12-14 17:52:27 +00:00
Sanne Grinovero
c1cb413c2a
HHH-10358 Make sure synchronization on AbstractLoadPlanBasedLoader is skipped when the guarded feature is disabled
2015-12-14 16:16:54 +00:00
Gail Badner
0a332c2e8d
HHH-10369 : Unit test failure because Sybase trims trailing spaces
...
(cherry picked from commit 971783607e
)
2015-12-08 18:29:34 -08:00
Gail Badner
a7dac8fcf9
HHH-10368 : Unit test failure because Sybase does not support binding an untyped null object
...
(cherry picked from commit 0582dc1e8e
)
2015-12-08 17:10:25 -08:00
Gail Badner
c5120b0b19
HHH-10367 : Fix more DB reserved words used by tests
...
(cherry picked from commit 60625b19b2
)
2015-12-08 16:44:58 -08:00
Andrea Boriero
b33c6d4357
HHH-10366 - Fix checkstyle error
2015-12-08 18:13:09 +00:00
Ståle W. Pedersen
c802042f1a
HHH-10366 Improve performance and reduce CPU load when fetching reference cached objects
...
Removed a call to postLoad and afterInitialize for reference cached entities;
refactor methods, made some private, some final
try to optimize cached result
refactor out getPersister so it can be inlined
2015-12-08 16:55:58 +00:00
Andrea Boriero
4b4164f8e0
HHH-10331 - Fix HSQLDialect returns supportsTupleDistinctCounts false which seems wrong
2015-12-08 10:55:49 +00:00
Bobo Häggström
86c0746c0b
HHH-10343 Fixed precision and scale for elements of basic types in persistent collections
2015-12-07 09:48:46 +00:00
Koen Aers
3267a9221f
HHH-10158: SchemaUpdate does not properly support formatter and delimiter anymore
2015-12-04 18:33:26 +01:00
Koen Aers
71765d7bd2
HHH-10223: Element 'query-param' in *.hbm.xml files causes ClassCastException
2015-12-03 14:59:04 +01:00
Andrea Boriero
0638a5449c
HHH-1122 - Fix hbm2ddl.SchemaUpdate has no delimiter
2015-12-03 09:56:43 +00:00
Andrea Boriero
6f985e2fa1
HHH-1122 - Add test for issue
2015-12-03 09:53:35 +00:00
Gail Badner
32b4087efc
HHH-10296 : Fix more DB reserved words used by tests
...
(cherry picked from commit 9858d29b56
)
2015-12-02 16:34:31 -08:00
Andrea Boriero
6cdfd93bec
HHH-10291 - Fix Partially generated composite attribute is not retrieved after insert
2015-12-02 16:31:10 +00:00
Steve Ebersole
8961937bbc
HHH-10313 - Make SessionImplementor extend WrapperOptions
2015-11-30 11:24:06 -06:00
Steve Ebersole
704671e17d
HHH-10313 - Make SessionImplementor extend WrapperOptions
...
(cherry picked from commit 052aad0ed4
)
2015-11-30 11:14:45 -06:00
Andrea Boriero
b25481ed75
HHH-10302 - checkstyle fix
2015-11-26 17:32:31 +00:00
Sanne Grinovero
f0f544472c
HHH-10302 Extract helper method for LoadEvent reuse and adapt code formatting to Hibernate style
2015-11-26 16:11:47 +00:00
Stuart Douglas
85db76431c
HHH-10302 Cache the LoadEvent and PostLoadEvent to reduce allocations
2015-11-26 15:39:45 +00:00