Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] programmatic customization of mapping meta-data at runtime

Hello eclipse users!

I have a framework that makes massive use of aspect-oriented programming and code generation. This includes a significant amount of additional fields being created in various classes (of a project using the framework, not in the framework itself) by a java agent at class loading time. These fields are primarily generated for internal framework purposes and are thus invisible to a framework user.

Most of these fields are references to non-serializable resp. custom types and must be handled in a non-standard fashion for persistence.

Now here is the question: Is there a way to hook into the meta-data processing occurring during predeployment? More precisely, i would like to access and modify the persistence meta-data of entities before processor.processORMMetadata() is invoked in the processORMetadata of the PersistenceUnitProcessor class.

Thank you and regards,
Olaf



Back to the top