Java Push Into Array Javascript Length Method In Sql