7469 Commits

Author SHA1 Message Date
Chris Cranford
59870d0a14 HHH-7949 - Prevent lazy loading collections for bidirectional associations where not modified when withModifiedFlag is used. 2016-12-09 12:55:27 -05:00
Chris Cranford
1081c02c6b HHH-7949 - Added test case. 2016-12-09 12:55:27 -05:00
Craig Andrews
b0f6f77d74 HHH-11287 Include requiresDependencyResolution in the Maven plugin descriptor 2016-12-08 11:04:36 +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
Radim Vansa
f4f50aa5c8 HHH-11271 Disable testContestedPutFromLoad because of short timeout 2016-12-08 10:08:22 +02:00
Craig Andrews
5f8db1066d HHH-11282 - Support m2e/Eclipse integration in hibernate-enhance-maven-plugin 2016-12-07 20:36:18 -06: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
Radim Vansa
ed804d500e HHH-11318 - Fix Infinispan Javadoc documentation typos
Revert after/before -> afterQuery/beforeQuery in documentation
2016-12-07 14:18:06 +02:00
Jan Martiska
eaf5b10cf1 HHH-11314 - BasicHibernateAnnotationsTest.testInheritFiltersFromMappedSuperclass fails on MS SQL Server 2016-12-07 14:05:14 +02:00
opporancisis
d5538fc63b HHH-11317 - Several typos and style fixes in documentation 2016-12-07 12:57:23 +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
4dea338fb6 HHH-11308 - Bump C3P0 version up to support JDBC 4.2 2016-12-06 14:45:50 +02:00
Vlad Mihalcea
ab9016306b HHH-11186 - Add examples for all Hibernate annotations
Document more annotations:

- @LazyCollection
2016-12-05 17:30:28 +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
Vlad Mihalcea
2f2debb130 HHH-11186 - Add examples for all Hibernate annotations
Document more annotations:

- @JoinColumnOrFormula
2016-12-02 15:53:27 +02:00
Vlad Mihalcea
c83efda49b HHH-11186 - Add examples for all Hibernate annotations
Document more annotations:

- @JoinFormula
2016-12-02 13:29:34 +02:00
Steve Ebersole
0ab2992a9a HHH-11296 - Incorrect handling of NCLOB streaming 2016-12-01 09:49:17 -06:00
Vlad Mihalcea
37b2ffc560 HHH-11186 - Add examples for all Hibernate annotations
Document more annotations:

- @GenericGenerator
2016-11-30 17:47:46 +02:00
Vlad Mihalcea
8009af3f9b HHH-11186 - Add examples for all Hibernate annotations
Document more annotations:

- @GeneratorType
2016-11-30 13:02:41 +02:00
Vlad Mihalcea
6a69f10f46 HHH-11186 - Add examples for all Hibernate annotations
Document more annotations:

- @Generated
2016-11-29 18:15:12 +02: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
Vlad Mihalcea
8f3d58601d HHH-11186 - Add examples for all Hibernate annotations
Document more annotations:

- @FilterJoinTable
2016-11-25 15:50:02 +02:00
Andrea Boriero
91ebadb209 5.2.5 2016-11-24 15:07:06 +00:00
Andrea Boriero
1053f16618 5.2.5 5.2.5 2016-11-24 12:34:38 +00: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