Both hepatitis A vaccines provide long-term protection against hepatitis A.
For more information, see Hepatitis A Advisory Committee on Immunization Practices Vaccine Recommendations and Centers for Disease Control and Prevention (CDC): Hepatitis A Vaccination.