3513 Commits

Author SHA1 Message Date
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