Jakob Braeuchi dijo:
> hi antonio,
>
> the queries provided by ojb require a class to be defined in the
> repository. you can use any class defined in the repository in the
> SQL-Query:
>
> QueryBySQL q = QueryFactory.newQuery(AnyClass.class,"select
> mySequence.nextval from dual");
> Iterator iter = broker.getReportQueryIteratorByQuery(q);

Problem I see is I have not any class, it is an independent sequence in
the database. Can I create a dummy class just to take it?

Best Regards,

Antonio Gallardo


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

Reply via email to