InterSystems Cache & Ensemble Error 6906 – %New() should NOT be called directly, use ‘Create…’ factor

In this blog post, let’s learn about the error message “6906 %New() should NOT be called directly, use ‘Create…’ factor” in InterSystems Cache & Ensemble and the description of the error message.

Error Message

6906 – %New() should NOT be called directly, use ‘Create…’ factor

Error Details

%New() should NOT be called directly, use ‘Create…’ factory methods