[hibernate/hibernate-ogm] 4a55da: OGM-1221 Add discriminator column and value in Tup...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-ogm
Commit: 4a55da17a705de8738f6f400e806e3d2fd5eaca2
https://github.com/hibernate/hibernate-ogm/commit/4a55da17a705de8738f6f40...
Author: Davide D'Alto <davide(a)hibernate.org>
Date: 2017-01-10 (Tue, 10 Jan 2017)
Changed paths:
M core/src/main/java/org/hibernate/ogm/dialect/impl/TupleTypeContextImpl.java
M core/src/main/java/org/hibernate/ogm/dialect/spi/TupleTypeContext.java
M core/src/main/java/org/hibernate/ogm/persister/impl/OgmEntityPersister.java
M core/src/test/java/org/hibernate/ogm/utils/GridDialectOperationContexts.java
Log Message:
-----------
OGM-1221 Add discriminator column and value in TupleTypeContext
Commit: 32ea3047f39f09d3c8766a9b1573ad867d2e4500
https://github.com/hibernate/hibernate-ogm/commit/32ea3047f39f09d3c8766a9...
Author: Davide D'Alto <davide(a)hibernate.org>
Date: 2017-01-10 (Tue, 10 Jan 2017)
Changed paths:
A neo4j/src/main/java/org/hibernate/ogm/datastore/neo4j/dialect/impl/DiscriminatorAwareKeyMetadata.java
Log Message:
-----------
OGM-1221 Add class to keep track of the discriminator with the key metadata
Commit: 4944133f21e119455d72f8270b628a1eaa5b7d73
https://github.com/hibernate/hibernate-ogm/commit/4944133f21e119455d72f82...
Author: Davide D'Alto <davide(a)hibernate.org>
Date: 2017-01-11 (Wed, 11 Jan 2017)
Changed paths:
M neo4j/src/main/java/org/hibernate/ogm/datastore/neo4j/BaseNeo4jDialect.java
M neo4j/src/main/java/org/hibernate/ogm/datastore/neo4j/BoltNeo4jDialect.java
M neo4j/src/main/java/org/hibernate/ogm/datastore/neo4j/EmbeddedNeo4jDialect.java
M neo4j/src/main/java/org/hibernate/ogm/datastore/neo4j/HttpNeo4jDialect.java
Log Message:
-----------
OGM-1221 Fix problem with single table per class strategy with remote dialects
Remote dialects create queries at start-up and use the entity key metadata as key of
a map to find the right set of queries for an entity.
Problem is that when we deal with single table per class inheritance the entity key metadata is
the same for all the entities in the hierarchy. This was causing an error, because the queries
created for an entity were replaced with the queries generated for another one.
The code has also been refactored because it was starting to get too complicated to copy and
paste fixes around the 3 different dialects.
Note that the problem occured only with remote dialects because the embedded one execute some
operations with the programmatic API.
Commit: 39431a83ade5a417f26c890e5fe9c1fa7196c926
https://github.com/hibernate/hibernate-ogm/commit/39431a83ade5a417f26c890...
Author: Davide D'Alto <davide(a)hibernate.org>
Date: 2017-01-11 (Wed, 11 Jan 2017)
Changed paths:
M neo4j/src/test/java/org/hibernate/ogm/datastore/neo4j/test/mapping/Neo4jJpaTestCase.java
M neo4j/src/test/java/org/hibernate/ogm/datastore/neo4j/test/mapping/UnidirectionalManyToManyTest.java
Log Message:
-----------
OGM-1221 Move utility method to Neo4jJpaTestCase
Commit: b673f5887c89dadf897653c17d99315314fd5684
https://github.com/hibernate/hibernate-ogm/commit/b673f5887c89dadf897653c...
Author: Davide D'Alto <davide(a)hibernate.org>
Date: 2017-01-11 (Wed, 11 Jan 2017)
Changed paths:
M infinispan-remote/src/test/resources/hotrod-server-singleton.xml
Log Message:
-----------
OGM-1221 Infinispan Remote additional cache definition for tests
Commit: c1f7440573a5e7b8487034a0a969d003add43dd7
https://github.com/hibernate/hibernate-ogm/commit/c1f7440573a5e7b8487034a...
Author: Davide D'Alto <davide(a)hibernate.org>
Date: 2017-01-11 (Wed, 11 Jan 2017)
Changed paths:
A core/src/test/java/org/hibernate/ogm/backendtck/inheritance/singletable/family/Child.java
A core/src/test/java/org/hibernate/ogm/backendtck/inheritance/singletable/family/Man.java
A core/src/test/java/org/hibernate/ogm/backendtck/inheritance/singletable/family/Person.java
A core/src/test/java/org/hibernate/ogm/backendtck/inheritance/singletable/family/SingleTablenheritancePersistTest.java
A core/src/test/java/org/hibernate/ogm/backendtck/inheritance/singletable/family/Woman.java
A core/src/test/java/org/hibernate/ogm/backendtck/inheritance/tableperclass/family/Child.java
A core/src/test/java/org/hibernate/ogm/backendtck/inheritance/tableperclass/family/Man.java
A core/src/test/java/org/hibernate/ogm/backendtck/inheritance/tableperclass/family/Person.java
A core/src/test/java/org/hibernate/ogm/backendtck/inheritance/tableperclass/family/TablePerClassInheritancePersistTest.java
A core/src/test/java/org/hibernate/ogm/backendtck/inheritance/tableperclass/family/Woman.java
A neo4j/src/test/java/org/hibernate/ogm/datastore/neo4j/test/mapping/SingleTableInheritancePersistTest.java
A neo4j/src/test/java/org/hibernate/ogm/datastore/neo4j/test/mapping/TablePerClassInheritancePersistTest.java
Log Message:
-----------
OGM-1221 Tests cases for Single table and table per class strategies
Test a hierarchy with a *-to-one association using both supported strategies.
Compare: https://github.com/hibernate/hibernate-ogm/compare/065d687db466...c1f7440...
7 years, 10 months
[hibernate/hibernate-validator] adf583: HV-1202 Use Instant for Date and Calendar validati...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-validator
Commit: adf5837ef23d8d8ae0394535c594bd7c45932b85
https://github.com/hibernate/hibernate-validator/commit/adf5837ef23d8d8ae...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2017-01-11 (Wed, 11 Jan 2017)
Changed paths:
A engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/AbstractInstantBasedTimeValidator.java
A engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/AbstractFutureInstantBasedValidator.java
M engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForCalendar.java
M engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/future/FutureValidatorForDate.java
A engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/AbstractPastInstantBasedValidator.java
M engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForCalendar.java
M engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/bv/time/past/PastValidatorForDate.java
Log Message:
-----------
HV-1202 Use Instant for Date and Calendar validation
7 years, 10 months
[hibernate/hibernate-orm] 92b0fd: HHH-10332 - Disambiguate missing table name
by GitHub
Branch: refs/heads/5.1
Home: https://github.com/hibernate/hibernate-orm
Commit: 92b0fd646869cdcf1e49dc4e87574eb5070c2796
https://github.com/hibernate/hibernate-orm/commit/92b0fd646869cdcf1e49dc4...
Author: Dominique Toupin <dtoupin(a)360-innovations.com>
Date: 2017-01-10 (Tue, 10 Jan 2017)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaValidatorImpl.java
A hibernate-core/src/test/java/org/hibernate/test/tool/schema/SchemaValidatorImplTest.java
Log Message:
-----------
HHH-10332 - Disambiguate missing table name
(cherry picked from commit 15c83ab61b6ffaf5f36f41f8a039eba4766a1041)
Commit: a49ee4308909ea3fd73fa1778daa73b9cdb7e973
https://github.com/hibernate/hibernate-orm/commit/a49ee4308909ea3fd73fa17...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2017-01-10 (Tue, 10 Jan 2017)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/tool/schema/SchemaValidatorImplTest.java
Log Message:
-----------
HHH-10332 : Change SchemaValidatorImplTest to use DdlTransactionIsolatorTestingImpl
Commit: f697d26161ff504eee0efa4558ec3218b17cd047
https://github.com/hibernate/hibernate-orm/commit/f697d26161ff504eee0efa4...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2017-01-11 (Wed, 11 Jan 2017)
Changed paths:
M documentation/src/main/asciidoc/userguide/appendices/Configurations.adoc
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
M hibernate-core/src/main/java/org/hibernate/mapping/Index.java
A hibernate-core/src/main/java/org/hibernate/tool/schema/JdbcMetadaAccessStrategy.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/DatabaseInformationImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/InformationExtractorJdbcDatabaseMetaDataImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/TableInformationImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/spi/DatabaseInformation.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/spi/InformationExtractor.java
A hibernate-core/src/main/java/org/hibernate/tool/schema/extract/spi/NameSpaceTablesInformation.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/spi/TableInformation.java
A hibernate-core/src/main/java/org/hibernate/tool/schema/internal/AbstractSchemaMigrator.java
A hibernate-core/src/main/java/org/hibernate/tool/schema/internal/AbstractSchemaValidator.java
A hibernate-core/src/main/java/org/hibernate/tool/schema/internal/GroupedSchemaMigratorImpl.java
A hibernate-core/src/main/java/org/hibernate/tool/schema/internal/GroupedSchemaValidatorImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/Helper.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/HibernateSchemaManagementTool.java
A hibernate-core/src/main/java/org/hibernate/tool/schema/internal/IndividuallySchemaMigratorImpl.java
A hibernate-core/src/main/java/org/hibernate/tool/schema/internal/IndividuallySchemaValidatorImpl.java
R hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaMigratorImpl.java
R hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaValidatorImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardIndexExporter.java
R hibernate-core/src/main/java/org/hibernate/tool/schema/internal/exec/ImprovedDatabaseInformationImpl.java
M hibernate-core/src/test/java/org/hibernate/test/schematools/TestExtraPhysicalTableTypes.java
A hibernate-core/src/test/java/org/hibernate/test/schemaupdate/ColumnNamesTest.java
A hibernate-core/src/test/java/org/hibernate/test/schemaupdate/SchemaUpdateTest.java
M hibernate-core/src/test/java/org/hibernate/test/schemaupdate/foreignkeys/crossschema/CrossSchemaForeignKeyGenerationTest.java
M hibernate-core/src/test/java/org/hibernate/test/schemavalidation/LongVarcharValidationTest.java
M hibernate-core/src/test/java/org/hibernate/test/schemavalidation/SynonymValidationTest.java
A hibernate-core/src/test/java/org/hibernate/test/tool/schema/GroupedSchemaValidatorImplTest.java
A hibernate-core/src/test/java/org/hibernate/test/tool/schema/IndividuallySchemaValidatorImplTest.java
R hibernate-core/src/test/java/org/hibernate/test/tool/schema/SchemaValidatorImplTest.java
Log Message:
-----------
HHH-11023 - Startup performance regression : schema update/validate
(cherry picked from commit de3153a8e119669dbd61fdc91bbb987356a8279f)
Conflicts:
hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
hibernate-core/src/main/java/org/hibernate/tool/schema/internal/Helper.java
hibernate-core/src/test/java/org/hibernate/test/tool/schema/IndividuallySchemaValidatorImplTest.java
Commit: 608ab56c6d1e9f9f016cf1f19d23bfbe00d8d3c0
https://github.com/hibernate/hibernate-orm/commit/608ab56c6d1e9f9f016cf1f...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2017-01-11 (Wed, 11 Jan 2017)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/InformationExtractorJdbcDatabaseMetaDataImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/TableInformationImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/spi/NameSpaceTablesInformation.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/AbstractSchemaMigrator.java
M hibernate-core/src/test/java/org/hibernate/test/schemaupdate/ColumnNamesTest.java
M hibernate-core/src/test/java/org/hibernate/test/schemaupdate/SchemaUpdateTest.java
M hibernate-core/src/test/java/org/hibernate/test/schemavalidation/LongVarcharValidationTest.java
M hibernate-core/src/test/java/org/hibernate/test/schemavalidation/SynonymValidationTest.java
Log Message:
-----------
HHH-11023 : Miscellaneous fixes required to backport
Commit: d37f7e3bb40062f3d233b31e1929d6097259d184
https://github.com/hibernate/hibernate-orm/commit/d37f7e3bb40062f3d233b31...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2017-01-11 (Wed, 11 Jan 2017)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/InformationExtractorJdbcDatabaseMetaDataImpl.java
Log Message:
-----------
HHH-11177 - Duplicate queries during startup
(cherry picked from commit 3e5025ac1099e3def46cb2a177c2f96bd8d71c08)
Compare: https://github.com/hibernate/hibernate-orm/compare/824bbca67720...d37f7e3...
7 years, 10 months