This code snippet is present in all our Hibernate files. Intellij happens to not like it and marks it red. Harmless until you try to run a unit test through the IDE and then it marks that as an error. Anyone face this before and if possible is there a workaround to that problem? Its really affecting me.
Thanks in advance.