JRDatabase now checks type