Skip to content

Warning about build time generated proxy for entity OutboxEvent in Hibernate Search #37108

@yrodiere

Description

@yrodiere

Describe the bug

I get this warning when I start an application using Hibernate Search + outbox polling in production mode:

[app01] | 2023-11-15 14:29:47,943 WARN  [io.qua.hib.orm.run.pro.ProxyDefinitions] (main) Unable to find a build time generated proxy for entity org.hibernate.search.mapper.orm.coordination.outboxpolling.cluster.impl.Agent

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

Build and start integration-tests/hibernate-search-orm-elasticsearch-coordination-outbox-polling.

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

There are other warnings as well, but I expect those will be fixed in Hibernate Search 7.0:

[app01] | 2023-11-15 14:29:47,493 WARN  [org.hib.orm.deprecation] (main) HHH90000028: Support for `<hibernate-mappings/>` is deprecated [OTHER : hibernate-search]; migrate to orm.xml or mapping.xml, or enable `hibernate.transform_hbm_xml.enabled` for on the fly transformation
[app01] | 2023-11-15 14:29:47,506 WARN  [org.hib.orm.deprecation] (main) HHH90000028: Support for `<hibernate-mappings/>` is deprecated [OTHER : search]; migrate to orm.xml or mapping.xml, or enable `hibernate.transform_hbm_xml.enabled` for on the fly transformation
[app01] | 2023-11-15 14:29:47,942 WARN  [io.qua.hib.orm.run.pro.ProxyDefinitions] (main) Could not generate an enhanced proxy for entity 'org.hibernate.search.mapper.orm.coordination.outboxpolling.event.impl.OutboxEvent' (class='org.hibernate.search.mapper.orm.coordination.outboxpolling.event.impl.OutboxEvent') as it's final. Your application might perform better if we're allowed to extend it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions