Hi guys,

At the moment, the SQL object store defaults to instantiating no more 
than 100 instances of any POJO (e.g. allInstances(Member.class) will 
only return up to 100 Members).

I have added the ablity to increase this maximum via the properties file 
(e.g. use: "isis.persistor.sql.maxinstances=1000").

What's the general rule here? 

Real world example: I want to generate an invoice for all NORMAL 
members for their dues this year. From a pure design point of view, I 
therefore want to use a pattern query to fetch all NORMAL members, 
then with each member, create an invoice. Neither the list of members 
nor the created invoices is ever presented to the UI.

As it stands right now, I need to increase the maxinstances value.

I don't really want to fire off a custom SQL query to create the invoice 
entries manually...

Regards,
Kevin

Reply via email to