Create a virtual service for a specific entity. Basically a new service layer that inherits from the BaseORMService object but no need to pass in entity names, they are bound to the entity name passed here.
Returns
This function returns VirtualEntityService
Arguments
Examples
userService =ormService.createService("User");userService =ormService.createService("User",true);userService =ormService.createService("User",true,"MyFunkyUserCache");// Remember you can use virtual entity services by autowiring them in via our DSLcomponent{ property name="userService" inject="entityService:User"; property name="postService" inject="entityService:Post"; }