Jump to content
JasperReports Library 7.0 is now available ×

Hibernate Datasource


2006 IR Open Dicussion

Recommended Posts

By: ben - bension

Hibernate Datasource

2006-06-22 01:00

Hi there,

 

I am attempting to set up a hibernate data source in iReport. Note that I am using annotations. I have added the appropriate jar files to the lib dir of iReport (ejb3-persistance.jar, hibernate-annotations.jar, + my application's jar files), but when I attempt to test the connection I get the following error:

 

An AnnoationConfiguration instance is required to use <mapping class="x.x.x.x.MyClass"/>

 

Anyone have an idea how to set up a hibernate datasource in iReport where the hibernate configuration uses annotations?

 

Setup info:

OS: Windows XP

JVM: 1.5

iReport: 1.2.2

hibernate: 3.2.0rc2

hibernate-annotations: 3.2.0rc1

DB: HyperSonic 1.8

 

thanks in advance,

Ben

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...