beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Grealish" <>
Subject RE: Hibernate Control 1.0-alpha-2
Date Wed, 21 Dec 2005 21:23:00 GMT
I am having trouble getting the Hibernate control to work on weblogic? 

I previously had this all working on Tomcat with an early beehive beta,
it is a much better solution that the database controls examples on the
website for numerous reasons...

I am now trying to update with the latest beehive release and the
Hibernate control has stop working.

I have attached the exception I get in the browser to this email in the
log file

Here's my control code.

Any help appreciated

public class TestOwnersSessionImpl implements TestOwnersSession,
Serializable {
	private static final long serialVersionUID = 1L;
ControlBeanContext context;
    @org.apache.beehive.controls.api.context.Context ResourceContext
    @Control HibernateControl hibernate;

    public List getAllTestOwners() throws HibernateException {
    	Session session = hibernate.getSession();
    	List testOwners = session.find("from TestOwner");
    	return testOwners;

-----Original Message-----
From: Dan Diephouse [] 
Sent: Tuesday, January 04, 2005 12:42 PM
Subject: Hibernate Control 1.0-alpha-2

The 1.0-alpha-2 version of the Hibernate control is out. The release can

be download here:

Features in this release:
* The Hibernate control provides tight integration between Beehive and 
Hibernate allowing Hibernate to be accessed declaratively as a control
* Managed sessions
* Managed transactions
* A JUnit TestCase to help test your Hibernate applications

For more information please see the tutorial:


- Dan

Dan Diephouse
Envoi Solutions LLC

View raw message