Entity instance static literal syntax removed
In version 8.0, Guidewire deprecated entity instance static literals using IDs. In 9.0, Guidewire no longer supports this syntax in any way. Use query builder APIs instead. Use the PolicyCenter upgrade tools to update all existing code in Studio to the new style automatically.
Entity instance static literals with IDs
look similar to object instantiation but do not use the new operator:
entityType(entityId)Replace these expressions with query builder expressions such as:
Query.make(Policy).compare(Policy#PublicID, Relop.Equals, myPublicId).select().AtMostOneRowSee also
