Hi,

Anyone encountered problem with using the query type: QueryBySQL?

I am doing something like
  QueryBySQL query1 = QueryFactory.newQuery(java.lang.Class, sql) ;
  Iterator itr = broker.getIteratorByQuery(query1);

however the while iterating through the resultset, the object returned by the iterator are all null.

I tried the same query with
 Collection clt = broker.getCollectionByQuery(query1);
but the size of the return collection is zero.

The resultset of the SQL is not empty. (I ran the SQL in MySQL).
Is it a bug, or do I need to set some properties?




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to