-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Object-Array durchsuchen
PostPosted: Thu May 27, 2010 3:18 pm 
Newbie

Joined: Thu May 27, 2010 3:11 pm
Posts: 2
Hallo Leute,

ich hab schon ein Weilchen gesucht, aber nichts gefunden.

Es geht um die Klasse Message:

private var _body:String;
private var _date:Date;
[ArrayElementType("com.marqueecorp.flexagroup.File")]
private var _files:Array;
private var _head:String;
private var _id:int;
[ArrayElementType("com.marqueecorp.flexagroup.User")]
private var _receivers:Array;
private var _sender:User;

Ich will jetzt nur die Messages auswählen die im Array receivers einen bestimmten User enthalten.

User:
private var _activated:Boolean;
private var _id:int;
public var mailAddress:String;
public var name:String;
private var _password:String;

Wie kann ich das mit Hilfe von Criteria erreichen?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.