Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

help with JPA console

$
0
0

Hello,

 

Just testing this phenomenal IDE for Java development with a EJB session Bean that is using Hibernate JPA with orm.xml entity definition. I configured the datasource and persistence.xml and I tried to open a JPA console. After trying to do a simple SELECT h FROM Subsidiary h I am getting  an exception that I cannot fix:

 

java.lang.RuntimeException: org.hibernate.hql.internal.ast.QuerySyntaxException: Subsidiary is not mapped [SELECT h from Subsidiary h]

 

I have this well definied in my orm.xml because idea is not displaying red colors in pojo definitions or atributes.

 

I attached a problem screenshot.

 

thanks,


Cristian


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>