Marc Lustig wrote: > > > -----Ursprungliche Nachricht----- > > Von: [EMAIL PROTECTED] [mailto:ambika@;iitk.ac.in]Im Auftrag von apdas > > Gesendet: Mittwoch, 30. Oktober 2002 22:39 > > An: Turbine User > > Betreff: Problem with peers > > Thanks Marc for the tips. But my problem is that the TurbineGroupPeer class is not there in my Turbine distribution. Where from will I get it ? I am using TDK-2.1
Regards, A.P.Das. > > I would do that using the Peer directly: > Criteria c = new Criteria(); > c.add(TurbineGroupPeer.GROUP_NAME,"thegroupname"); > NumberKey key = TurbineGroupPeer.doSelect(c).get(0).getGroupId(); > > then you can parse an int or whatever from the NumberKey. > > Good luck! > Marc > > -- > To unsubscribe, e-mail: <mailto:turbine-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: <mailto:turbine-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:turbine-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:turbine-user-help@;jakarta.apache.org>
