Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jboss IDE and Hibernate Tools  RSS feed

Fritz Gaschler
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"
<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"/>

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-(

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!