This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, I have a 'Select Procedure' specified for a one-to-many relation. Select Procedure is being called for loading collection as long 'Eager Load Collection' is NOT set to TRUE. If it is set to true, then it does not use the select procedure. This seems like a bug. Any suggestions? Your help would be greatly appreciated. Thanks! |
|
|
No this is intended. Unfortunately eager loading is not supported when using CRUD procedures, internally this will fall back on using the access mode prescribed for the entity. You will need to explicitly lazily load when using the SelectProcedure option. "CRUD procedures prevent you from using many aspects of LightSpeed. For example, you cannot use ad hoc queries or eager loading with entities that are loaded through CRUD procedures. You will need to create and invoke specific stored procedures for any queries you want to use."
|
|