From Annex I to Commission Regulation (EU) No 1178/2011:
FCL.740.A Revalidation of class and type ratings — aeroplanes
(a) [...]
(b) Revalidation of single-pilot single-engine class ratings.
(1) Single-engine piston aeroplane class ratings and TMG ratings. For revalidation of single-pilot single-engine piston aeroplane class ratings or TMG class ratings the applicant shall:
(i) within the 3 months preceding the expiry date of the rating, pass a proficiency check in the relevant class in accordance with Appendix 9 to this Part with an examiner; or
(ii) within the 12 months preceding the expiry date of the rating, complete 12 hours of flight time in the relevant class, including:
— 6 hours as PIC,
— 12 take-offs and 12 landings, and
— a training flight of at least 1 hour with a flight instructor (FI) or a class rating instructor (CRI). Applicants shall be exempted from this flight if they have passed a class or type rating proficiency check or skill test in any other class or type of aeroplane.
From AMC/GM to Part-FCL:
GM1 FCL.005 Scope
INTERPRETATIVE MATERIAL
(a) Whenever licences, ratings, approvals or certificates are mentioned in Part-FCL, these are meant to be valid licences, ratings, approvals or certificates issued in accordance with Part-FCL. In all other cases, these documents are specified.
(b) [...]
(c) [...]
You do not state which country issued your JAA licence. If it was the UK, the following taken from the CAA website may be of interest:
Crediting of flying hours to comply with the requirements for recency and revalidation by experience.
Some licensing privileges - notably the SEP rating - may be revalidated by flying experience in the appropriate class of aircraft. With the 2012 amendment the UK Air Navigation Order will render a Part-FCL licence as valid for non-EASA aircraft that are within the ratings on the licence (Annex II aircraft and non-military State aircraft). For compliance with the experience requirements for revalidation (and recency requirements) as applicable for any rating on a Part-FCL or UK national licence, the CAA will accept hours flown in any aircraft (EASA or non-EASA) of the applicable class.