public void delete(Class<?> beanType, Collection<?> ids);
instead
Hello All,I'd like to report my finding when trying to delete a single record through calling Ebean.delete(Class<?> beanType, Collection<?> ids). The ids parameter contains an id refers to an existing record (e.g. ids = { 7 }) and the id's type is Long. When my app invokes the method using this parameter, a NumberFormatException is thrown and the delete operation fail.Below is the snippet of the model:@Entity@Table(name="employee")public class Employee implements Serializable {@Column(name="id")@Idpublic Long id;@NotEmpty@Column(name="first_name")public String firstName;@Column(name="last_name")public String lastName;}And below is the code snippet of the repository class that exposes the delete method:public class EmployeeRepository {public int Delete(Long[ ] ids){return Ebean.delete(Employee.class, ids);}// Other methods...}And the exception's message when the Repository's Delete method is invoked and takes 1 id on its parameter (e.g. ids = { 7 }):java.lang.NumberFormatException: For input string: "[Ljava.lang.Long;@5d63c3f0"Exception does not happen when i use other Ebean's method to delete the record ( delete(Class<?> beanType, Object id) ) and the delete operation is success. Could you suggest me how to delete multiple records through calling a single delete method on Ebean when the record id's data type is Long ? Many thanks in advance.Cheers.