Jump to content
Changes to the Jaspersoft community edition download ×

noble24

Members
  • Posts

    5
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by noble24

  1. I created EJBQL connection data Adaptor. and added below jars to jasper studio classpath. 1. hibernate-entitymanager.jar 2. jar file containing entity classes and persistence.xml 3. other dependent jars. Below is the part of persistence.xml file content <persistence-unit name="test-ejb-entityPU" transaction-type="JTA"> <provider>org.hibernate.ejb.HibernatePersistence</provider> <jta-data-source>jdbc/testDS</jta-data-source> <properties> <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.WeblogicTransactionManagerLookup" /> <property name="hibernate.hbm2ddl.auto" value="none" /> <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect" /> </properties> </persistence-unit> When I click on test button in EJBQL connection data Adaptor window in Jasper Studio I get below Exception java.lang.ClassCastException: org.hibernate.ejb.HibernatePersistence cannot be cast to javax.persistence.spi.PersistenceProvider Let me know if any one has any idea on this exception.
  2. I solved the issue by my self. I used sub-report in place of Frame 2
  3. I am Using Jasper Reports Version 3.7.6. In my report in Detail Band I am having 6 Frames as shown in attached Image file. Except "Frame 2" the remaining Frames are of Static size. Only for Frame 2 the content is dynamic and it stretches its height as per content. One Problem I am facing is When "Frame 2" height is more then Frame 1 and Frame 3 it adds extra space space(which shown in attached image) below Frame 2 in generated Report. I want this Extra space to be ignored by jasper engine when "Frame 2" height is more then Frame 1 and Frame 3. Any sugeestions?
  4. I am using jasper reports 3.7.6 My requirement is to call a EJB method from jasper report (JRXML file) and the EJB method returns list and print this returned list in report. please let me the procedure.
  5. one way of adding jar files for Classpath in iReport is to add the jars as below:-Tools >> Options >> Classpath I want to add jars files to Classpath programatically. For EX:- I have written following batch script in Windows to start irepot. SETLOCAL call ".\bin\ireport_w.exe " ENDLOCALIn this script, I want to add the jars to iReport classpath. is there any way for this..??? Regards,Bhaskar
×
×
  • Create New...