Convictions include more than just the simple jury conviction after trial.  For immigration purposes, conviction includes guilty plea, no lo contendre plea, etc.

It is of the utmost importance to discuss immigration consequences with your attorney before committing to anything in your criminal case.