Hi Pierre,
you could try writing each statement on a separate line:
RestoreQuery query = manager.getRestoreQuery();
query.joinInner("Publication", Select.ON, "publicationId =
Publication.id");
query.joinInner("Articletype", Select.ON, "articletypeId =
Articletype.id");
query.joinInner("Author", Select.ON, "authorId = Author.id");
query.where("scheduledate", ">=", current_week_firstday);
manager.restore(query, new DbRowProcessor() { ...
In fact the code which generates the exception is
.joinInner("Publication", Select.ON, "publicationId =
Publication.id")
.joinInner("Articletype", Select.ON, "articletypeId =
Articletype.id")
.joinInner("Author", Select.ON, "authorId = Author.id")
.where("scheduledate", ">=", current_week_firstday)
.orderBy("scheduledate")
for the manager.getRestoreQuery()
So... what a pity not be able to use AspectJ with rife-crud! Only
atm I hope.
--
Geert Bevin Uwyn bvba
"Use what you need" Avenue de Scailmont 34
http://www.uwyn.com 7170 Manage, Belgium
gbevin[remove] at uwyn dot com Tel +32 64 84 80 03
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users