Skip to content

Instantly share code, notes, and snippets.

@hodlbirb
Created February 29, 2016 09:16
Show Gist options
  • Save hodlbirb/da5e1ea364c5bcd26caa to your computer and use it in GitHub Desktop.
Save hodlbirb/da5e1ea364c5bcd26caa to your computer and use it in GitHub Desktop.
Exception in thread "main" java.lang.IllegalArgumentException: Unknown entity: Main.Main$1
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1149)
at Main.Main.main(Main.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment