Intenal we have a annotation processor that generate some entities from other meta model. This is something like a mixed with concrete entities and generated entities
The problem is when I have a concrete entity hibernate generate the metamodel in a first phase of complile, So my processor generates our entities and hibernate processor is called again to generate metamodel for the generated entities and once it has the same context it tries to generated again the same entity from the first phase. Resulting in a error: "Problem with Filer: Attempt to recreate a file for type br.com.tecsinapse.portal.security.model.Importador_"
So, I've sent a pull request to keep the already generated classes inside the Context and check it from the Context.
|