Brett Meyer
3cd4ae6c2a
HHH-9094 update hibernate-infinispan for metamodel
2014-03-28 15:09:15 -04:00
Steve Ebersole
c171d79ecf
FailureExpectedWithNewMetamodel cleanup
2014-03-27 07:17:25 -05:00
Steve Ebersole
c3e8f4a007
FailureExpectedWithNewMetamodel cleanup
2014-03-27 07:16:25 -05:00
Brett Meyer
11f4aab733
HHH-8966 removed mistakenly committed code
2014-03-26 15:51:23 -04:00
Brett Meyer
0612dc72f7
HHH-8966 do not process attributes for non
...
@Entity/@MappedSuperclass/@Embeddable classes
2014-03-26 14:17:10 -04:00
Steve Ebersole
8002cf4492
HHH-8923 - Reconsider closing of ServiceRegistry instances
2014-03-26 11:05:19 -05:00
Gail Badner
b9066312a6
HHH-7490 - Integrate Envers with Metamodel
2014-03-25 23:03:45 -07:00
Steve Ebersole
674eeec3a9
FailureExpectedWithNewMetamodel cleanup
2014-03-25 23:31:55 -05:00
Steve Ebersole
2b17b95980
FailureExpectedWithNewMetamodel cleanup
2014-03-25 22:08:10 -05:00
Steve Ebersole
bab7fc6a47
HHH-9077 - org.hibernate.metamodel.source.spi TLC
2014-03-25 21:09:42 -05:00
Brett Meyer
c7a07a170a
HHH-7904 corrected CollectionTableNamingStrategyHelper
2014-03-25 16:41:48 -04:00
Brett Meyer
c1a5622a7e
HHH-9083 throw AnnotationException for out of place @Immutable
2014-03-25 14:33:04 -04:00
Brett Meyer
519acb2749
HHH-6132 @FetchProfiles should throw MappingException when invalid
...
entity or association used
2014-03-25 14:12:07 -04:00
Brett Meyer
b6795294e6
HHH-8962 allow PrimitiveTypeDescriptor to provide the actual Class
2014-03-24 18:11:44 -04:00
Brett Meyer
e756bd0e0e
HHH-6109 corrected @CollectionId#type handling
2014-03-24 17:18:49 -04:00
Brett Meyer
87d04ef3ed
HHH-9078 correct OrderColumn indexes for inverse, extra lazy collections
2014-03-24 13:27:01 -04:00
Steve Ebersole
ea2a7d50d1
HHH-9076 - Dynamic model (map mode) support in reflite
2014-03-22 15:20:14 -05:00
Brett Meyer
1c222d1b1e
HHH-6438 made Constraint#name an Identifier
2014-03-21 16:12:20 -04:00
Brett Meyer
9504c102cf
HHH-8796 corrected MySQL index create/drop, corrected qualifyIndexName()
...
use
2014-03-21 16:12:20 -04:00
Gail Badner
24ff8d6eae
HHH-7490 - Integrate Envers with Metamodel
2014-03-21 12:44:06 -07:00
Steve Ebersole
6f342358db
HHH-7971 - Enabling ENABLE_LAZY_LOAD_NO_TRANS results in trying to remove elements in collections
2014-03-21 13:16:07 -05:00
Alexander-Dukhno
30205607ef
HHH-7971 create regression test case for lazy loading with property ENABLE_LAZY_LOAD_NO_TRANS = true
2014-03-21 13:13:46 -05:00
Guillaume Smet
cee8d5d376
HHH-9072 Fix name property of LoadEventListener.RELOAD
...
(cherry picked from commit a86acaf010
)
2014-03-21 10:47:19 -05:00
Steve Ebersole
af557ce9b8
HHH-9071 - Proxy narrowing loses the initialized state of the original proxy
...
(cherry picked from commit c5bdec20b9
)
2014-03-21 10:02:22 -05:00
Guillaume Smet
a9d927a1e4
HHH-9071 When an already initialized proxy is narrowed, initialize the new proxy
...
(cherry picked from commit 2cf52cc7f1
)
2014-03-21 10:02:06 -05:00
Steve Ebersole
bdb27beb8e
HHH-8923 - Reconsider closing of ServiceRegistry instances
2014-03-20 14:47:57 -05:00
Steve Ebersole
414a0fbb24
HHH-8816 - Unable to instantiate AttributeConverter: root cause of exception hidden
2014-03-20 11:28:43 -05:00
Steve Ebersole
9d0af62385
HHH-8956 - JandexHelper love
2014-03-19 17:10:23 -05:00
Baptiste Mathus
e83691501f
HHH-9038 Fix HSQLDB dialect for non-existing constraints.
...
This commits relates to https://hibernate.atlassian.net/browse/HHH-7002 .
It basically removes the explicit constraints dropping, and uses
cascading instead.
As HSQLDB requires to put CASCADE last, but fortunately accepts IF
EXISTS also before tablename, we just put the IF EXISTS *before* the
tablename, and CASCADE after it. And there you go.
2014-03-19 16:24:25 -04:00
Brett Meyer
8c8304a76a
HHH-8021 support overriding nested embeddables with secondary tables
2014-03-19 14:53:07 -04:00
Steve Ebersole
6e8cffc983
HHH-9048 - Derived ids where the derived id is basic cannot be looked up by simple value
2014-03-18 12:17:44 -05:00
Steve Ebersole
4933a266f2
HHH-9059 - JPA 2.1 @NamedStoredProcedureQuery binding in metamodel
2014-03-18 09:58:30 -05:00
Brett Meyer
83d2e46ba4
HHH-7033 replaced all Dialect limit/offset methods with LimitHandler use
2014-03-17 19:45:17 -04:00
Brett Meyer
ac648cec15
HHH-9044 formatting, minor fixes
2014-03-17 19:45:17 -04:00
zhouyanming
1e5444f07d
HHH-9044 created Oracle12cDialect, SQL2008StandardLimitHandler, minor tweaks for identity generation
2014-03-17 19:45:17 -04:00
Brett Meyer
a9f867fede
HHH-7033 removed deprecated dialects, deprecated dialect methods,
...
o.h.dialect.unique
2014-03-17 19:45:17 -04:00
Brett Meyer
4651a064fa
HHH-8805 HHH-7916 Support @Index(NO_CONSTRAINT) and @NotFound(IGNORE)
2014-03-17 19:45:16 -04:00
Steve Ebersole
8945e9e590
HHH-9060 - JPA 2.1 ContructorResult binding in metamodel
2014-03-17 18:31:42 -05:00
Steve Ebersole
8309071f3c
HHH-1582 : post-commit listeners and failed transactions
2014-03-17 15:45:19 -05:00
Steve Ebersole
ef0bcbdc45
HHH-1582 : post-commit listeners and failed transactions
...
(cherry picked from commit 1178e70034
)
2014-03-17 15:03:35 -05:00
Shawn Clowater
4f963a6fb4
HHH-1582 - Added explicit PostCommit(Insert|Delete|Update)EvenLister interfaces to allow for separation of success/fail handling in post commit events.
...
Maintained current behavior by having the Entity actions call the existing API unless using one of the new interfaces. Added 2 test cases, 1 using the new interfaces and 1 using the existing interfaces.
(cherry picked from commit c6ca3a4ef2
)
2014-03-17 15:03:12 -05:00
Brett Meyer
96d60ba05d
HHH-9051 removing unnecessary System.out.println
2014-03-17 15:44:03 -04:00
Brett Meyer
ea112b7712
HHH-9057 Correct ObjectNameNormalizer for mssql-style quoting
2014-03-17 15:16:19 -04:00
Brett Meyer
a972348369
HHH-9056
...
OneToOneTest.testPkOneToOneSelectStatementDoesNotGenerateExtraJoin fails
on oracle and postresql
2014-03-17 15:16:17 -04:00
Brett Meyer
fed02fff68
HHH-9054 QuoteTest violates unique key constraint on some DBs
2014-03-17 15:16:15 -04:00
Brett Meyer
128efcab0a
HHH-9052 ASTParserLoadingTest.testBooleanPredicate fails on most
...
databases
2014-03-17 15:16:12 -04:00
Steve Ebersole
c06a45a636
HHH-8966 - Redo the MetadataBuilder process;
...
HHH-8956 - TLC for annotation pre-processor;
HHH-8962 - Create a set of light reflection classes;
HHH-8932 - Need to integrate JPA 2.1 AttributeConverters into new metamodel binding
2014-03-17 13:07:31 -05:00
Gail Badner
0329f37d99
HHH-9002 : Fetch many-to-many order by
2014-03-14 15:59:22 -07:00
Libor Ondrusek
26fadde9d3
HHH-9040 Added halt on error support for scripts importing
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaExport.java
2014-03-12 17:06:00 -04:00
Brett Meyer
a71eb4786a
HHH-8374 test case
2014-03-12 16:22:51 -04:00
sndyuk
05c078e459
HHH-8374: Treat an entity wrapped by hibernate proxy equals a raw entity
2014-03-12 16:22:49 -04:00
Jorgen Rydenius
a69c6c7dff
HHH-9037 Simplified debugging by improving the ClassCastException message from JavassistLazyInitializer.
2014-03-12 13:20:46 -04:00
Brett Meyer
552301bdc4
HHH-9034 ASTParserLoadingTest fails with postgresplus92
2014-03-12 12:53:22 -04:00
Brett Meyer
ca9b917622
HHH-7534 completed test case
2014-03-10 15:42:20 -04:00
Brett Meyer
d576bb071f
HHH-9028 corrected Session#get for caching w/ polymorphism, improved
...
tests
2014-03-07 12:17:30 -05:00
Guillaume Smet
c94088ee6c
HHH-9028 Test case: when second level cache is enabled, the session returns the objects even if the class doesn't match
2014-03-07 12:17:28 -05:00
Brett Meyer
ca0c2f4548
HHH-9024 correct TypedValue transients during de-serialization
2014-03-06 12:15:24 -05:00
Brett Meyer
2f293ed46c
HHH-7072 correcting test failure
2014-03-04 17:19:18 -05:00
Brett Meyer
595c78754c
HHH-7072 force recreation of element collections of components with all
...
nullable properties
2014-03-04 16:29:37 -05:00
Brett Meyer
9b57337a85
HHH-9017 correct HSQL pooled sequences
2014-03-04 09:57:17 -05:00
Brett Meyer
9f927ba3ac
HHH-9010: Revert "HHH-8961 Reduce allocation cost of org.hibernate.cache.spi.CacheKey instances"
...
This reverts commit 539866b773
.
2014-02-28 13:59:32 -05:00
Sanne Grinovero
1a79515e3c
HHH-9003 Avoid allocating arrays in most methods of ComponentType
2014-02-26 19:01:39 -05:00
Sanne Grinovero
8cd013bf11
HHH-8950 Avoid repeated array allocation for sqlTypes
2014-02-26 19:01:37 -05:00
Sanne Grinovero
6ccde14d24
HHH-8878 Remove some dead code
2014-02-26 18:53:38 -05:00
Sanne Grinovero
2798e9d8e3
HHH-8878 Avoid hot allocation in PooledLoOptimizer
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java
2014-02-26 18:53:35 -05:00
Sanne Grinovero
a34d740eba
HHH-8878 Fix logged message about PooledLoOptimizer being created
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java
Conflicts:
hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java
hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
2014-02-26 18:53:31 -05:00
Sanne Grinovero
28ae6d32ea
HHH-9001 Unnecessary Stack object being allocated in
...
org.hibernate.engine.internal.Cascade
Conflicts:
hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java
2014-02-26 17:41:52 -05:00
Brett Meyer
15247a6a59
Revert "HHH-8945 introduced "hibernate.session.initial_capacity" to reduce"
...
This reverts commit 284e219fd3
.
2014-02-26 17:22:43 -05:00
Brett Meyer
03c086ee6f
Revert "HHH-8945 increased default map size"
...
This reverts commit 31a4b22e44
.
2014-02-26 17:22:30 -05:00
Sanne Grinovero
a373505a1c
CheckStyle: Improve formatting of org.hibernate.event.spi.LoadEvent
2014-02-24 17:06:04 +00:00
Sanne Grinovero
86ab291257
HHH-8984 EntityEntry slimming: remove EntityMode and tenantId fields
2014-02-24 17:00:59 +00:00
Sanne Grinovero
f0bf53e40e
HHH-8991 Cache lookup of identifier Type and associated EntityPersister for each EntityType
2014-02-24 16:08:51 +00:00
Furkan Kamaci
586f9c2a55
HHH-8989
...
Logic mismatch between AbstractQueryImpl and LimitHelper for setMaxResults(0) is fixed.
2014-02-20 14:49:52 -05:00
Brett Meyer
2961f7df68
HHH-8983 log/clear Statement warnings on JdbcCoordinator#release
2014-02-18 22:08:32 -05:00
Sanne Grinovero
53f7528d71
HHH-8977 Guess reasonable size for ArrayList and IdentitySet for Query perform
2014-02-18 15:03:17 -05:00
Brett Meyer
31a4b22e44
HHH-8945 increased default map size
2014-02-18 14:54:51 -05:00
Sanne Grinovero
7dc8d9cc48
HHH-8954 Avoid LockOptions allocation in LoadEvent unless strictly required
2014-02-18 14:50:13 -05:00
Sanne Grinovero
539866b773
HHH-8961 Reduce allocation cost of org.hibernate.cache.spi.CacheKey instances
...
Remove tenantId field from CacheKey: use a different type when tenants are needed.
Also remove the Type as we should be able to rely on the entityOrRoleName String.
2014-02-18 14:41:46 -05:00
Sanne Grinovero
0f0a95e2b8
HHH-8939 Reduce contention on initialization of ColumnNameCache instances by loaders
2014-02-18 14:29:14 -05:00
Steve Ebersole
758d635ca2
HHH-8893 - Develop Hibernate mapping XSD extending the JPA mapping (orm) XSD
2014-02-18 12:03:51 -06:00
Steve Ebersole
ebcd0d9cff
HHH-8956 - TLC for annotation pre-processor
2014-02-17 20:55:34 -06:00
Steve Ebersole
3bb937b83f
HHH-8962 - Create a set of light reflection classes - initial work on classmate intg
2014-02-17 18:34:53 -06:00
Brett Meyer
e84ed199e3
HHH-8737 throw MappingException for constraint with non-existent
...
column
2014-02-17 15:03:37 -05:00
Steve Ebersole
ea4812b046
HHH-8962 - Create a set of light reflection classes - initial annotation support
2014-02-17 12:42:50 -06:00
Steve Ebersole
351039553f
HHH-8962 - Create a set of light reflection classes - hook in + suggestions from hardy and gunnar
2014-02-15 10:52:30 -06:00
Brett Meyer
993de9060d
HHH-8969 corrected test failures
2014-02-14 13:52:37 -05:00
Brett Meyer
2f636e4a52
HHH-8827 corrected @SortNatural and @SortComparator, test case
2014-02-14 13:30:58 -05:00
Brett Meyer
ff12d5cdf1
HHH-8969 removed deprecated annotations
2014-02-14 13:30:53 -05:00
Brett Meyer
b5553a2485
HHH-8862 bind @CollectionTable @ForeignKey explicit name
2014-02-14 11:02:44 -05:00
Brett Meyer
357fd11f2f
HHH-8737 log warnings if duplicate constraints/indexes would have been
...
created
2014-02-14 09:34:46 -05:00
Brett Meyer
fcb3e40bd8
HHH-8737 handle permutations of conflicting indexes and unique keys, set
...
explicit FK names, corrected default annotation values, initial unit
test
2014-02-14 09:34:41 -05:00
Brett Meyer
f652d87277
HHH-8737 pulled applyConstraints/dropConstraints into a new
...
ConstraintDelegate, created UK exporters for DB2 and Informix
2014-02-14 09:33:46 -05:00
Brett Meyer
8ca6ff21fa
HHH-8737 deprecated UniqueDelegate, created StandardUniqueKeyExporter,
...
stripped SQL generation from metamodel.spi.relational constraints,
created applyConstraints/dropConstraints on Dialect
2014-02-14 09:33:41 -05:00
Steve Ebersole
4b945fae4c
HHH-8966 - Redo the MetadataBuilder process
2014-02-14 07:10:40 -06:00
Steve Ebersole
50ff90b3b4
HHH-8962 - Create a set of light reflection classes - modifier support
2014-02-13 07:17:03 -06:00
Steve Ebersole
b2ab350866
HHH-8962 - Create a set of light reflection classes
2014-02-12 21:29:57 -06:00
Steve Ebersole
c5cbf662b4
HHH-8962 - Create a set of light reflection classes
2014-02-12 15:34:39 -06:00
Hardy Ferentschik
83e9ceb429
HHH-8960 Re-enabling Bean Validation tests
2014-02-12 21:22:07 +01:00
Hardy Ferentschik
77b497be98
HHH-8960 Re-introducing a Properties instance variable and apply it when the session factory is built. This allows for Configuration#getProperties to return writable properties
...
Re-enabling tests which were based on the change in Configuration
2014-02-12 21:22:06 +01:00
Hardy Ferentschik
d9a4e094a4
HHH-8960 Removal of old svn tags in test code
2014-02-12 21:22:06 +01:00