cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bart Molenkamp" <b.molenk...@bizzdesign.nl>
Subject JavaFlow class problem
Date Fri, 30 Jul 2004 10:02:31 GMT
Hello,

I've found a problem with JavaFlow. I use OJB in my flow class. When I
try to execute the following code:

QueryByCriteria query = new QueryByCriteria(Account.class, new
Criteria());

I get a black page returned (the flow code is not executed). But the
following code is correctly executed:

QueryByCriteria query = new
QueryByCriteria(Class.forName("com.bizzdesign.persistence.risks.Account"
), new Criteria());

The difference is obviously Account.class and Class.forName(...). What
could be the problem?

Bart.

Mime
View raw message