title: Cannot declare List property in the JPA @Entity class. It says 'Basic' attribute type should not be a container
body: <p>I have a JPA <code>@Entity class Place</code>, with some properties holding some information about a place, such as name of place, description, and URLs of some images.</p>
  <p>For the URLs of images, I declare a <code>List&lt;Link&gt;</code> in my entity.</p>
  <p><img src="https://i.stack.imgur.com/BWkDD.png" alt="enter image description here" /></p>
  <p>However, I am getting this error:</p>
  <blockquote>
  <p><code>Basic attribute type should not be a container.</code></p>
  </blockquote>
  <p>I tried to remove <code>@Basic</code>, but the error message is still there. Why does it shows this error?</p>