String like=searchJTextField1.getText();
query=entityManager.createQuery("SELECT c FROM content c WHERE c.artist LIKE \"%" + like + "%\"");
query.setParameter(like, searchJTextField1.getText());
is there someone that could tell me if this code is right?
thanks
-Steve