| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi, I'm using IDEA 7.0.3 and have a project with a Hibernate Facets which has a correct cfg.xml file and a tested DataSouce pointed to its SessionFactory. Using Annotation to set up the entities mapping instead of mapping files, and then when I open the HQL console window and intend to do a hql query, there is only a "java.lang.NullPointerException" shown in the query result window without any query result. Is there something wrong with my configuration or a bug and any one has the same problem? Thanks all |
|
#2
| |||
| |||
| Hello jason, In the next minor release/EAP the error reporting will be improved, thanks to your report. Meanwhile if this problem bothers you often a small sample project to reproduce it would be a great help to fix it. Otherwise I can send you an updated hibernate plugin so that you'll be able to post a normal bug report with a good old stacktrace. Thank you, Gregory Shrago jason F wei wrote: > Hi, I'm using IDEA 7.0.3 and have a project with a Hibernate Facets > which has a correct cfg.xml file and a tested DataSouce pointed to > its SessionFactory. > > Using Annotation to set up the entities mapping instead of mapping > files, and then when I open the HQL console window and intend to do a > hql query, there is only a "java.lang.NullPointerException" shown in > the query result window without any query result. > > Is there something wrong with my configuration or a bug and any one > has the same problem? > > Thanks all |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.