As @Andrei Nicusan stated you cannot us LIKE operator on an int.
You can cast the value to string and use in the where clause :
Use a native query and use MySQL cast function.
Use your JPA provider for extension function, if your using Hibernate you can use also use CAST (type as string). See here.