Vlad Mihalcea
20422cd76a
HHH-11986 - @LazyGroup is ignored on LazyToOne association with 'mappedBy'
...
Fix tests failing on MariaDB
2017-11-09 09:46:36 +02:00
Viefhaus
4531b22e92
HHH-11986 - @LazyGroup is ignored on LazyToOne association with 'mappedBy'
...
HHH-11986 - Re-format fix code to follow code conventions
2017-11-08 14:13:34 -08:00
Viefhaus
3292a83223
Testcase for HHH-11986 added
...
HHH-11986 : Changed test code to follow conventions of other bytecode enhancement tests; reformatted test code
2017-11-08 14:12:44 -08:00
Jonathan Bregler
1616b3de37
HHH-12074 - order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation
...
- "TOP" is a reserved key word in same database systems.
2017-11-08 14:31:36 +02:00
Anders Wallgren
8530584fad
HHH-12074 - order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation
2017-11-07 09:26:56 +02:00
Sanne Grinovero
95ecd7c43a
HHH-12081 Update to JBoss Logger 3.3.1.Final and related tooling 2.1.0.Final
2017-11-06 14:14:05 +00:00
Vlad Mihalcea
164178330a
HHH-12073 - Change BaseUnitTestCase Logger to protected
2017-11-01 19:04:07 +02:00
ageery
310eb69b6e
HHH-12072 - BasicFormatterImpl throws a NPE if native SQL begins with a parentheses
2017-11-01 17:58:42 +02:00
Guillermo González de Agüero
20d17ec0f2
HHH-11805 Fix JACC cannot be enabled
2017-11-01 13:37:55 +02:00
Vlad Mihalcea
f2c83c9653
HHH-10179 - Fetching an already loaded entity with an EntityGraph does not initialize previously lazy loaded attributes
...
Add replicating test case
2017-10-31 15:29:27 +02:00
barreiro
280474e9cd
HHH-12051 - Filter dirty but non-updatable atributes
2017-10-31 13:18:05 +02:00
msymonov
4b8cfe0c1f
HHH-12067: NativeQueryTupleTransformer doesn't handle null values in returned ResultSet
2017-10-30 11:39:20 +02:00
Giovanni Lovato
b8a3baa5c1
HHH-10485 : Lazy collections fetched with EntityGraph load with JOIN
2017-10-26 10:24:46 +03:00
Marcello
ef6ddd98bc
HHH-12064 - Issue with unidirectional one-to-many association with a join column that references a column that is not the primary key
2017-10-25 16:55:58 +03:00
Archie L. Cobbs
88b1e33d72
HHH-12046 - Don't consider static methods for isFoo()/getFoo() conflicts.
2017-10-25 10:55:42 +03:00
Vlad Mihalcea
ce21f133d2
HHH-11028 - {h-schema} is not replaced in SQLDelete, SQLInsert and SQLUpdate code enhancement
...
Remove isCallable attribute since it causes failures on MariaDB
2017-10-25 08:42:49 +03:00
Sanne Grinovero
401936f94e
HHH-12055 Revert to using the Javassist version included in WildFly 11
2017-10-24 16:42:49 +01:00
Laabidi Raissi
090d18dcc8
HHH-11028 - {h-schema} is not replaced in SQLDelete, SQLInsert and SQLUpdate code enhancement
2017-10-24 16:27:54 +03:00
Vlad Mihalcea
1cb10729b0
HHH-12058 - Criteria LiteralHandlingMode can only be configured programatically. We need to support String-based configurations as well.
2017-10-24 15:06:07 +03:00
Vlad Mihalcea
29fc5903e3
HHH-12052 - Move PooledConnections inside DriverManagerConnectionProviderImpl
2017-10-23 15:38:15 +03:00
Andrea Boriero
884bfc1cc6
HHH-2897 - Fix checkstyle error
2017-10-19 11:57:14 +01:00
Gail Badner
86f310e4cb
HHH-11970 : @NotFound(IGNORE) and @BatchSize
2017-10-19 11:30:34 +01:00
Gail Badner
19087d9f15
HHH-11970 : @NotFound(IGNORE) and @BatchSize
2017-10-19 11:30:34 +01:00
fernando
47eebc5d86
HHH-12037 - Remove unused code in ArrayHelper
2017-10-17 17:56:50 +03:00
Lemongrass3110
ed61fc9a8e
HHH-2897 - Adding support for use of sequence objects in DB2 V8 OS390
2017-10-17 16:46:43 +03:00
Andrea Boriero
61ee2d2232
HHH-12034 - Fix tests hanging on PostgrSQL
2017-10-16 20:58:23 +01:00
Andrea Boriero
07eec26d67
HHH-11971 - QueryParameterBindingValidator does not handle primitive types
2017-10-16 19:25:41 +01:00
Andrea Boriero
4979241a1d
HHH-11971 - Add test for issue
2017-10-16 19:25:41 +01:00
Gail Badner
a77c48dc11
HHH-12034 - According to JPA, a Proxy should be loaded even when accessing the identifier
2017-10-16 17:41:47 +03:00
marko-bekhta
b51dac6e39
HHH-12026 Setting correct font family for search input in TOC. Fixing a typo
2017-10-16 14:58:29 +03:00
Jonathan Bregler
54b506ecf4
HHH-12021 - Fix tests failing on SAP HANA
...
- skip testLoad() of org.hibernate.jpa.test.ops.GetLoadTest
- change the result comparison to set-based instead in testRevisionsGtWithPropertyQuery()
2017-10-09 13:58:49 +03:00
Jonathan Bregler
1fc4ce23ac
HHH-12020 - Add SAP HANA to the list of provided dialects
...
- Update documentation
- Update org.hibernate.boot.registry.selector.internal.StrategySelectorBuilder
2017-10-09 13:30:41 +03:00
Jonathan Bregler
62e691c38a
HHH-11816 - JoinProcessor considers table names with colons dynamic filter parameters
2017-10-09 12:47:29 +03:00
Chris Cranford
00492a3707
HHH-11965 - Fix cascade of one-to-one associations with proxies.
2017-09-29 16:47:14 -04:00
Chris Cranford
5a49cdc3ce
HHH-11965 - Added test case.
2017-09-29 16:46:43 -04:00
Chris Cranford
05f8e7306e
HHH-11656 - Added test case.
2017-09-29 11:27:34 -04:00
Andrea Boriero
85016e0bca
HHH-11640 - Fix test failing on MariaDB
2017-09-27 18:45:35 +01:00
Ivo Hradek
72506a6eac
HHH-11640 - NamedQuery doesn't log comment when UPDATE/DELETE
...
HHH-11906 - Add support for MySQL query optimizer hints
2017-09-27 16:57:46 +03:00
Andrea Boriero
08cd580067
HHH-11980 - Fix test failing on PostgreSQL
2017-09-27 13:26:50 +01:00
msvticket
e391d8577e
HHH-11980 MultiTenantConnectionProvider is required for MultiTenancyStrategy.DISCRIMINATOR
...
Instead of checking that multiTenancyStrategy is NONE start using MultiTenancyStrategy.requiresMultiTenantConnectionProvider to distinguish whether MultiTenantConnectionProvider is to be used.
2017-09-26 17:43:10 +03:00
Thomas Reinhardt
5be294506d
HHH-7842 - Hibernate Criteria does not respect fetch mode, when alias is used
2017-09-26 16:39:08 +03:00
Vlad Mihalcea
b48dfe0d11
Fix test leaking connections
2017-09-26 15:43:29 +03:00
Vlad Mihalcea
56947f28dc
HHH-9576 - Use JDBC bind variables for handling JPA Criteria query numeric literals
2017-09-26 10:55:12 +03:00
Andrea Boriero
132767b4fb
HHH-12001 - Allow ORM to be built with Java 9
2017-09-21 22:10:05 +01:00
Jonathan Bregler
85dcac95d0
Improved Hibernate support for SAP HANA part 2
...
- implement PR comments
2017-09-21 12:05:19 -05:00
Jonathan Bregler
3aad752b04
Improved Hibernate support for SAP HANA
...
- Identity column support
- Spatial support
- Various minor improvements in HANA dialects
2017-09-21 12:05:19 -05:00
Andrea Boriero
5566b423e3
HHH-3870 - Fix checkstyle errors
2017-09-21 16:20:04 +01:00
Igor Dmitriev
f8b78bcad0
HHH-11838 - Id retrieving from proxy with FK leads to query execution
2017-09-21 15:33:01 +03:00
Vlad Mihalcea
af080884d1
HHH-3870 - Hibernate proxies Groovy's getMetaClass method breaking proxies when used with Groovy
2017-09-21 15:14:54 +03:00
Andrea Boriero
6379a42a58
HHH-11651 - unwrapping error in AbstractMultiTenantConnectionProvider
2017-09-21 14:58:47 +03:00
Vlad Mihalcea
442f5e60dd
HHH-11863 - Implement REF_CURSOR support for StoredProcedureQuery.getOutputParameterValue(4);
2017-09-21 13:56:25 +03:00
Vlad Mihalcea
287221e26e
HHH-11996 - order_inserts causing constraint violation
2017-09-20 10:42:39 +03:00
Vlad Mihalcea
6866f5eb4d
HHH-11997 - EntityManager.createNamedQuery throwing illegalstateexception
2017-09-20 08:50:15 +03:00
Vlad Mihalcea
9fa7959020
HHH-9662 - IllegalArgumentException when composite ID has IDENTITY generated value
...
Add replicating test case
2017-09-18 16:51:21 +03:00
Vlad Mihalcea
1e2c0f5ed5
HHH-11144 - orphanRemoval not working when other same-table-relations are initialized
...
Remove test since it was duplicated
2017-09-18 15:53:21 +03:00
Vlad Mihalcea
428e0b7718
HHH-11144 - orphanRemoval not working when other same-table-relations are initialized
...
Add test to prove that the issue does not replicate
2017-09-18 15:00:46 +03:00
Alexey Nesterov
7c2a588613
HHH-6382: Allow to use @OnDelete annotation on unidirectional @OneToMany associations
2017-09-18 12:03:54 +03:00
Vlad Mihalcea
1392b43852
HHH-11732 - HHH000352: in StatelessSession on rollback with JDBC batch
2017-09-14 12:36:33 -07:00
Gail Badner
becc1d7473
HHH-11989 : Deprecate LogicalConnectionImplementor#makeShareableCopy
2017-09-14 12:18:47 -07:00
barreiro
3080e819d1
HHH-10747 - Instead of the method, use the field directly in the EnhancedSetter
2017-09-12 21:24:55 -07:00
barreiro
66f11130ca
HHH-11624 - Test case
2017-09-12 21:24:55 -07:00
barreiro
d0e7fab351
HHH-11820 - Simplify dirty tracking on entities without collections [bytebuddy]
2017-09-12 13:59:37 -07:00
barreiro
c392d20dec
HHH-11820 - Simplify dirty tracking on entities without collections [javassist]
2017-09-12 13:59:37 -07:00
Andrea Boriero
e99eb2b7a2
HHH-11756 - Typo in public API method name: requiresPostCommitHanding on PostInsertEventListener
2017-09-12 11:56:10 -07:00
Gail Badner
d7f7a1baea
HHH-11982 : AbstractSharedSessionContract#getInterceptor should not call checkTransactionSynchStatus()
2017-09-11 23:06:51 -07:00
Gail Badner
cf89391e06
HHH-11614 : Add test case using PostgreSQL Large Object functions in native queries; add test case showing how varchar data can be changed to Long Object.
2017-09-11 11:51:59 -07:00
Gail Badner
9f2edb654d
HHH-11614 : Revert "HHH-11477 - HQL query against field marked with @Lob fails on PostgreSQL"
...
This reverts commit f0016db201
.
2017-09-11 11:51:59 -07:00
Gail Badner
0ddc7d32ad
HHH-11655 : SessionImpl does not load EntityPersister by entity name
2017-09-08 00:05:28 -07:00
Gail Badner
97e7dc59e6
HHH-11655 : test case
2017-09-08 00:00:14 -07:00
barreiro
7c4bc03c3a
HHH-11795 - Improve Ant task for bytecode enhancement
2017-09-07 14:47:42 -07:00
Steve Ebersole
f653e26a49
improve documentation (Javadoc) of org.hibernate.cfg.AvailableSettings.CDI_BEAN_MANAGER
2017-09-07 12:01:51 -05:00
Guillaume Smet
02c5996571
HHH-11962 Unmark deprecated the NativeQuery methods
2017-09-06 11:10:41 +03:00
Vlad Mihalcea
97bc632236
HHH-11864 - AutoCommit mode not reset after use by SchemaValidator
2017-09-05 12:06:10 -07:00
Gail Badner
80937ee583
HHH-11957 : DB2 substring method needs to be exposed in DB297Dialect
2017-09-01 15:36:52 -07:00
Gail Badner
385a18b11b
HHH-11957 : DB2 substring method needs to be exposed in DB297Dialect
2017-09-01 15:36:52 -07:00
Guillaume Smet
1e25a1a99b
HHH-11956 Add createCustomLoader() to the NativeQueryInterpreter contract
2017-09-01 17:45:15 +02:00
Guillaume Smet
9fd9f623cb
HHH-11944 Rename getDelegate() methods to delegate() following a
...
discussion with Steve.
They are all new in 5.2.11 so it shouldn't raise any compatibility
issues.
Note that we still have a getDelegate() method in
SessionDelegatorBaseImpl as it is the one coming from EntityManager.
2017-09-01 17:45:15 +02:00
Guillaume Smet
12dd8522be
HHH-11944 Fix preexisting typos in log messages
2017-09-01 17:45:15 +02:00
Guillaume Smet
de1642ba93
HHH-11944 Add AbstractDelegatingSessionFactoryBuilderImplementor
...
This is missing from the set of delegating classes available.
2017-09-01 17:45:15 +02:00
Guillaume Smet
8de187594d
HHH-11944 Add test classes for delegating classes
2017-09-01 17:45:15 +02:00
Guillaume Smet
13bb0a3f22
HHH-11944 Add missing methods to delegating class
2017-09-01 17:45:15 +02:00
Guillaume Smet
08cbe1a33f
HHH-11944 Fix typo in comment
2017-09-01 17:45:15 +02:00
Guillaume Smet
123ef45975
HHH-11944 Make the AbstractDelegatingSessionBuilder hierarchy generic
2017-09-01 17:45:15 +02:00
Guillaume Smet
3620e1e47e
HHH-11944 The getDelegate() method here is the method from EntityManager
...
It should not return the delegate but the current Session impl proper.
The name is a bit misleading but it comes from JPA so we cannot do
anything about it.
2017-09-01 17:45:15 +02:00
Guillaume Smet
626c8abc71
HHH-11944 Add missing methods to AbstractDelegatingSessionFactoryBuilder
2017-09-01 17:45:15 +02:00
Guillaume Smet
e8441e5313
HHH-11944 Fix added but not implemented delegating methods
2017-09-01 17:45:15 +02:00
Andrea Boriero
5feff3b2c6
HHH-11942 - ANTLR parser should fail when providing an extra parenthesis
2017-09-01 17:18:30 +02:00
Vlad Mihalcea
e9cc8867af
HHH-11942 - ANTLR parser should fail when providing an extra parenthesis
...
Fix issue by parsing the whole statements until the EOF instead of stopping at any unexpected right closing paranthesis
2017-09-01 17:18:30 +02:00
Andrea Boriero
e950957b89
HHH-11739 - globally_quoted_identifiers_skip_column_definitions property does the opposite of what the doc describes
2017-09-01 14:31:03 +02:00
Andrea Boriero
3f60619f3f
HHH-11739 - Fix tests
2017-09-01 14:31:03 +02:00
Guillaume Smet
23752fe169
HHH-11945 Make ExceptionConverterImpl use SharedSessionContractImplementor instead of AbstractSharedSessionContract
2017-08-30 11:38:33 +03:00
Guillaume Smet
345c0cce17
HHH-11946 Configure the Configurable services in SessionFactoryServiceRegistryImpl
2017-08-29 17:53:07 +03:00
Bogdan Stirbat
2d52a38e51
HHH-8955 - added HSQL dialect support for database trunc function
2017-08-29 12:31:05 +03:00
Guillaume Smet
3ed4bfe830
HHH-11951 Improve TransactionStatus javadoc
2017-08-28 15:41:46 +02:00
Andrea Boriero
e1faed4b89
HHH-11815 - @org.hibernate.annotations.Index and NullPointerException in IndexOrUniqueKeySecondPass
2017-08-25 14:18:33 +03:00
Gail Badner
cd7611e511
HHH-11914 : SchemaUpdate.setHaltOnError(true) does nothing
2017-08-25 11:56:55 +03:00
Guillaume Smet
1f7aac9979
HHH-11934 Make the delegate field accessible to child classes
2017-08-24 17:45:26 +03:00
Vlad Mihalcea
6390471d55
HHH-11942 - ANTLR parser should fail when providing an extra parenthesis
...
Add replicating test case
2017-08-24 14:07:02 +03:00
Lukas Eder
fcefe7f3b8
Fixed trivial typo in Javadoc
2017-08-24 10:26:39 +02:00
Andrea Boriero
9a22960c3e
HHH-11897 - Fix checkstyle errors
2017-08-21 10:27:35 +02:00
Gail Badner
407360d957
HHH-11935 : Log a warning and update documentation that enabling "empty" composites is an experimental feature
2017-08-17 21:44:17 -07:00
Bruce Brown
6ad8302a3c
HHH-11929 removed excessive toLowerCase() and substring() from SQLServer2012LimitHandler.hasOrderBy(). Also reversed the direction for scanning the sql string for "order by " to start at the end of the string
2017-08-16 10:50:14 -04:00
Arnold Galovics
9394fadc9a
HHH-11897: Fix support for Tuple results for native queries
2017-08-16 16:01:46 +03:00
Viefhaus
4235d75610
HHH-11916 - Unnecessary initialization of lazy collection on PERSIST cascade
2017-08-16 15:25:04 +03:00
Gail Badner
65c6964c96
HHH-11928 : Empty left join fetched collection is uninitialized when collection key is composite with hibernate.create_empty_composites.enabled=true
2017-08-15 22:29:06 -07:00
Gail Badner
310a43e5e7
HHH-11928 : test cases
2017-08-15 22:29:06 -07:00
Gail Badner
ef81e39d19
HHH-11922 - Entity with null many-to-one cannot be loaded when associated entity has composite ID with hibernate.create_empty_composites.enabled=true
2017-08-15 22:29:05 -07:00
Gail Badner
eafc5fe105
HHH-11922 : Added test cases
2017-08-15 22:29:05 -07:00
jcibik
203793be63
HHH-11927 - CascadeMergeToChildBeforeParentTest should not assume the persisted entity has the id with a value of 1
2017-08-15 16:24:32 +03:00
Vlad Mihalcea
8d29a4d588
HHH-11907 - Add the getResultStream() default method in org.hibernate.query.Query
2017-08-15 11:38:20 +03:00
Andrea Boriero
ce8aa04078
HHH-11882 - Fix tests
2017-08-10 14:39:00 +02:00
barreiro
d85327a5e7
HHH-11882 - Fix tests
2017-08-10 14:39:00 +02:00
Gail Badner
bb905dcb00
HHH-11915 - DatabaseMetaData#getIndexInfo can return column names enclosed in quotes on PostgresPlus
2017-08-08 13:47:39 -07:00
Andrea Boriero
65b5e6445b
HHH-11915 - DatabaseMetaData#getIndexInfo can return column names enclosed in quotes on PostgresPlus
2017-08-08 13:24:13 -07:00
Andrea Boriero
ba6cc06810
HHH-11176 - Fix CheckStyle errors
2017-08-08 17:04:50 +02:00
Andrea Boriero
bc05ff24bc
HHH-11882 - Fix test causing failures
2017-08-08 14:37:11 +02:00
Gail Badner
af4f63aff7
HHH-11898 : added @FailureExpected to test reproducing the error
2017-08-07 21:28:28 -07:00
barreiro
d3ce7ded37
HHH-11882 - Fix TestLazyPropertyOnPreUpdate
2017-08-07 09:41:33 -05:00
barreiro
eca2c6001e
HHH-11882 - Remove old bytecode enhancer tests
2017-08-07 09:41:33 -05:00
barreiro
fb6a7a376f
HHH-11882 - Bytecode enhancer tests with the new JUnit runner
2017-08-07 09:41:33 -05:00
Gail Badner
cc342dc072
HHH-11910 : SchemaUpdateTest fails on databases using case-insensitive identifiers
2017-08-04 16:40:40 -07:00
Gail Badner
a8fcdffc50
HHH-11898 : test case
2017-08-04 16:40:40 -07:00
jcibik
019cd397fb
HHH-11905 - AbstractLobTest Fails on Sybase
2017-08-03 16:32:08 +03:00
jcibik
af4a76e6a9
HHH-11904 - EnumExplicitTypeTest test assert fails on mariadb clusters
2017-08-03 12:04:17 +03:00
Gail Badner
2fe8e5e340
HHH-11903 : test case
2017-08-01 21:36:03 -07:00
Bogdan Stirbat
47f8a67990
HHH-11539 - when foreignKey is added to an @JoinColumn, and not @CollectionTable directly, consider it as well
2017-08-01 11:13:51 +03:00
echunca
4477baf53b
HHH-11826: ImplicitNamingStrategyComponentPathImpl generates invalid SQL for Entity with Embedded ElementCollection
2017-07-24 15:55:03 +03:00
Freek de Bruijn
df3a248c9b
HHH-11878 - Minor typo in CascadeStyles.java
2017-07-24 13:04:06 +03:00
Gail Badner
3553efa05f
HHH-11881 : Null Set collection elements are inserted into collection table
2017-07-20 17:03:28 -07:00
Gail Badner
240492f940
HHH-11881 : Added tests
2017-07-20 17:02:46 -07:00
Arnold Galovics
68a40425b1
HHH-11176: Add support for Tuple results for native queries
2017-07-18 18:09:37 +03:00
András Eisenberger
1347ee6250
HHH-11465 - @AttributeOverride does not work for CompositeUserType inside of @Embeddable
2017-07-18 18:07:43 +03:00
jonathan
2bb041423e
HHH-11726 - PASS_DISTINCT_THROUGH hint is ignored when used in conjunction with maxResults/firstResult limiters
2017-07-17 10:23:46 +03:00
Vlad Mihalcea
7f94320cec
HHH-9864 - foreign key violation with order_inserts=true and batches with mixed subclass entities
...
Add extra check for executeBatch which should prove that batching works as expected
2017-07-05 19:59:55 +03:00
Vlad Mihalcea
4b672a214f
HHH-9864 - foreign key violation with order_inserts=true and batches with mixed subclass entities
...
Add test for @ManyToOne association
2017-07-05 16:24:09 +03:00
Shawn Clowater
1d0a44ab92
HHH-11830 - Shared Session memory leak via TransactionObserver reference
2017-06-28 12:35:15 +03:00
Vlad Mihalcea
7728d23c9f
HHH-5538 - Postgres: fix dialect to work in databases with mutiple schema and search_path set
...
Move test to a more appropriate package
2017-06-27 11:13:31 +03:00
Vlad Mihalcea
9159b8efd5
HHH-5538 - Postgres: fix dialect to work in databases with mutiple schema and search_path set
...
Add a test case to prove that the issue does not replicate
2017-06-27 11:09:32 +03:00
Andrea Boriero
bbcab0f75c
HHH-11808 - Update migration guide and documentation
2017-06-27 09:07:21 +03:00
Gail Badner
9584b16089
HHH-11832 : ManyToManyWithDynamicFilterTest fails on Sybase due to reserved word
2017-06-21 20:23:29 -07:00
Richard Yhip
5d49468acf
fixed exception message spacing
2017-06-20 08:43:55 -04:00
Philippe Marschall
dda0c4c37e
HHH-11824 Remove Types.REF_CURSOR reflection
...
https://hibernate.atlassian.net/browse/HHH-11824
2017-06-19 17:31:03 +02:00
Gail Badner
3f2c36ab69
HHH-11818 : ClassCastException when binding a MaterializedNClobType as NClob
2017-06-14 13:02:48 -07:00
Gail Badner
515e45e382
HHH-11818 HHH-11296 : Added tests
2017-06-14 13:02:47 -07:00
Chris Cranford
03053502e1
Checkstyle fixups.
2017-06-12 13:24:42 -04:00
Chris Cranford
699b50725d
HHH-11768 HHH-11714 Apply code suggestions.
2017-06-12 13:24:42 -04:00
Chris Cranford
c6135f2db3
HHH-11714 - Fix ordered inserts with secondary tables and inheritance.
2017-06-12 13:24:42 -04:00
Chris Cranford
f4cd82a265
HHH-11714 - Added test case.
2017-06-12 13:24:42 -04:00
Chris Cranford
234849d33b
HHH-11768 - Fix FK ConstraintViolationException with ordered inserts enabled and cascade persist.
2017-06-12 13:24:42 -04:00
Chris Cranford
e7e6cc53ab
HHH-11768 - Test case
2017-06-12 13:24:42 -04:00
MilovanderZee
2867e070ea
HHH-10934 - Check ForeignKey on function instead of only the name
2017-06-07 12:58:58 -04:00
MilovanderZee
736da3247c
HHH-10934 - Initial unit test
2017-06-07 12:58:58 -04:00
Vlad Mihalcea
6082f1975d
HHH-11186 - Add examples for all Hibernate annotations
...
Document @PersistenceContext and @PersistenceProperty
2017-06-06 12:24:56 +03:00
Vlad Mihalcea
5e23b7fd02
HHH-11186 - Add examples for all Hibernate annotations
...
Document @TableGenerator
2017-06-05 17:27:23 +03:00
Oleksandr_Ierenkov
91f4deebac
HHH-3924 - Use intern() to reuse strings and reduce memory usage
2017-06-05 09:58:20 +03:00
Robert Richter
46f8302219
HHH-11788 - Unignore annotations.target test dir
...
The current project `.gitignore` file ignores `/*/target`, which
inadvertently ignores the test package
`org.hibernate.test.annotations.target`. The test files are checked-in
despite the gitignore, so some tools complain about editing ignored
files, and any new tests might not get checked in.
This change adds a `.gitignore` to the annotations package directory,
instead of the root project gitignore, because the package dir is
a more relevant context.
2017-06-05 08:48:48 +03:00
Chris Cranford
cc51bbc639
HHH-11783 - Fix typo in javadoc.
2017-06-02 08:36:42 -04:00
Vlad Mihalcea
6edb857e5c
Increase test timeout since it was failing on Jenkins
2017-06-02 09:03:27 +03:00
Nazarii Bardiuk
87ddf0e74b
HHH-11743 - Fix for streaming of Tuple query
2017-05-30 09:36:24 -04:00
Gail Badner
379e32e3f3
HHH-11762 - PersistenceUnitUtilImpl#getIdentifier throws MappingException for non-entity
2017-05-19 18:28:44 -07:00
Vlad Mihalcea
ec165296c6
HHH-11186 - Add examples for all Hibernate annotations
...
Document @Source and @RowId annotation
2017-05-18 17:38:37 +03:00
Chris Cranford
b1a322d1f3
HHH-11642 - Fix index out of range failure for SQLServerDialect.
2017-05-17 16:15:55 -04:00
Chris Cranford
fe0030c019
HHH-11642 - Added test case.
2017-05-17 16:15:34 -04:00
Chris Cranford
f164223226
HHH-11747 - Fix DB2390Dialect pagination to work for offsets properly when using legacy limit handler behavior.
2017-05-16 17:12:17 -04:00
Chris Cranford
b45e2cade5
HHH-11747 - Added test case.
2017-05-16 17:11:39 -04:00
Andrea Boriero
cf6d1ddafd
HHH-11716 - @Transient annotation not respected when class defines 'get' and 'is' accessor variants
2017-05-16 14:09:03 +03:00
lpradel
0e83628c92
HHH-11546 Add support for SAP NetWeaver as JTA Platform
2017-05-16 12:45:19 +03:00
Gail Badner
cab613de11
HHH-11740 - Fix test case to avoid pessimistic locking exception
2017-05-15 14:38:22 -07:00
Vlad Mihalcea
733f55f362
HHH-11740 - Default MultiTableBulkIdStrategy for DB2 does not work with connection pools
...
- Made test run on H2, Oracle, SQL server, MySQL and PostgreSQL
2017-05-15 18:50:31 +03:00
Vlad Mihalcea
386b04872f
HHH-11740 - Default MultiTableBulkIdStrategy for DB2 does not work with connection pools
...
- Fix tests on PostgreSQL
2017-05-15 17:55:22 +03:00
Gail Badner
6a0a6d7562
HHH-11740 : Skip test for H2
2017-05-12 14:24:18 -07:00
Gail Badner
061a1cae31
HHH-11740 : Default MultiTableBulkIdStrategy for DB2 does not work with connection pools
2017-05-12 13:49:29 -07:00
Gail Badner
36d09411fb
HHH-11740 : test case
2017-05-12 13:48:03 -07:00
Andrea Boriero
93559d2e60
HHH-11374 - ConcurrentStatisticsImpl#getSecondLevelCacheStatistics() throws NPE if second level cache is not activated
2017-05-12 11:15:31 +03:00
Andrea Boriero
5ff2289da4
HHH-11700 - Deprecate three org.hibernate.engine.spi.SessionFactoryImplementor methods
2017-05-10 18:16:19 +03:00
Vlad Mihalcea
c434d9a9b1
HHH-11500 - Provide the cause of the error when validating @Loader named queries
2017-05-10 16:12:03 +03:00
Vlad Mihalcea
d80c6ac0f9
HHH-11600 - Sap HANA PreparedStatement implements CallableStatement and is treated as such by Hibernate
2017-05-10 14:11:15 +03:00
João Carlos Heringer Moreira
1c34914455
HHH-11703 - Entity with Natural ID not being cached in the persistenceContext, causing extra queries
2017-05-08 16:44:27 +03:00
Rafał Osiecki
86dd0d1278
HHH-11728 - Typo in PooledConnections
2017-05-08 12:10:06 +03:00
Andrea Boriero
374a2cae09
HHH-11647 - Fix failing tests
2017-05-06 18:06:01 +01:00
Andrea Boriero
f9231bed0d
HHH-11650 - Parenthesis are interpreted in WHERE conditions when using paging and SQL Server
2017-05-05 12:19:39 -04:00
Andrea Boriero
17fd76ad21
HHH-11650 - Add test for issue
2017-05-05 12:19:39 -04:00
Danny Casady
562f09d14b
HHH-11725 - Fix javadoc typo
2017-05-05 12:14:15 -04:00
ChristophDreis
f85737cb0b
HHH-11647 - Use ALTER TABLE IF EXISTS on Postgres
2017-05-04 18:08:40 +03:00
Bas van Schaik
72e0d593b9
HHH-11718 - Fix various alerts reported by lgtm.com
...
Fpr more details:
06f0c3acb2/files/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaUpdateTask.java (V218)
06f0c3acb2/files/hibernate-core/src/main/java/org/hibernate/boot/archive/internal/ExplodedArchiveDescriptor.java (V149)
06f0c3acb2/files/hibernate-core/src/main/java/org/hibernate/boot/archive/internal/JarFileBasedArchiveDescriptor.java (V74)
2017-05-04 12:31:00 +03:00
Arnold Galovics
2d4600bbc7
HHH-11111 - Hibernate does not correctly resolve embeddable in the metamodel
...
Add test case that proces thaat the issue does not replicate
2017-05-03 18:27:47 +03:00
Richard Bradley
3a813dcbb4
HHH-11646 revert errant after -> afterQuery search and replace
2017-05-03 11:54:37 +03:00
Gail Badner
1752da008e
HHH-11712 - Minor changes to test case
2017-05-02 13:44:04 -07:00
Vlad Mihalcea
8ebf3039ef
HHH-11712 - PostgreSQL does not support positive/negative initial sequence values for descending/ascending sequences unless MAXVALUE/MINVALUE is defined as well
2017-05-02 18:16:33 +03:00
Vlad Mihalcea
f779df9fa3
Add a JPA-complaint contains test to assert the use case descriebed in the following forum thread
...
https://forum.hibernate.org/viewtopic.php?f=1&t=1044231
2017-05-02 17:49:48 +03:00
Gail Badner
78d0c22c0b
HHH-11709 : Fix typo
2017-04-28 19:40:14 -07:00
Gail Badner
bb0a4b6e6f
HHH-11709 : NoopOptimizer skips negative values and 0 when it has a positive incrementSize
2017-04-28 19:31:30 -07:00
Gail Badner
d211b41319
HHH-11709 : test case
2017-04-28 19:30:17 -07:00
Gail Badner
dfbeb1ce37
HHH-5933 : NoopOptimizer ignores negative allocationSize; uses default of 1 instead
2017-04-28 19:08:27 -07:00
Gail Badner
33a28188c6
HHH-5933 : test case
2017-04-28 19:07:39 -07:00
Andrea Boriero
74d4eb61a9
HHH-11660 - Deprecate org.hibernate.mapping.RelationalModel
2017-04-26 14:00:11 +01:00
Vlad Mihalcea
020414e1aa
HHH-11634 - ActionQueue#InsertActionSorter fails to generate right order
...
Use the same object for both the remove and the add operations
2017-04-19 21:02:02 +03:00
Vlad Mihalcea
84d61690c5
HHH-11634 - ActionQueue#InsertActionSorter fails to generate right order
...
Prove that the issue is caused by an improer bidirectional association side synchronization
2017-04-19 17:00:42 +03:00
Vlad Mihalcea
1772baf67e
Add missing class names and fix documentation pointing to missing property
2017-04-18 15:18:59 +03:00
Andrea Boriero
a630809857
HHH-11635 - MySQLSkipAutoCommitTest fails when run on MariaDB
2017-04-14 14:47:07 +02:00
Andrea Boriero
71cfef8338
HHH-11542 - Fix tests
2017-04-14 10:51:57 +02:00
Steve Ebersole
97942914c8
HHH-11542 - Allow the auto-commit resolution to be configurable for RESOURCE_LOCAL transactions (default methods)
2017-04-14 10:51:57 +02:00
Steve Ebersole
db528238d8
HHH-11542 - Allow the auto-commit resolution to be configurable for RESOURCE_LOCAL transactions
2017-04-14 10:51:57 +02:00
Vlad Mihalcea
ca103dcb28
HHH-11542 - Allow the auto-commit resolution to be configurable for RESOURCE_LOCAL transactions
2017-04-14 10:51:57 +02:00
Andrea Boriero
23aad981a8
HHH-11593 - Remove mockito dependencies from hibernate-testing
2017-04-14 08:44:47 +02:00
Gail Badner
561941c486
HHH-9663 - Fix orphan removal cascade for one-to-one mappings.
2017-04-13 16:25:38 -07:00
Chris Cranford
0677bb365f
HHH-9663 - Fix orphan removal cascade for one-to-one mappings.
2017-04-12 23:05:34 -07:00
Chris Cranford
63e6793d8f
HHH-9663 - Fix orphan removal cascade for one-to-one mappings.
2017-04-12 23:05:34 -07:00
Chris Cranford
85732409ee
HHH-9663 Added test cases.
2017-04-12 23:05:34 -07:00
Gail Badner
19e585bf9d
HHH-11499 : Add a new DB2 dialect that uses "cross join" for cross joins instead of ","
2017-04-12 22:09:59 -07:00
Vlad Mihalcea
442bf225c4
HHH-11601 - Fix tests failing on Oracle
2017-04-12 12:15:27 +03:00
Vlad Mihalcea
6a59994b64
HHH-11617 - Statement leak in case of 'SQLGrammarException: could not extract ResultSet'
...
- increase timeout period as CI servers are rather slow
2017-04-12 07:17:57 +03:00
jvdvTechno
51e92b1715
HHH-11625 - Namespace uses physicalNamingStrategy.toPhysicalCatalogName() for schema name
2017-04-11 17:25:53 +02:00
Andrea Boriero
a01b05fdf0
HHH-11625 - Add test for issue
2017-04-11 17:25:53 +02:00
Vlad Mihalcea
1aed1b50f7
HHH-3628 - Hilo optimizer problem in case of multiple threads accessing the sequence table
...
- replace the Semaphore with two CountDownLatches that shouldd deliver a more predictable outcome
2017-04-11 17:58:44 +03:00
Andrea Boriero
eef8a48ce4
HHH-11617 - Statement leak in case of 'SQLGrammarException: could not extract ResultSet'
2017-04-11 17:03:30 +03:00
Yordan Gigov
f8570017df
HHH-11409 - Bind registered collection types using their type handler
2017-04-11 13:53:56 +03:00
Andrea Boriero
e8d7279736
HHH-11596 - @OneToOne association with @JoinTable ignores optional attribute
2017-04-11 12:49:48 +03:00
Andrea Boriero
be0a273c7c
HHH-11579 - Disable Query parameter validation when a Session is unwrapped from an EntityManager
2017-04-06 16:27:50 +03:00
Vlad Mihalcea
c15fa77f0f
HHH-11616 - Refactor org.hibernate.jpa.test.lock.LockTest
...
HHH-8001 - Apply query timeouts to Oracle follow-on locking
2017-04-06 16:02:29 +03:00
Andrea Boriero
68fa5d8f9e
HHH-11612 - SINGLE_TABLE associated entity query missing restriction of DiscriminatorColumn - reverting HHH-11375
2017-04-06 11:04:18 +01:00
Andrea Boriero
65f420efec
HHH-11602 - Session close counter statistic not updated when using Hibernate in JPA mode
2017-04-06 10:59:24 +01:00
Andrea Boriero
71c11a8d4d
HHH-11602 -Add test for issue
2017-04-06 10:59:24 +01:00
Andrea Boriero
5fd186a010
HHH-10654 - Fix mariadb and pgsql failing tests
2017-04-04 19:32:32 +03:00
DrBAXA
19c03e0c5a
HHH-10728 - NullPointerException when using CriteriaBuilder.selectCase with CriteriaBuilder.equal
2017-04-04 13:34:37 +03:00
Vlad Mihalcea
2a9c0fe0dd
HHH-10654 - LockOptions.SKIP_LOCKED semantics implementation on MSSQL
2017-04-03 08:17:50 +03:00
Vlad Mihalcea
ae23ecd937
HHH-11593 - Fix test issues in SQL Server
2017-03-29 17:13:30 +03:00
Vlad Mihalcea
e6d2ff4ac4
HHH-11598 - Use the default catalog when scanning the tables for hbm2ddl schema migration
2017-03-28 19:16:40 +03:00
Andrea Boriero
1ce9e24b26
HHH-11591 - Nullable check should not be skipped for OneToOne annotated with @NotFound(action = NotFoundAction.IGNORE)
2017-03-28 11:41:06 +01:00
Andrea Boriero
7a10764d2b
HHH-11591 - Add test for issue
2017-03-28 11:40:57 +01:00
Richard Barnes
daa48b7db9
HHH-3628 - Hilo optimizer problem in case of multiple threads accessing the sequence table
2017-03-27 12:00:54 +03:00
Gail Badner
28f3148f7b
HHH-11459 : Add entity names to avoid Oracle test failures
2017-03-24 19:51:52 -07:00
Gail Badner
0b6ce73fcc
HHH-11459 - Always resolve unloaded, lazy collection in enhanced entity when cascading; added comments
2017-03-24 19:15:21 -07:00
barreiro
41bd06266d
HHH-11459 - Do not fetch a collection on cascade, resolve it instead
2017-03-24 18:09:50 -07:00
barreiro
2779ebd8f0
HHH-11459 - Test case
2017-03-24 18:09:50 -07:00
barreiro
a5c7087316
HHH-11576 - Process unfetched collections on Flushvisitor to determine reachability
2017-03-24 18:09:50 -07:00
barreiro
8f495505e5
HHH-11576 - Test case
2017-03-24 18:09:50 -07:00
Naros
8bc584e3d2
HHH-10062 - Fix for ScrollableResults with join fetch reuses proxy rather than loading actual object.
2017-03-24 10:36:47 +02:00
Chris Cranford
23725aeaa4
HHH-11592 - Fix incorrect reference to non-deprecated setting.
2017-03-23 15:36:49 -04:00
Andrea Boriero
1f9adce32f
HHH-10831 - Fix checkstyle error
2017-03-23 10:46:15 +00:00
Vlad Mihalcea
acae69ffaf
HHH-11585 - Batch ordering fails for bidirectional one-to-one associations
...
- take into consideration legacy one-to-one mappings with composite ids as well
2017-03-23 08:15:46 +02:00
Harsh Panchal
a23a9a81e3
HHH-11569 - Return only distinct elements when query is hinted with EntityGraph
2017-03-22 16:25:56 +02:00
Vlad Mihalcea
c25757275b
HHH-11587 - Reordering items in List throws a constraint violation
...
Add replicating test case
2017-03-22 14:33:21 +02:00
Andrea Boriero
0eab02aaa9
HHH-11580 - EnversPreCollectionRemoveEventListener fails because EntityManager is closed when using JPA + JTA + Envers
2017-03-22 13:09:47 +02:00
Troeger, Martin (K-SIPB-1/3)
084ee33303
HHH-11557 - DB2 gets confused with numerical parameters in nullif function DB2Dialect
2017-03-22 12:05:07 +02:00
Vlad Mihalcea
f90845c30c
HHH-11585 - Batch ordering fails for bidirectional one-to-one associations
2017-03-22 11:24:14 +02:00
RunninglVlan
c8cbb8f0c6
HHH-11584 - Made parameter names of Restrictions#between more readable
2017-03-21 18:03:17 +02:00
Arnold Galovics
d1dc9146c3
HHH-10831 - Hibernate method to unproxy a HibernateProxy
2017-03-21 17:15:46 +02:00
Gail Badner
db885b85bb
HHH-11143 : Log a warning if @Cache / @Cacheable specified on non-root entities
2017-03-15 23:09:56 -07:00
Andrea Boriero
31fbdbb0f0
HHH-11570 - Hibernate Envers listeners fail because EntityManager is closed when using JPA/JTA/Hibernate 5.2.8/Envers
2017-03-14 23:07:56 +00:00
Gail Badner
a8055b3b52
HHH-11506 : Fix Javadoc
2017-03-13 22:04:26 -07:00
barreiro
aaebcdf454
HHH-11506 - Fix update of lazy attributes when there are attributes not loaded
...
HHH-11506 - Deprecate methods
HHH-11506 : Added original TypeHelper#findModfied and deprecated; changed deprecated methods to call the new methods.
2017-03-13 17:38:43 -07:00
Gail Badner
12a1b3c225
HHH-11516 : Level two cache may not be enabled when using @Cacheable without/instead of @Cache
2017-03-13 14:59:55 -07:00
Gail Badner
640680fcbc
HHH-11516 : test case
2017-03-13 14:59:55 -07:00
Andrea Boriero
54cd8eb0a9
HHH-11563 - Avoid calling multiple times org.hibernate.mapping.Component#getComponentClass() during the PojoComponentTuplizer creation
2017-03-13 19:39:08 +00:00
Andrea Boriero
f120cd26df
HHH-11555 - AbstractSharedSessionContract doesn't restore ExceptionConverter after de-serialization
2017-03-13 18:02:19 +00:00
Andrea Boriero
d9ef8fc366
HHH-11555 - Add test for issue
2017-03-13 18:02:19 +00:00
Chris Cranford
549e712f1f
HHH-11568 - Wrap antlr-parser exceptions as QueryException.
2017-03-13 12:00:21 -04:00
Chris Cranford
4bd5c8a730
HHH-11568 - Added test case.
2017-03-13 12:00:21 -04:00
Chris Cranford
9ae391436a
HHH-11554 - Enable super interfaces traversal for getter/setter methods.
2017-03-13 14:59:55 +00:00
Andrea Boriero
fab264a8b2
HHH-11554 - Added test case
2017-03-13 14:59:36 +00:00
Chris Cranford
3398175ab3
HHH-11554 - Added test case.
2017-03-13 14:59:36 +00:00
Christian Beikov
1273aaffd6
HHH-11540 - Fix for registering embeddable with actual component type
2017-03-10 17:07:25 +00:00
Christian Beikov
ff582903aa
HHH-11540 - Test for embeddable type that is only used in a type variable
2017-03-10 17:07:25 +00:00
Sanne Grinovero
6fd6c5a29d
HHH-11564 ThreadLocal access in ManagedSessionContext does not need synchronization
2017-03-10 10:56:33 +00:00
Andrei Solntsev
ba9d1c779f
HHH-11529 - Getting NullPointerException from ScanningCoordinator debug log
...
Actually URL.toString() calls toExternalForm(), so it has exactly the same effect, but without NPE.
2017-03-09 16:20:21 +02:00
Christian Beikov
55c0d6cdaa
HHH-9188 - Testcase for one-to-one jointable with selfjoin and table per class
...
- add test case
2017-03-09 13:34:33 +02:00
Christian Beikov
c088b2fa31
HHH-7406 - Wrong SQL in Joined inheritance if subclasses have fields with same name
...
- Add test case
2017-03-09 13:13:03 +02:00
Christian Beikov
f0cbaef2cd
HHH-9638 - Query.getResultList() prepended with dereferencing of no-proxy relation, causes violation of reference equality constraint
...
- Add test case
2017-03-09 11:46:56 +02:00
Christian Beikov
94cb596a73
HHH-5954 - Test showing that it works
2017-03-09 11:27:36 +02:00
Christian Beikov
00dfc83aeb
HHH-11435 - Alias available in WITH clause although not defined yet and generates invalid SQL
...
- Add unit test
2017-03-09 11:20:13 +02:00
Andrea Boriero
81c25d24f4
HHH-11144 - orphanRemoval not working when other same-table-relations are initialized
...
- add test for issue
2017-03-09 10:43:27 +02:00
Andrea Boriero
1ced091409
HHH-11559 - Fix tests catching exceptions without re-throwing them
2017-03-08 18:50:34 +00:00
Christian Beikov
17b8d2e294
HHH-11538 - Skip generating joins for entity references used in equality and nullness predicates
2017-03-08 12:38:40 -06:00
Christian Beikov
ce32b364b4
HHH-11538 - Testcase that asserts only a single join is generated
2017-03-08 12:38:40 -06:00
Gail Badner
d59ac459fa
HHH-11196 - Hibernate 5 Bytecode Enhancement Association Management works just in one direction
...
- add replicating test case
2017-03-08 17:23:41 +02:00
Andrea Boriero
d5ac64890c
HHH-11549 - Unable to locate MappedSuperclass version attribute when mixing annotations with hibernate mapping files
2017-03-07 16:22:20 +00:00
Andrea Boriero
0f20e51a5e
HHH-11549 - Ad test for issue
2017-03-07 16:22:20 +00:00
Andrea Boriero
893e9e45c8
HHH-11536 - Fix unit tests failing on Oracle
2017-03-07 16:01:34 +00:00
Vlad Mihalcea
3dda9d7a54
HHH-11396 - Conversion of Date to LocalDate does not consider timezone difference
...
- add test case to replicate the actual root cause behind this issue
2017-03-07 16:25:10 +02:00
marcgiffing
be74174034
HHH-11509 - Infomix limit handler support for offset
...
findbugs fix
2017-03-06 15:45:51 -05:00
marcgiffing
71768443bc
HHH-11509 - Infomix limit handler support for offset
2017-03-06 15:45:51 -05:00
marcgiffing
0c7da58bda
HHH-11509 - Infomix limit handler support for offset
...
added license information
2017-03-06 15:45:51 -05:00
marcgiffing
51d9bbfc7c
HHH-11509 - Infomix limit handler support for offset
2017-03-06 15:45:51 -05:00
marcgiffing
05a13b8b27
HHH-11509 - Infomix limit handler support for offset
...
code formatting
2017-03-06 15:45:51 -05:00
marcgiffing
0f9d0ab9fc
HHH-11509 - Infomix limit handler support for offset
2017-03-06 15:45:51 -05:00
marcgiffing
20314c2193
HHH-11509 - Infomix limit handler support for offset
2017-03-06 15:45:51 -05:00
Nicolai Parlog
2c4ccbc8af
Forward IOException in ClassFileArchiveEntryHandler::toClassFile
...
While the exception itself might not be very helpful (Javassist, for example, can throw rather cryptic ones) including at least makes the visible.
2017-03-06 16:30:03 +02:00
Andrea Boriero
55af30eb13
HHH-11397 - Query parameter binding validation issue
2017-03-06 16:03:05 +02:00
Andrea Boriero
dc714695e4
HHH-11511 - QuerySyntaxException when sorting by a column using a JPQL reserved keyword
2017-03-06 15:41:46 +02:00
Andrea Boriero
c53939b181
HHH-11510 - NativeQuery#iterate throws QuerySyntaxException instead of UnsupportedOperationException
2017-03-06 14:38:06 +02:00
Gail Badner
4fcc0d228a
HHH-9763 - hibernate.cache.default_cache_concurrency_strategy configuration is ignored
...
- add replicating test case
2017-03-06 13:45:31 +02:00
Andrea Boriero
1d5ef677b6
HHH-11536 - Fix unit tests failing on Oracle
2017-03-03 09:09:46 +00:00
Oliver Breidenbach
0794e103d7
HHH-11078 - Attribute in metamodel is null for overridden property
...
- Add replicating test case
2017-03-02 16:27:50 +02:00
Andrea Boriero
dd895c78b6
HHH-11536 - Fix unit tests failing on Oracle
2017-03-02 13:57:20 +00:00
Oliver Breidenbach
633deeb75e
HHH-10842 - Entity graph attribute node is ignored if the entity is mapped by the Primary Key column
...
- Add test case to replicate the issue
2017-03-02 14:52:48 +02:00
Andrea Boriero
e54ce7b266
HHH-11536 - Fix unit tests failing on Oracle
2017-03-02 12:29:13 +00:00
Boris Korogvich
ec487d8ace
fix typo
2017-03-02 05:53:15 -05:00
rreynolds
a1f01bcd64
HHH-10737 - Unrecognized select expression causes a NullPointerException
...
- Add replicating test case
2017-03-02 12:37:55 +02:00
Johannes Buehler
9d2e3b81b4
HHH-10463 - coalesce with null values and PostgreSQL throws exception
2017-03-02 11:51:57 +02:00
petar.tahchiev
e654e6c2c7
HHH-11089 - Naming Strategy Does not affect the user-specified index/foreign-key names
...
Call the implicit naming strategy regardless if the client has specified foreign key name or not
2017-03-01 17:27:48 +02:00
Samuel Andersson
e0da35e5e8
HHH-11532 - Loading extended entity by natural ID of base entity that exists in second level cache throws WrongClassException
...
- add replicating test case
2017-03-01 15:22:21 +02:00
Chris Cranford
761ea6c941
HHH-9114 - Fix property not found when IdClass properties are mapped both in entity and mapped superclass types.
2017-02-28 11:21:18 -05:00
Chris Cranford
959e3867d1
HHH-9114 - Added test case.
2017-02-28 11:21:18 -05:00
Andrea Boriero
e1dbca511d
HHH-11470 - Schema update should not try to query sequences for Dialects not supporting them (DB2400Dialect, DerbyDialect, DB2390Dialect)
2017-02-28 13:53:21 +02:00
Andrea Boriero
f0016db201
HHH-11477 - HQL query against field marked with @Lob fails on PostgreSQL
2017-02-28 12:25:03 +02:00
Vlad Mihalcea
9a9ef4d027
HHH-11514 - Id is generated on replicated instead of using the one provided
...
Add possible replicating test case
2017-02-28 12:09:11 +02:00
Chris Cranford
bd49676cb6
HHH-2735 - Added test cases.
2017-02-28 00:32:53 -05:00
Gail Badner
7ae3e1c3b7
HHH-11530 : IdentityGeneratorExtendsTest.testIdentifierGeneratorExtendsIdentityGenerator failing on Oracle DBs
2017-02-27 17:59:36 -08:00
Chris Cranford
e77d18c0d1
HHH-11502 - Fix NPE.
2017-02-27 10:09:54 -05:00
Russ Tennant
8d726a35b1
Test case for HHH-11502
2017-02-27 10:09:54 -05:00
Andrea Boriero
f3dafb3205
HHH-11473 - Refactor MySQLDialect
...
- move storage engine resolving into constructor
2017-02-27 16:29:02 +02:00
Chris Cranford
39c04f14ae
HHH-11455 - Test case.
2017-02-26 23:41:33 -05:00
Andrea Boriero
5e29497d60
HHH-11473 - Fix tests leaving a dirty database
2017-02-25 18:29:38 +00:00
Andrea Boriero
bc3032785e
HHH-11473 - Fix MySQLStorageEngineTest
2017-02-23 20:18:13 +00:00
Andrea Boriero
c6b6d9d242
HHH-11473 - Fix MariaDB dialect
2017-02-21 13:25:09 +00:00
Andrea Boriero
9cb171bfeb
HHH-11473 - Fix checkstyle errors
2017-02-21 10:37:16 +00:00
Vlad Mihalcea
91d1f38d95
HHH-11473 - Refactor MySQL Dialects
...
- Simplify InnoDB deprecated Dialects by just overriding the default storage engine method
2017-02-21 07:58:48 +02:00
Chris Cranford
652aa43427
HHH-11503 - Fix SQL Server 2012 offset/fetch parameter binding.
2017-02-20 11:13:00 -05:00
Vlad Mihalcea
2b79644b63
HHH-11473 - Refactor MySQL Dialects
2017-02-20 15:35:16 +02:00
Gail Badner
55f7f71e04
HHH-10989 - Always resolve CollectionType on load so that unfetched collections have a reference stored in StatefulPersistentContext
...
HHH-10989 : Shorten test table names
2017-02-16 19:42:44 +00:00
barreiro
077ebbc04f
HHH-10989 - Always resolve CollectionType on load so that unfetched collections have a reference stored in StatefulPersistentContext
2017-02-16 19:42:44 +00:00
Christian Beikov
3d6f8eb0ff
HHH-11437 - Entity joins are not polymorphic
2017-02-16 16:21:43 +00:00
Christian Beikov
1e8077f0e9
HHH-11437 - Test for issue
2017-02-16 16:20:25 +00:00
Vlad Mihalcea
f5606b1f4b
HHH-11491 - Add documentation to non-temporary tables bulk-id strategies
2017-02-16 12:49:03 +02:00
Christian Beikov
aeb3aee626
HHH-11180 - JPA @ForeignKey still not consistently applied from annotation binding
...
- Fix ForeignKey support for PrimaryKeyJoinColumn / PrimaryKeyJoinColumns
- Fix ForeignKey support for JoinColumn / JoinColumns
- Fix ForeignKey support for JoinTable when applying value NO_CONSTRAINT.
- Fix ForeignKey support for MapKeyJoinColumn / MapKeyJoinColumns
- Fix ForeignKey support for AssociationOverride / AssociationOverrides
2017-02-15 14:08:09 +02:00
Vlad Mihalcea
7c06d003dc
HHH-11457 - Add MariaDB specific Dialects
2017-02-15 12:08:34 +02:00
barreiro
35211ee5f3
HHH-11426 - NullPointerException in getPersistenceUnitUtil().getIdentifier() on detached enhanced entity
2017-02-15 09:08:12 +00:00
Benoit Lateltin
3c2939f0e5
HHH-11484 - Fix LocaleTypeDescriptor to handle Locale.ROOT
2017-02-13 17:00:41 +02:00
Vlad Mihalcea
3adb0d76be
HHH-10256 - ClassCastException in ResultSetReturnImpl.java:75
2017-02-13 16:48:43 +02:00
Chris Cranford
550c2e38ff
HHH-11237 - Fix isModified so that a null equates empty components when using select-before-update.
2017-02-09 13:21:28 -05:00
Chris Cranford
667136c473
HHH-11237 - Added test case.
2017-02-09 13:21:28 -05:00
bananan
3de0cce47c
HHH-11468 - add Javadoc with java.time.* classes mentioned in Create/UpdateTimestamp
2017-02-09 17:24:56 +02:00
Craig Andrews
5553b9df27
HHH-10938 - Fix memory leak when bootstrapping EntityManagerFactory
2017-02-09 11:48:25 +02:00
Christian Beikov
57f156769b
Checkstyle fix
2017-02-09 08:13:11 +01:00
Andrea Boriero
8461913c5c
HHH-11410 - Fix pgsql failing test
2017-02-08 16:41:25 +00:00
Christian Beikov
753858ce73
Introduced table group joins
2017-02-08 17:23:08 +02:00
Chris Cranford
c87194c3fe
HHH-11410 - Fixed ManyToMany with an active Filter to apply the condition on the join.
2017-02-08 13:53:00 +00:00
Chris Cranford
10fe238688
HHH-11410 - Added test case.
2017-02-08 13:53:00 +00:00
Mark Rotteveel
3c26ae7302
HHH-11467 Replace incorrect use of StringHelper.WHITESPACE with single space.
...
This prevents an issue with Firebird where formfeed (\f or 0x0c) is not considered valid whitespace in a query.
2017-02-07 16:48:10 +01:00
Chris Cranford
457a181347
HHH-8768 - Add support for OFFSET/FETCH syntax for SQL Server 2012 LimitHandler/pagination.
2017-02-07 14:10:36 +02:00
Chris Cranford
68e1dfffd2
HHH-11412 - EntityManager/Session setProperty should permit custom properties
2017-02-07 13:47:54 +02:00
Ivan Straka
e46956b0f1
HHH-11456 - SequenceHiLoGeneratorTest fails due to wrong select string on SQL Server
2017-02-06 17:58:47 +02:00
Timofey Gorshkov
f82dd465b1
HHH-11458 - Optimize the SQL formatter call when iterating through multiple targets
2017-02-06 17:42:41 +02:00
BOOTMGR
a38ea758e3
HHH-11455 - Do not use schema name when underlying database doesn't support It
...
Use JDBC Environment to get the qualified name of the table, instead of directly appending schema name when it is defined explicitly.
2017-02-05 00:24:07 +05:30
Vlad Mihalcea
517fc4c242
HHH-11448 - Fix tests failing on PostgreSQL
2017-02-02 17:22:49 +02:00
Vlad Mihalcea
ce95ffe441
HHH-9460 - Removing non-optional bidirectional @OneToOne association with cascade
...
Add entity name so that the underlying table uses it instead of the nested class name
2017-02-02 13:06:30 +02:00
Andrea Boriero
19e9bfe303
HHH-11262 - Fix checkstyle errors
2017-02-02 09:19:41 +00:00
Vlad Mihalcea
f2f6a08853
HHH-9460 - Removing non-optional bidirectional @OneToOne association with cascade
2017-02-02 10:57:23 +02:00
Chris Cranford
3f1111ee5c
HHH-10537 - Fixed conflict while merging changes from HHH-10557.
2017-02-01 12:51:06 -05:00
Christian Beikov
5d9414257f
Fix for HHH-10537
2017-02-01 12:31:09 -05:00
Christian Beikov
72382b1e08
Test for HHH-10537
2017-02-01 12:31:09 -05:00
Chris Cranford
fa3171530c
HHH-10577 - Added additional test cases for VALUE()
2017-02-01 11:01:04 -05:00
Christian Beikov
18e8be0037
Fixed HHH-10577
2017-02-01 11:01:03 -05:00
Christian Beikov
f9fce8c657
Test for HHH-10577
2017-02-01 11:01:03 -05:00
Evandro Pires da Silva
d48f393420
HHH-11262 - Bulk Operations attempt to create temporary tables, but user does not have permission to create table
2017-02-01 13:14:31 +02:00
Andrea Boriero
8f6e4d5675
HHH-11434 - prevent failures in some tests from freezing the whole test suite
2017-02-01 09:31:44 +00:00
Jan Martiska
e62d71b76b
HHH-11434 - prevent failures in some tests from freezing the whole test suite
2017-02-01 08:56:44 +00:00
Andrea Boriero
b19d76f2cc
HHH-11418 - SynonymValidationTest failure
2017-01-31 14:18:20 +02:00
barreiro
f82c29ff42
HHH-11161 - Prevent initialization of extra lazy collections
2017-01-31 12:12:48 +02:00
Steve Ebersole
c70a28252b
HHH-11431 - Remove unintended deprecation
2017-01-27 11:01:04 -06:00
Nicholas Kim
56cd7263d1
Fix Typo in MergeContext.java
...
mergeEntity the *merge* entity
2017-01-26 04:21:04 +09:00
Jan Martiska
95b858bf20
HHH-11419 - QueryAndSQLTest failing on MS SQL Server
2017-01-25 12:12:50 +02:00
Rafael Winterhalter
2868f1bb09
HHH-11420 - Update Byte Buddy to 1.6.6. and use more granular locks on type caches
2017-01-24 17:56:30 +02:00
Yordan Gigov
d9e5edc9c0
HHH-11409 - Bind registered collection types using their type handler
...
Try to replicate issue
2017-01-24 17:34:20 +02:00
Andrea Boriero
33ae0b3b9e
HHH-11407 - JPA + JDBC transaction - when a commit fails rollback is executed twice
2017-01-19 13:31:51 +00:00
Andrea Boriero
c9df1a9981
HHH-11407 - Add test for issue
2017-01-19 11:08:45 +00:00
Steve Ebersole
2dca5f2ceb
HHH-11400 - HHH90000016: Found use of deprecated 'collection property' issue for valid JPQL query
2017-01-18 21:37:25 -06:00
Craig Andrews
8361f794bc
HHH-11284 - Test case
2017-01-18 18:55:23 -06:00
barreiro
8fc0bf5202
HHH-11284 - HHH-11404 - Fix enhancement in cases where there is some sort of inheritance
2017-01-18 18:55:23 -06:00
barreiro
4a3dee1588
HHH-11242 - [enhancer] load class on isolated class pool to avoid it being frozen
2017-01-18 18:55:23 -06:00
Andrea Boriero
c1093d533e
HHH-11395 - ServiceRegistry#getService(...) throws NPE when service initiator returns null
2017-01-18 18:55:04 -06:00
Andrea Boriero
c1d8a3e426
HHH-11395 - Add test for issue
2017-01-18 18:55:04 -06:00
Andrea Boriero
a506f53a5c
HHH-11376 - Malformed SQL query sent to SQL Server with left outer join and pessimistic lock
2017-01-18 23:37:27 +00:00
Andrea Boriero
5f0ae6fcb7
HHH-11376 - Add test for issue
2017-01-18 23:37:27 +00:00
Steve Ebersole
ed4e3f50e7
HHH-10858 - Could not find matching type descriptor for requested Java class [...]; using fallback
2017-01-18 14:52:37 -06:00
Steve Ebersole
7af60b7c5a
HHH-10858 - Could not find matching type descriptor for requested Java class [...]; using fallback
2017-01-18 14:45:44 -06:00
Chris Cranford
5ac46eb703
HHH-11383 - Removed InvalidWithClauseException check when join alias != table alias
2017-01-18 14:26:13 -05:00
Max Tian
0693b54256
HHH-10183 - Mapping for NVARCHAR in SqlServer not working with native queries; org.hibernate.MappingException: No Dialect mapping for JDBC type: -9
2017-01-18 14:30:20 +02:00
Andrea Boriero
34d92507c9
HHH-11375 - SINGLE_TABLE associated entity query missing restriction of DiscriminatorColumn
2017-01-18 11:36:07 +00:00
Christian Beikov
4d5c66c80b
HHH-11375 - Add test
2017-01-18 11:35:52 +00:00
Sven Haster
904335a369
HHH-10561 - Join on treated root not rendered in HQL
2017-01-18 13:01:01 +02:00
Christian Beikov
349df983f0
Test and fix for HHH-11401
2017-01-18 10:10:39 +00:00
Gail Badner
122f00f30c
HHH-11173 : Change CollectionType#renderLoggableString to return '<uninitialized>' when collection is uninitialized
2017-01-17 21:40:00 -05:00
barreiro
4d6cda1548
HHH-11173 - Fix text serialization of uninitialized lazy attributes
2017-01-17 19:13:05 -05:00
Andrea Boriero
4dad087b39
HHH-11393 - Hibernate/JPA CriteriaQuery trim function generate wrong SQL
2017-01-17 18:00:11 +02:00
Andrea Boriero
c0d5fe9153
HHH-11236 - JPA hbm2ddl auto-generation creates ddl with invalid syntax for Unique Key with any MySQLDialect
2017-01-17 17:28:07 +02:00
Sanne Grinovero
570beaf7fb
HHH-11394 Custom WildFly modules include a duplicate dependency on Javassist
2017-01-17 11:33:45 +00:00
Steve Ebersole
71ec8907f6
HHH-11370 - Consider making javax.enterprise:cdi-api dependency "provided"
2017-01-12 21:53:54 -06:00
Gail Badner
99a033c21c
HHH-11202 : IllegalAccessException on Embeddable ID after serializing Getter in cache key
2017-01-12 09:36:50 -08:00
Rafael Winterhalter
4a32f1a0d5
Update Byte Buddy to v1.6.0. Use cache for type storage to avoid leaks.
2017-01-12 12:40:50 +02:00
Vlad Mihalcea
491d7341ad
HHH-11377 - ReflectHelper#getConstantValue should consider digits as well
2017-01-10 13:51:32 +02:00
Vlad Mihalcea
2b59aadc94
HHH-11236 - JPA hbm2ddl auto-generation creates ddl with invalid syntax for Unique Key with any MySQLDialect
...
Change test configuration to use update instead of create-drop
2017-01-10 09:08:44 +02:00
Vlad Mihalcea
22548f1127
HHH-10183 - Mapping for NVARCHAR in SqlServer not working with native queries; org.hibernate.MappingException: No Dialect mapping for JDBC type: -9
...
Restrict test case for SQL Server only
2017-01-09 17:13:36 +02:00
Vlad Mihalcea
8f5bc492e8
HHH-11236 - JPA hbm2ddl auto-generation creates ddl with invalid syntax for Unique Key with any MySQLDialect
...
Add replicating test case that works just fine
2017-01-09 16:07:52 +02:00
Vlad Mihalcea
2a441d7f2d
HHH-10183 - Mapping for NVARCHAR in SqlServer not working with native queries; org.hibernate.MappingException: No Dialect mapping for JDBC type: -9
...
Add replicating test case
2017-01-09 13:32:09 +02:00
Chris Cranford
9528d6c00c
Checkstyle fix.
2017-01-06 10:00:08 -05:00
Gunnar Morling
7d3788c76a
HHH-11309 Marking OSGi package imports for ByteBuddy as optional
2017-01-02 17:57:28 +01:00
lsiu
56f7466d52
Fix HHH-11352 - the Pattern at buildShallowIndexPattern where "wordBoundary==true" should wrap the pattern properly with '\b'
2016-12-22 13:09:11 -05:00
Arnold Galovics
dd9c68a862
HHH-11134 StringIndexOutOfBoundsException in BooleanTypeDescriptor fix
2016-12-22 13:01:33 -05:00
Radim Vansa
4ceb71f08a
Prevent NPE when running with log on trace level
2016-12-22 12:40:25 +01:00
Chris Cranford
f26488bc85
HHH-4712 - Fix identifier column mappings when entities use non-identifier properties named id.
2016-12-21 21:40:59 -05:00
Chris Cranford
1f090f3731
HHH-4712 - Added test case.
2016-12-21 21:40:59 -05:00
Andrea Boriero
318473e59c
HHH-11278 - setMaxResult(0) should return an empty List
2016-12-19 22:51:06 -06:00
Andrea Boriero
d4d1a6b8d4
HHH-11278 - Add test for issue
2016-12-19 22:51:06 -06:00
Gail Badner
3a1cbf3280
HHH-11289 : Lazy-initializing a static Method and making accessible not thread-safe
2016-12-19 20:32:54 -08:00
Gail Badner
c3d1573fdf
HHH-11241 : checkstyle fixes
...
(cherry picked from commit 3805752731
)
2016-12-19 20:26:22 -08:00
Gail Badner
7469df8da1
HHH-11241 : Missing column when executing HQL and criteria query with secondary table
2016-12-19 17:00:05 -08:00
Gail Badner
28942c3f67
HHH-11241 : Missing column when executing HQL and criteria query with secondary table
2016-12-19 17:00:05 -08:00
Steve Ebersole
3906816ee2
HHH-11274 - EntityManagerFactoryImpl.getIdentifier uses deprecated version of getIdentifier
2016-12-19 16:36:48 -06:00
Christian Beikov
a2781e6654
Fix for HHH-11340
2016-12-19 15:20:46 +00:00
Christian Beikov
7dc7fbe27f
Testcase for HHH-11340
2016-12-19 15:20:34 +00:00
Chris Cranford
087729c023
HHH-11324 - Fix LimitHandler parsing of subqueries in the select clause for SQLServer2005Dialect.
2016-12-16 12:52:50 -05:00
Chris Cranford
db1dfd6908
HHH-11324 - Added test cases.
2016-12-16 12:51:22 -05:00
Chris Cranford
1304541d94
HHH-11084 - Fix invalid SQL used in test cases.
2016-12-16 12:50:24 -05:00
Gail Badner
54f3409b41
HHH-11328 : Persist of transient entity in derived ID that is already in merge process throws javax.persistence.EntityExistsException
2016-12-15 11:57:52 -08:00
Andrea Boriero
9976edc853
HHH-11183 - Mixed line endings in schema creation script
2016-12-14 17:56:18 +02:00
stasal
b2df137ed6
HHH-11337 - Incorrect SQL generated when use both left join with unrelated entity and implicit join to another entity in select-clause
2016-12-14 16:24:38 +02:00
leonliao
f62d0d448c
HHH-11319 - The dirtyPropertyNames content is NOT logged properly
2016-12-14 14:20:08 +02:00
Vlad Mihalcea
d3dd28e474
HHH-11338 - Apply HHH-11194 fix to Dialect subclasses
2016-12-14 13:52:26 +02:00
Vlad Mihalcea
0bd7b8eac1
HHH-4959 - Concurrent HQL parsing blocks on ReflectHelper.classForName()
...
Exclude JPQL and Criteria API aliases when searching for a Java constant value
2016-12-14 10:05:30 +02:00
Rafael Winterhalter
159bc99a36
HHH-11321: fixes resolution of class names via build plugins
2016-12-14 08:55:01 +02:00
Jan Martiska
e10d87085d
HHH-11335 skip ByteArrayIdTest, PrimitiveByteArrayIdTest on Oracle
2016-12-12 20:18:45 -08:00
Jan Martiska
be39577188
HHH-11332 skip some tests from QueryAndSQLTest and QueryTest on Sybase
2016-12-12 19:58:46 -08:00
Jan Martiska
c393853308
HHH-11331 fix SQLLoaderTest on DB2
2016-12-12 19:38:38 -08:00
Gail Badner
87fe30b83b
HHH-11330 : Skip IdentifierGeneratorWithNaturalIdCacheTest on dialects that do not support identity columns
2016-12-12 19:16:14 -08:00
Gail Badner
b4a9be0adc
HHH-11329 fix tests using too long identifiers
2016-12-12 16:08:24 -08:00
Jan Martiska
a4cf282070
HHH-11329 fix tests using too long identifiers
2016-12-12 15:33:33 -08:00
Craig Andrews
916a93ada5
HHH-11293 - Consider enhanced entities with collections as being not unequivocally non-dirty
2016-12-12 17:45:44 +02:00
Craig Andrews
f7bb312f90
HHH-11307 - Throw a sensible exception if the Enhancer cannot find the .class file
2016-12-12 15:20:39 +02:00
Craig Andrews
1a36ff0b3e
HHH-11294 - NPE in org.hibernate.jpa.internal.util.PersistenceUtilHelper.isInitialized(PersistentAttributeInterceptable)
2016-12-08 10:31:47 +02:00
Jan Martiska
cff4ea1ce6
HHH-11295 - Some improvements to EntityJoinTest
2016-12-07 17:47:40 +02:00
Jan Martiska
a369120504
HHH-11315 - EnhancerTest fails on Oracle databases
2016-12-07 15:51:14 +02:00
Jan Martiska
eaf5b10cf1
HHH-11314 - BasicHibernateAnnotationsTest.testInheritFiltersFromMappedSuperclass fails on MS SQL Server
2016-12-07 14:05:14 +02:00
Andrea Boriero
fc7f0fca73
HHH-11305 - @OneToOne association, Nullable check does is not skipped for @NotFound(action = NotFoundAction.IGNORE)
2016-12-07 12:40:43 +02:00
Andrea Boriero
e720b2872a
HHH-11257 - Connection leak when SQLGrammarException is thrown
2016-12-06 17:31:00 +02:00
Vlad Mihalcea
b1c7615904
HHH-4313 - ConcurrentModificationException when collection of embeddable contains a collection
...
Throw exception when the JPA rule about nesting any collections from inside an @ElementCollection
2016-12-06 14:50:52 +02:00
Vlad Mihalcea
f8d366e749
HHH-11302 - One-To-Many in a Embeddable throw ConcurrentModificationException
...
Add @Ignore annotation because the test was failing during @Before phase execution
2016-12-05 11:07:55 +02:00
Vlad Mihalcea
3116716bff
HHH-11302 - One-To-Many in a Embeddable throw ConcurrentModificationException
...
Add test for issue
2016-12-05 08:25:57 +02:00
Steve Ebersole
0ab2992a9a
HHH-11296 - Incorrect handling of NCLOB streaming
2016-12-01 09:49:17 -06:00
Owen Farrell
ac22294bb3
HHH-10465 - Loss of precision in temporal JavaTypeDescriptor implementations
2016-11-28 19:45:32 +02:00
Chris Cranford
886ea603de
Fix unused import.
2016-11-28 12:27:53 -05:00
Chris Cranford
630d4f96b4
HHH-11277 - Fix checkstyle error.
2016-11-28 12:25:50 -05:00
Chris Cranford
e75e2d78bd
HHH-11277 - Fix checkstyle error.
2016-11-28 12:04:39 -05:00
Christian Beikov
46727d5af3
Wrong handling of parameter for TOP clause fixed
...
I encountered this because the dialect resolver apparently couldn't figure out the dialect for SQL-Server 2016.
2016-11-28 12:04:39 -05:00
Vlad Mihalcea
26c0b5b5cb
Fix test broken on some machines
2016-11-28 16:47:49 +02:00
Cédric Tabin
bba75c5877
Fix the property name to respect the other related classLoader properties declaration
2016-11-24 11:15:29 +00:00
Cédric Tabin
b38a9f40ac
Usage of the Locale.ROOT constant to convert the hibernate.classloading.tccl_lookup_precedence property correctly
2016-11-24 11:15:29 +00:00
Cédric Tabin
6cae4adabb
Improvement of the AggregatedClassLoader implementation to use one iterator for each type of TcclLookupPrecedence
2016-11-24 11:15:29 +00:00
Cédric Tabin
346941dcb7
The enum TcclLookupPrecedence is a single public enum, detached from the ClassLoaderService interface because it is only implementation-specific
2016-11-24 11:15:29 +00:00
Cédric Tabin
c2330c29f6
The enum TCCLLookupBehavior has been renamed to TcclLookupPrecedence and is not mutable during runtime.
2016-11-24 11:15:29 +00:00
Cédric Tabin
b31d080a57
Setting hibernate.classloader.tccl_lookup renamed to hibernate.classloader.tccl_lookup_precedence to better reflect its purpose
2016-11-24 11:15:29 +00:00
Cédric Tabin
726305f33e
New setting "hibernate.classloader.tccl_lookup" to allow the configuration of the thread context classloader lookup.
...
The bootstrap classloader context is not stored anymore in the ClassLoaderService because on Glassfish 4.1.1, the former
will be closed after bootstrap, causing huge warning and stacktraces occurs in the log each time a HQL query has to
be compiled.
See ticket HHH-11245 for details.
2016-11-24 11:15:29 +00:00
Andrea Boriero
b0fad884f0
HHH-11269 - Fix JPA & JTA - Error during managed flush [Session/EntityManager is closed] on flush-time cascades
2016-11-24 11:13:25 +00:00
Andrea Boriero
f8d2cbdcba
HHH-11269 - Add test for issue
2016-11-24 10:12:48 +00:00
Chris Cranford
aa3f913857
HHH-11194 - Add setting to allow enabling legacy 4.x LimitHandler behavior (removed delegation).
...
Fix broken test on SQL Server and propagate the legacy behavior even when we extend the SQL Server of the Ingres base Dialects
2016-11-24 10:49:45 +02:00
Steve Ebersole
9219c67da6
HHH-11248 - Warn user when multiple persistence-units use the same name
2016-11-23 09:53:32 -06:00
Andrea Boriero
c16a22b0fc
HHH-11258 - Fix checkStyle error
2016-11-23 15:04:57 +00:00
Andrea Boriero
cc5a13a3f0
HHH-11217 - SessionImpl.refresh() throws IllegalArgumentException, 'not an Entity' when using custom entity name
2016-11-23 14:52:11 +00:00
Andrea Boriero
f9a408815e
HHH-11217 - Add test for issue
2016-11-23 14:52:11 +00:00
Andrea Boriero
aa5f893267
HHH-11216 - @ElementCollection for enumerations is failing when enabling insert ordering
2016-11-23 15:06:39 +02:00
Christian Beikov
801974fa4c
Fix for HHH-11258
2016-11-23 06:32:08 -06:00
Christian Beikov
4d076111a3
Test case for HHH-11258
2016-11-23 06:32:08 -06:00
Radim Vansa
6d8f93c103
Document `hibernate.cache.keys_factory`
2016-11-22 22:00:44 -08:00
Radim Vansa
bf08752d3a
HHH-11083 Un-deprecate OldCacheKeyImplementation and OldNaturalCacheKey
2016-11-22 22:00:44 -08:00
Radim Vansa
9c376a39f9
HHH-11083 WrongClassException using Infinispan and sharing cache regions
...
* DefaultCacheKeysFactory implements CacheKeysFactory, therefore it can be used in hibernate.cache.keys_factory
* Use DefaultCacheKeysFactory by default
* Add "default" and "simple" as short names for those factories
2016-11-22 22:00:44 -08:00
Chris Cranford
468ed1b609
HHH-11205 - Fixed nationalization support when field type is char.
2016-11-22 15:05:37 -05:00
Chris Cranford
1b8d94ddba
HHH-11205 - Added test case.
2016-11-22 15:05:37 -05:00
Gail Badner
3e52340a92
HHH-11241 : test case (failing tests marked with FailureExpected)
2016-11-18 17:31:32 -08:00
Vlad Mihalcea
4e5648dc8a
SQL Server Driver is now on Maven Central
2016-11-18 17:39:14 +02:00
Vlad Mihalcea
74a789e617
HHH-11255 - NaturalId mapping fails when using a composite natural identifier
...
Add support for adding unique constraints to composite entity properties, like when using a @NaturalId with an @Embedded property
2016-11-17 17:01:19 +02:00
Chris Cranford
95b1e27902
HHH-11250 - Improved exception message for invalid filter parameter name format.
2016-11-16 22:45:37 -05:00
Chris Cranford
7e160d7b49
HHH-11250 - Fixed NullPointerException when defined filter name contains a dot.
2016-11-16 22:45:37 -05:00
Chris Cranford
1d294cb23d
HHH-11250 - Added test case.
2016-11-16 22:45:37 -05:00
Steve Ebersole
2e49586adc
HHH-11152 - Byte Buddy BytecodeProvider
2016-11-16 13:46:24 -06:00
Rafael Winterhalter
ba3359fe62
HHH-11152: Added BytecodeProvider based on Byte Buddy
2016-11-16 13:18:46 -06:00
Steve Ebersole
31a60b84c6
test for https://forum.hibernate.org/viewtopic.php?f=1&t=1043787&p=2490859#p2490859 (jira coming)
2016-11-16 11:00:34 -06:00
Vlad Mihalcea
d215abbaea
HHH-11233 - JPA SQL function with no arguments can only be called if we provide a comma
2016-11-16 13:18:41 +02:00
Steve Ebersole
0a2bb3c811
HHH-11155 - Lazy properties are not updated if not all lazy properties (e.g. collections) are initialized
2016-11-10 12:21:37 -06:00
Steve Ebersole
f2ba4b9cee
HHH-11155 - Lazy properties are not updated if not all lazy properties (e.g. collections) are initialized
2016-11-09 22:28:35 -06:00
Gail Badner
e17d2f01dc
HHH-11155 : test case
2016-11-09 22:26:26 -06:00
Vlad Mihalcea
02b234a44f
Check how Criteria API behaves with literals
2016-11-09 15:50:32 +02:00
Christian Beikov
080d65de99
HHH-11230 - Aggregate on (mappedBy) joined column produces invalid query
2016-11-09 11:51:13 +02:00
Steve Ebersole
36d6563998
HHH-11220 - Auto-detect SQL Server 2016 when the major version is 13
2016-11-08 18:53:48 -06:00
Steve Ebersole
a356a08d4b
HHH-11225 - Add CriteriaBuilder overloads for methods dealing with Collection to also deal with Map
2016-11-08 13:24:18 -06:00
Vlad Mihalcea
b828db2261
HHH-3674 - Expose SchemaUpdate#haltOnError as a configuration property
2016-11-03 18:22:31 +02:00
Vlad Mihalcea
6fcab0cb54
HHH-5467 - API documentation for @Fetch(SUBSELECT) is ambiguous.
2016-11-03 14:31:09 +02:00
Vlad Mihalcea
9bbf02536a
HHH-5467 - API documentation for @Fetch(SUBSELECT) is ambiguous.
2016-11-03 13:37:42 +02:00
Vlad Mihalcea
e26df5dc2e
HHH-6941 - Erroneous Javadoc for getReferencedProperty, getReferenceablePropertyIterator
2016-11-02 16:28:07 +02:00
Vlad Mihalcea
531ff6e944
HHH-11034 - Query.stream() Javadoc should specify whether the resulting Stream contains resources
2016-11-02 12:25:30 +02:00
Vlad Mihalcea
6024520e08
HHH-11204 - Fix typo for all "occured" error message to occurred
2016-11-01 16:40:39 +02:00
Vlad Mihalcea
e469a99c30
HHH-9216 - Add documentation about merging multiple detached representations of the same entity
2016-10-26 14:24:27 +03:00
Andrea Boriero
bf2bc323f6
HHH-11188 - SessionImpl.refresh() throws IllegalArgumentException, 'Entity not managed' for detached instances when JPA bootstrapped
2016-10-26 11:15:31 +03:00
Martin Simka
957ec3fa79
[HHH-11203] fix some minor test issues
2016-10-25 19:27:17 +01:00
Chris Cranford
0e2b2f11e7
HHH-11145 - Fix limit handler to ignore regex search keywords that are quoted.
2016-10-25 09:57:17 -04:00
Nick
dd14feac5a
HHH-11179 - NullPointerException on lazy load of non-existed entity outside transaction
2016-10-25 15:17:30 +03:00
Vlad Mihalcea
7b263f8697
HHH-10465 - Loss of precision in temporal JavaTypeDescriptor implementations
...
Fix test to work on UTC-X timezones as well
2016-10-25 14:54:01 +03:00
Andrea Boriero
3e5025ac10
HHH-11177 - Duplicate queries during startup
2016-10-25 10:51:51 +01:00
Andrea Boriero
7f5419ad74
HHH-11166 - JPA & JTA - java.lang.IllegalStateException: Session/EntityManager is closed when EntityManaer is closed with an active Transaction
2016-10-25 11:56:16 +03:00
Vlad Mihalcea
50346775b0
HHH-10465 - Loss of precision in temporal JavaTypeDescriptor implementations
...
Test to validate if the Timestamp time handles fraction of a second
2016-10-24 18:29:23 +03:00
Christian Beikov
877a05213c
Fix failing WithClauseTest
2016-10-24 16:14:11 +02:00
Christian Beikov
556aa265c0
Add property for disabling subquery join rewrites and handle mysql quoted identifiers
2016-10-21 13:44:08 -05:00
Andrea Boriero
9e8fd60e26
HHH-11159 - JPA CriteriaUpdate, NnullLiteral causes IllegalArgumentException: Could not convert java type to Hibernate type
2016-10-20 22:58:31 -07:00
Andrea Boriero
1c1fe2a9af
HHH-11159 - Add test for issue
2016-10-20 22:58:30 -07:00
Andrea Boriero
b3151de647
HHH-11182 - HQL subquery with constraint property in superclass does not join superclass table
2016-10-20 13:19:53 -07:00
Gail Badner
38379a537a
HHH-11182 - Add test for issue
2016-10-20 13:19:53 -07:00
Yordan Gigov
3b196fb2e1
HHH-11171 - Java 8 time types fail Externalization
2016-10-20 16:20:34 +03:00
Andrea Boriero
0439e855cc
HHH-11184 - SessionFactoryDelegatingImpl.registerNamedSQLQueryDefinition call wrong delegate method
2016-10-20 10:52:28 +01:00
barreiro
5f61ee0b43
HHH-11050 - [bytecode enhancement] Add support for getters/setters through delegation
2016-10-18 12:32:10 -05:00
barreiro
90ffcec3fa
HHH-11050 - [bytecode enhancement] Test case
2016-10-18 12:32:10 -05:00
Christian Beikov
416fe7e6a8
Fixed HHH-11157 and extended identifier handling
2016-10-11 11:53:10 +03:00
Brian Peterson
5f50e1e919
HHH-10489 : DB2400Dialect could use the same LimitHandler as DB2Dialect
...
HHH-11150 : DB2 on AS400 (DB2400 Dialect) fails to paginate.
Leveraged code from the DB2 Dialect and placed in DB2400Dialect. This was then tested on an AS400 successfully.
2016-10-11 11:32:34 +03:00
Vlad Mihalcea
0c8261b0ae
HHH-9864 - foreign key violation with order_inserts=true and batches with mixed subclass entities
2016-10-10 18:03:30 +03:00
Andrea Boriero
774a16c2d9
HHH-6562 - Unknown collection role when accessing ElementCollection in Embeddable via Criteria API
2016-09-29 22:36:41 -07:00
barreiro
20c2037529
HHH-10981 - No need to add template methods for inherited persistent fields
2016-09-29 18:15:46 +01:00
barreiro
e2641afb12
HHH-10981 - Support private persistent fields in @MappedSuperclass
2016-09-29 18:15:46 +01:00
barreiro
63af953566
HHH-10981 - Test case
2016-09-29 18:15:46 +01:00
Christian Beikov
5d6678a414
Added testcase that demonstrates issue with join table index column usage
2016-09-29 11:58:26 -05:00
Christian Beikov
1d823ceb76
Test and fix for HHH-9329
2016-09-29 11:58:26 -05:00
Chris Cranford
de7ca7882b
HHH-11131 - Refactored generator and database structure code.
2016-09-29 17:45:14 +01:00
Christian Beikov
d48ac0f0f7
HHH-10229 - Select value from element collection results in wrong SQL being produced
2016-09-29 11:35:29 -05:00
Steve Ebersole
9aa164ed27
HHH-10818 - Allow AttributeConverter on attributes marked as Lob (REALLY this time)
2016-09-29 11:27:27 -05:00
Christian Beikov
b6aa191720
Test and fix for HHH-11140
2016-09-29 09:08:41 -05:00
Gail Badner
f34508e3f3
HHH-10998 : NullPointerException when using join with subselect in hbm mapping
2016-09-28 17:34:09 -07:00
Chris Cranford
2d03ba9747
HHH-11133 - Add discriminator-value attribute support for joined-subclass hbm mapping elements.
2016-09-28 16:27:45 -05:00
Andrea Boriero
de3153a8e1
HHH-11023 - Startup performance regression : schema update/validate
2016-09-28 19:12:46 +01:00
Andrea Boriero
30165d4aef
HHH-11092 - NamedNativeQueries ordinal parameters are zero based
2016-09-28 16:26:07 +01:00
Andrea Boriero
f8f5486fda
HHH-11092 - Add test for issue
2016-09-28 16:26:07 +01:00
Andrea Boriero
306c151fff
HHH-11121 - Wrong NativeQueryImpl.setZeroBasedParametersIndex when Session#createSQLQuery is executed after EM#createNativeQuery
2016-09-28 16:26:07 +01:00
Andrea Boriero
47e925ead4
HHH-11121 - Add test for issue
2016-09-28 16:26:07 +01:00
Vlad Mihalcea
8201c69103
HHH-11076 - Lazy collections ignore filters when allowLoadOutsideTransaction is true
...
Roll back fix since it got rejected due to some corner cases that are now added to ProxyPreservingFiltersOutsideInitialSessionTest
2016-09-28 17:18:18 +03:00
Vlad Mihalcea
23326608f7
HHH-5409 - bag and idbag should implement equals() and hashCode() the same way as other collections
...
This test does not verify how equals is implemented for Bags,
but rather if the child entity equals and hashCode are used properly for both
managed and detached entities.
2016-09-28 16:23:18 +03:00
ChristophDreis
d2d947068d
HHH-11136 - Reduce memory consumption caused by Method.getParameterTypes()
2016-09-27 09:08:41 +02:00
Chris Cranford
f521017b90
HHH-11084 - Fix injection of TOP for subselect cases that use select distinct clause.
2016-09-21 16:21:02 -04:00
Chris Cranford
20ae4920b7
HHH-5908 - Avoid unnecessary updates on detached un-modified entities with SelectBeforeUpdate.
...
HHH-11056 - Envers audits unchanged objects for a certain use case
2016-09-21 16:38:59 +03:00
Boris Byk
348f92b340
HHH-11120 - SessionFactoryOptionsImpl#releaseResourcesOnCloseEnabled never initialized
2016-09-21 16:34:28 +03:00
ChristophDreis
d4d2b8f74f
HHH-11119 Improve performance of StringHelper.qualify() and StringHelper.unqualify()
2016-09-21 10:44:05 +01:00
Damien Hollis
9498b52566
HHH-10659 - Natural Id 2nd level Cache not working when Identity is database generated
2016-09-20 14:26:44 +03:00
Andrea Boriero
dc7a1c96a3
HHH-11061 - Attempt to resolve foreign key metadata from JDBC metadata failed to find column mappings for foreign when keywords auto quoting is enabled
2016-09-20 10:45:18 +03:00
Andrea Boriero
5f60cd3b65
HHH-11099 - Closing EntityManager with an active transaction causes JTA connection leak
2016-09-19 17:45:28 +03:00
Giovanni Lovato
ae40de125d
HHH-11076 - Lazy collections ignore filters when allowLoadOutsideTransaction is true
2016-09-19 13:57:02 +03:00
Gail Badner
87e69c9d34
HHH-11038 : Invalid statement generated for @MapKeyColumn(updatable=false) for @OneToMany
2016-09-18 21:47:24 -07:00
Gail Badner
c3f7c332f5
HHH-11038 : test case
2016-09-18 21:46:47 -07:00
Andrea Boriero
9cf4fecbfe
HHH-11101 - Missing unique constraint for many-to-many with unique=true in list mapping
2016-09-15 23:43:52 -07:00
Andrea Boriero
a3eac62761
HHH-11101 - Add test for issue
2016-09-15 23:43:52 -07:00
Andrea Boriero
fd918c2a6e
HHH-10972 - Fix checkstyle error
2016-09-15 15:04:36 +01:00
Jaikiran Pai
7247f05a21
HHH-10972 Use UTF-8 charset for reading file content of scripts that are used for initializing databases
2016-09-15 11:52:41 +03:00
Andrea Boriero
c9c50d8afd
HHH-11081 - JPA join with treat causes QuerySyntaxException: Invalid path
2016-09-14 23:34:48 -07:00
Andrea Boriero
4d3ece8c09
HHH-11081 - Add test for issue
2016-09-14 23:34:48 -07:00
Vlad Mihalcea
6f43d40e0a
HHH-10399 - Add support for specifying TimeZone for ZonedDateTime type
...
Fix test failing in TimeZones with negative offsets
2016-09-15 08:27:59 +03:00