[Hibernate-JIRA] Created: (HSEARCH-1108) programmatic API doesn't work correctly for entities with @MappedSuperclass parent
by David Janca (JIRA)
programmatic API doesn't work correctly for entities with @MappedSuperclass parent
----------------------------------------------------------------------------------
Key: HSEARCH-1108
URL: https://hibernate.onjira.com/browse/HSEARCH-1108
Project: Hibernate Search
Issue Type: Bug
Components: mapping
Affects Versions: 4.1.0.Final, 4.0.0.Final
Environment: HibernateCore 4.1.2, HSearch 4.1.0, Glassfish3 (JPA) or even as a standalone java app
Reporter: David Janca
The hibernate search configuration specified by programmatic API (SearchMapping class) is ignored for entities that have @MappedSuperclass parent.
All fields that are declared in a @MappedSuperclass parent are not recognized by programmatic config and ignored (when configured like this: mapping.property("property", ElementType.FIELD)).
We've already found a workaround for this problem - to overwrite getter method in @Entity class (just calling super.getter) and configure it like following: mapping.property("property", ElementType.METHOD). But I think that's not the real solution.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[Hibernate-JIRA] Created: (HHH-7059) The DerbyDialect deprecation warning should appear no more, when using one of the version-specific dialects
by Guenther Demetz (JIRA)
The DerbyDialect deprecation warning should appear no more, when using one of the version-specific dialects
------------------------------------------------------------------------------------------------------------
Key: HHH-7059
URL: https://hibernate.onjira.com/browse/HHH-7059
Project: Hibernate ORM
Issue Type: Improvement
Components: core
Affects Versions: 4.1.0, 4.0.1
Reporter: Guenther Demetz
Priority: Minor
Althoug setting a version=specific derby dialect
config.setProperty("hibernate.dialect","org.hibernate.dialect.DerbyTenSevenDialect");
following warning log appears:
@LogMessage(level = WARN)
@Message(value = "The DerbyDialect dialect has been deprecated; use one of the version-specific dialects instead",
id = 430)
This is because currently all versioned DerbyDialects are extending from deprecated super class DerbyDialect
and the constructor of the super class does produce this warning logging regardsless of which concrete type the dialect is.
public DerbyDialect() {
super();
LOG.deprecatedDerbyDialect();
...
}
Please see also:
https://forum.hibernate.org/viewtopic.php?t=1014416
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[Hibernate-JIRA] Created: (HHH-7134) Detection of wrong circularity when two tables with same name in different schemas
by Didier Villevalois (JIRA)
Detection of wrong circularity when two tables with same name in different schemas
----------------------------------------------------------------------------------
Key: HHH-7134
URL: https://hibernate.onjira.com/browse/HHH-7134
Project: Hibernate ORM
Issue Type: Bug
Components: core
Affects Versions: 4.1.0
Environment: Hibernate 4.1.0.Release, any database
Reporter: Didier Villevalois
Priority: Blocker
Attachments: 0001-Fix-FKSecondPass-processing-to-take-catalog-and-sche.patch, jpa-test-fkcircularity.zip
There is a problem when two related (in terms of joins) classes have the same name in different schemas.
Attached is a test maven project (run "mvn package" to run the tests) and a fix patch for hibernate-core (based on bc643ddb7cc28db05a7168673746dbf3edee6cf7).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months