class MarriageRegnRepository {

	public String generateApplicationNumber() {
		String applicationnumber = jdbcTemplate
				.queryForObject("SELECT nextval('seq_egmr_marriageregn_application_number')", String.class);

		System.out.println("applicationnumber-------------------->" + applicationnumber);
		return applicationnumber;
	}

}