Is it possible to retrieve the next auto-incremented ID before entity creation?

Thanks, I think I’ll do it like that then