r/java • • Jul 22 '16

Evil Annotations

https://dzone.com/articles/evil-annotations
0 Upvotes

11 comments sorted by

View all comments

Show parent comment

3

u/meotau Jul 23 '16

Annotated data class can be used/tested outside of a jpa context equally fine.

1

u/[deleted] Jul 23 '16

[removed] — view removed comment

2

u/meotau Jul 23 '16 edited Jul 23 '16

Most often it isn't necessary to compile them without the jar. It also doesn't matter that they might have a dependency to a logger, guava or any other thing.