Problem using hibernate with Netbeans -
i using hibernate netbeans. it's first time. i'm following tutorial: http://netbeans.org/kb/docs/web/hibernate-webapp.html#01
all well, except when come part "creating hibernate mapping files , pojos ". problem no classes being generated. hibernate.reveng.xml seems short since contains this:
<?xml version="1.0" encoding="utf-8"?> <!doctype hibernate-reverse-engineering public "-//hibernate/hibernate reverse engineering dtd 3.0//en" "http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd"> <hibernate-reverse-engineering> <schema-selection match-catalog="sakila"/> <table-filter match-name="category"/> <table-filter match-name="film_category"/> <table-filter match-name="actor"/> <table-filter match-name="film_actor"/> <table-filter match-name="film"/> <table-filter match-name="language"/> </hibernate-reverse-engineering>
any ideas please? 10x lot! krt_malta
please check "hibernate.cfg.xml". think problem should contains entry
org.hibernate.hql.classic.classicquerytransactionfactory
see content have highlighted. should
org.hibernate.hql.classic.classicquerytranslatorfactory
it worked me.
please see if works you.
Comments
Post a Comment