If I don't do anything, I get errors of the annotation driver.
I've read the upgrade doc, and know about the "use" statements to define the namespace of the annotations.

HOWEVER - I do not want to go over all my entities and add that to each annotation.

有帮助吗?

解决方案

use the SimpleAnnotationReader instead of the AnnotationReader.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top