title: Insert into multiple rows in mysql (or JPA)
body: <p>I want to insert something like</p>
  
  <pre><code>insert into person (person_name, person_city, person_contact) values ("nilesh", "pune", (1234567, 987654, 562917, 357181));
  </code></pre>
  
  <p>person_contact can be any in number.
  Its giving error "Operand should contain 1 column(s)" </p>
  
  <p>I have other way in ejb is - </p>
  
  <pre><code>for(Integer specializationId : specializationIds){
  
          Person person = new Person();
                  person.setPersonName(personName);
                  person.setPersonCity(personCIty);
                  person.setPersonContact(personContact);
                  em.persist(person);
  
              }
  </code></pre>
  
  <p>is there any other way to do this?</p>