@ Deprecated public int getEntityTypeId ( @ NotNull final String entityType , final boolean allowCreate ) { return getEntityTypeId ( txnProvider , entityType , allowCreate ) ; }
Gets or creates id of the entity type .