Intenal Internally we have a an annotation processor that generate generates some entities from other another meta model. This is something like a mixed mix with concrete entities and generated entities .
The problem is that when I have a concrete entity hibernate generate , the Hibernate Metamodel Generator generates the JPA metamodel in a first compilation phase of complile, So my . Our processor generates our entities and hibernate processor the Hibernate Metamodel Generator 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 , resulting in a error: " {noformat} Problem with Filer: Attempt to recreate a file for type br.com.tecsinapse.portal.security.model.Importador_ " {noformat}
So, I've sent a pull request to keep the already generated classes inside the Context and check it from the Context.
|