Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss IDE and Hibernate Tools

 
Fritz Gaschler
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi !

i'm developing with seam and i'm using Eclipse ganymeed fo J2ee developement and added the jboss tools plugin to do my prgramming in the mentioned framework. im using jboss 4.2 and hsqldb 1.8.

i wrote entities with JPA and sesseionbeans blablaba everything is working fine but i want to use this hibernate tools plugin for making queries against the DB. Well this plugin doesnt work i worte the configuration file "hibernate.cfg.xml" :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory name="">
<property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="hibernate.connection.url">jdbc:hsqldb:.</property>
<property name="hibernate.connection.username">sa</property>
<property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
<mapping class="com.stereoscope.entity.User"/>
</session-factory>
</hibernate-configuration>

if i want to take look into the session factory, database etc in the hibernate view i either get a warnin telling me there is no annotationconfiguration or no jpaconfiguration available dependin where is set the tick in the configuration menu .


please help that drives me crazy !!! X-(

cheers
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic