are all U-locks the same?

If I want to lock my bike on a college campus, I want to make sure that it doesn't get stolen overnight.

So I want to get a U-lock. Are all U-locks the same? I think they should all do the job, considering none of them are made of plastic or anything. but if that is not so, then which ones should I avoid?