[hibernate/hibernate-search] e3c173: HSEARCH-2531 Make configuration-based index name o...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: e3c173c33d93461d5437d90dbe47ecfe2ae3d22d
https://github.com/hibernate/hibernate-search/commit/e3c173c33d93461d5437...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-01-17 (Tue, 17 Jan 2017)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexManager.java
Log Message:
-----------
HSEARCH-2531 Make configuration-based index name override work with ElasticsearchIndexManager
We used to apply this override on the attribute returned by
getIndexName(), which is really not a good idea: Hibernate Search works
in such a way that it expects the index name returned by getIndexName()
to be the exact same that was passed to the initialize() method.
Because we did change the returned getIndexName(), we couldn't retrieve
the index manager anymore when indexing and indexing failed
consistently.
Possible solutions were:
* to align ElasticsearchIndexManager's behavior on that of
DirectoryBasedIndexManager, making getIndexName() return the exact
string that was passed to the initialize() method.
* to make the index name passed to the initialize() method already
account for the override. But that would be a breaking change to
existing IndexManager implementations.
* to make Hibernate Search ask newly created index managers for their
actual name after initializing them (by calling getActualName is
available or getIndexName otherwise). But that would be a breaking
change to clients of SearchIntegrator.getIndexManager.
I chose the first solution, which is more hackish, but safer in the
current context of a candidate release.
Commit: 1c885127934048c51b3dcdb891a5cfec7588b91a
https://github.com/hibernate/hibernate-search/commit/1c885127934048c51b3d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-01-17 (Tue, 17 Jan 2017)
Changed paths:
A engine/src/test/java/org/hibernate/search/test/configuration/IndexNameOverrideTest.java
Log Message:
-----------
HSEARCH-2531 Test the behavior of index managers regarding index name overrides
Compare: https://github.com/hibernate/hibernate-search/compare/5ee40728c306...1c88...
7 years, 10 months
[hibernate/hibernate-orm] c0d5fe: HHH-11236 - JPA hbm2ddl auto-generation creates dd...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: c0d5fe91532dd65960e2ae348fc1ebefa03549f4
https://github.com/hibernate/hibernate-orm/commit/c0d5fe91532dd65960e2ae3...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2017-01-17 (Tue, 17 Jan 2017)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/unique/DefaultUniqueDelegate.java
A hibernate-core/src/main/java/org/hibernate/dialect/unique/MySQLUniqueDelegate.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/uniqueconstraint/MySQLDropConstraintThrowsExceptionTest.java
A hibernate-core/src/test/java/org/hibernate/test/schemaupdate/uniqueconstraint/UniqueConstraintDropTest.java
M hibernate-core/src/test/java/org/hibernate/test/util/jdbc/PreparedStatementSpyConnectionProvider.java
Log Message:
-----------
HHH-11236 - JPA hbm2ddl auto-generation creates ddl with invalid syntax for Unique Key with any MySQLDialect
7 years, 10 months
[hibernate/hibernate-orm] 570bea: HHH-11394 Custom WildFly modules include a duplica...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 570beaf7fb23d2e70338d63a85380cc96afd7fd4
https://github.com/hibernate/hibernate-orm/commit/570beaf7fb23d2e70338d63...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2017-01-17 (Tue, 17 Jan 2017)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/jpa/test/cdi/BasicCdiTest.java
M hibernate-core/src/test/java/org/hibernate/jpa/test/cdi/extended/ConversationalPersistenceContextExtendedTest.java
M hibernate-core/src/test/java/org/hibernate/jpa/test/cdi/extended/ManualFlushConversationalPersistenceContextExtendedTest.java
M hibernate-core/src/test/java/org/hibernate/jpa/test/cdi/extended/NonConversationalPersistenceContextExtendedTest.java
M hibernate-core/src/test/java/org/hibernate/test/wf/ddl/bmt/emf/DdlInWildFlyUsingBmtAndEmfTest.java
M hibernate-core/src/test/java/org/hibernate/test/wf/ddl/cmt/emf/DdlInWildFlyUsingBmtAndEmfTest.java
A hibernate-core/src/test/resources/jboss-deployment-structure.xml
M hibernate-orm-modules/src/main/modules/org/hibernate/core/module.xml
M hibernate-orm-modules/src/main/modules/org/hibernate/jipijapa-hibernate5/module.xml
M hibernate-orm-modules/src/test/java/org/hibernate/wildfly/integrationtest/HibernateEnversOnWildflyTest.java
M hibernate-orm-modules/src/test/java/org/hibernate/wildfly/integrationtest/HibernateModulesOnWildflyTest.java
A hibernate-orm-modules/src/test/resources/jboss-deployment-structure.xml
Log Message:
-----------
HHH-11394 Custom WildFly modules include a duplicate dependency on Javassist
7 years, 10 months