I'm pretty certain the gun that JD uses throughout the film is not a Luger, but a revolver of some kind. Maybe a Colt Python or Diamondback?
The Beretta is a 950 Jetfire, judging by the trigger guard.