title: Is there any performance concern if too many parameter in a constructor?
body: <p>I know it is not good design and I would rather use setter/getter if there is the choice. but I am writing a <code>JPA</code> entity and need this constructor for <code>JPQL</code> purpose, so in short I have to use constructors to initiate values for fields and embedded entities as well.</p>
  
  <p>So I have to make about <code>40</code> parameters in the entity's constructors and have to let JPA use the constructor pretty frequently. I have been search online and haven't found anything stating that over-sized parameter list in java constructor may cause performance issue, but may be I didn't do enough homework.</p>
  
  <p>So any advice is appreciated, performance is the only concern.
  thanks</p>