Hello,
I faced similar problem, the trick to use following EJB QL:
select distinct count(p.key) from Post as p where
p.thread.forum.id=?1
notice count(p.key) - where key should be a property of CMP bean.
I'm not sure if such syntax is required by EJB spec or simply a bug in
geronimo/open-ejb
Hi,
I'm not expert for log4j, so cannot say what's wrong in your config,
but below configuration works for me -- put it in
/var/log/server-log4j.properties and change as appropriate.
Regards, Milan.
# create appender
log4j.appender.LAB=org.apache.log4j.RollingFileAppender
log4j.appender.LAB.t
e method is responsible for the existence of
the "required" transaction.
As I experienced there is a special point when using cmr: If you want to call a
method that looks for an entity with relations to other entities, you are
forced to set the "Required" attribute, even if you
ou are
forced to set the "Required" attribute, even if you only want to read the data
without changing them.
regards
Michael
-Ursprüngliche Nachricht-
Von: Unger, Milan [mailto:[EMAIL PROTECTED]
Gesendet: Samstag, 5. August 2006 12:36
An: user@geronimo.apache.org
Betreff: cont
Hallo,
I have problem to define transaction attributes per session bean methods in
geronimo 1.1.
I set the transaction attributes (Style 1) for all methods to "Supports" and
then set Style 2 attributes for some methods to "Required" (see below). Anyway,
when calling that methods, there is no