Skip to content

spring-content without annotations on entities? #632

@stefan-ka

Description

@stefan-ka

Hi there

I'm evaluating whether I can use spring-content to store our entity-related blobs on a file system (we use Spring Data JPA to persist our entities).
As far as I can see, it seems to be the perfect fit; however, we do not use spring's annotations on our entities, as we want to keep them free from any external dependencies. Instead of using spring's annotations, we configure the entities in the META-INF/orm.xml file.
For that reason, we also don't want to add @ContentId and @ContentLength annotations to our entities.

Is there any way to use spring-content without annotations on the entities? Is it possible to configure it in a config file, similar to Spring Data JPA?

Thanks for your help!
Stefan

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions