cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <u....@cbim.it>
Subject Re: SomeClass.getClass() in flow
Date Wed, 10 Mar 2004 13:49:05 GMT
Leszek Gawron wrote:
> Is there possibility to get access to the getClass() method in flow ? I am
> trying to do some tests with Hibernate and this method is not accessible and
> while Hibernate makes a heavy use on reflection I have to wrap everything in
> some fa├žade (getUser( id ), getRole( id ) instead of simple session.load(
> User.class, id );
> 	lg

Just use:

	var user = session.load(User, id);


		Ugo



Mime
View raw message