Three years ago , all of the Democrats on the Senate Judiciary Committee opposed President Bush 's choice of Samuel A. Alito Jr. for the high court , even though he , like Sotomayor , had a long and solid record as a judge .