Joe Biden got a harsh reality check Wednesday during the second night of Democratic primary debates in Detroit as he discovered that repeatedly evoking the name of former President Barack Obama—at least with respect to immigration—is not necessarily helpful.Biden\u0026#039;s perceived unwillingness to learn from the past is increasingly a line of attack for his fellow Democrats, who seem to smell blood, especially after Sen. Kamal Harris (D-Calif.)\u0026nbsp;broke the seal\u0026nbsp;on criticizing Obama-era immigration policies in the first primary debate.\u0026nbsp;The former vice president, who is running to face President Donald Trump in the 2020 general election, has found success in touting his connection to Obama\u0026#039;s administration in the past.\u0026nbsp;\u0026nbsp;But on Wednesday Biden could no longer hide behind the popular ex-president, as\u0026nbsp;\u0026nbsp;Biden found himself under attack from, among others, former\u0026nbsp;Secretary of Housing and Urban Development Julián\u0026nbsp;Castro, with whom Biden served under Obama.After a back and forth that began with protesters in the audience calling out \u0022three million deportations,\u0022 a reference to the record deportations under Obama, Biden replied to Castro\u0026#039;s critiques with an attack on what Biden implied was Castro\u0026#039;s unwillingness while in the administration to take a stand.\u00223 million deportations!\u0022: Protester yells about number of deportations under Obama as Biden takes immigration question #DemDebate2 https://t.co/czltk6le6Z pic.twitter.com/HvPFspUlQl— The Hill (@thehill) August 1, 2019\u0022We sat together in many cabinet meetings,”\u0022 said Biden \u0022I never heard him talk about any of this when he was secretary.\u0022As writer\u0026nbsp;Marisa Kabas remarked, this was \u0022a big mistake\u0022 because Castro was waiting for him and pounced.\u0026nbsp;\u0022One of us has learned the lessons of the past,\u0022 said Castro, \u0022and one of us hasn\u0026#039;t.\u0022Castro responds to Biden on immigration: \u0022One of us has learned the lessons of the past and one of us hasn\u0026#039;t. ... What we need are politicians that actually have some guts on this issue\u0022 #DemDebate https://t.co/YM1tQQyymq pic.twitter.com/Z6j8JDw7ZY— CNN Politics (@CNNPolitics) August 1, 2019Biden tried to evade the controversy by claiming he had helped to advise Obama on immigration, but demurred when asked specifics, claiming that it was private and part of his duty as vice president. That opened the door to a ringing attack from Sen. Cory Booker (D-N.J.).\u0026nbsp;\u0022Mr. Vice President, you can\u0026#039;t have it both ways,\u0022 said Booker. \u0022You invoke President Obama more than anybody in this campaign. You can\u0026#039;t do it when it’s convenient and then dodge it when it\u0026#039;s not.\u0022\u0026nbsp;Booker lands a body blow on Biden, points out how his invocations of Obama are conveniently selective pic.twitter.com/YbetXGdPn4— Aaron Rupar (@atrupar) August 1, 2019Boston-based activist Jonathan Cohn applauded Booker\u0026#039;s comments.\u0022Good on Booker for calling out how Biden wraps himself in Obama\u0026#039;s record when he wants to take credit for it but won\u0026#039;t own any of the bad parts,\u0022 said Cohn.