I believe you can do that too, I think its called Dynamic??? rather than being part of JBossQL.
david jencks On 2002.06.21 13:09:49 -0400 Jason Owens wrote: > As a matter of fact, I did. However - I need to dynamically create > queries > for a filtering/reporting feature, and JBossQL doesn't do that (unless I > missed something). > -Jason > > > Before migrating to BMP, did you check JBoss CMP docs. Because JBoss > > comes with JBossQL which has additional functionality beyond EJB-QL. > > > > > > > > Jason Owens wrote: > > > >> Hello, > >> > >> To get a quick start on my project, I implemented all my entity beans > >> with CMP (and CMR). However, now that everything's working, I need to > >> port one of those beans to BMP (since EJB-QL is severely limiting). > >> > >> I'm just about through with that, however, when I attempt to deploy my > >> new bean, JBoss throws a DeploymentException from > >> JDBCRelationshipRoleMetaData saying my bean is not found! I've got 8 > >> beans related to this one, and if I have to port each of those as > >> well... > >> > >> My question: is it not possible to mix CMP and BMP beans while using > >> CMR? Do I have to rewrite ALL my $%^* beans with BMP just to do this > >> (there're 14 other beans, and I'm on a tight schedule...)? My BMP > >> simulates the exact behavior of the CMP... I didn't think there'd be a > >> problem. If I can't use CMR - what can I do (short of rewriting the > >> related beans)? The spec *seems* to indicate that CMR only works with > >> CMP. Well - why can't you use unidirectional relationships from the > >> CMP to a BMP? Seems like it should be possible... > >> If anyone can help, I'd appreciate it. Thanks. > >> > >> FYI - I'm using JBoss3.0, and JDK 1.4 > >> > >> The actual error message from JBoss is: > >> > >> org.jboss.deployment.DeploymentException: Entity: ScheduledEvent not > >> found for: org.jboss.metadata.RelationshipRoleMetaData@ea0105 > >> Thanks > >> -Jason > >> > >> ------------------------------------------------------- > >> Sponsored by: > >> ThinkGeek at http://www.ThinkGeek.com/ > >> _______________________________________________ > >> JBoss-user mailing list > >> [EMAIL PROTECTED] > >> https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > -- > > Greg Turner > > > > Tiburon Enterprise Systems > > http://www.tiburon-e-systems.com > > Box 1171 > > Tiburon, CA 94920 > > 415-332-3363 > > > > > > > > > > ------------------------------------------------------- > > Sponsored by: > > ThinkGeek at http://www.ThinkGeek.com/ > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > ------------------------------------------------------- > Sponsored by: > ThinkGeek at http://www.ThinkGeek.com/ > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
