Using java and netbeans to write a query
How does the (:) colon change this String?
String partial=("SELECT c FROM content c WHERE c.artist LIKE \"%" + like + "%\"");
String partial=("SELECT c FROM content c WHERE c.artist LIKE \"%" + :like + "%\"");