Validating objects that need to be dependency injected


#1

We have objects that live inside an AMF layer and through the application layer code, we are attempting to validate names using custom annotations; however, we are not using any dependency injection tools (as everything needs to be custom) and currently wondering how to fetch a name attribute value from the other layer. Are there any Hibernate functionalities that allow this?


#3

I’m not sure I understand what you’re trying to do? Could you explain it a bit more and maybe add an example?