12
Mengapa saya mendapatkan pesan galat “Nilai kosong ditugaskan ke properti penyetel tipe primitif” saat menggunakan HibernateCriteriaBuilder di Grails
Saya mendapatkan kesalahan berikut saat menggunakan atribut primitif di objek domain grails saya: Null value was assigned to a property of primitive type setter of MyDomain.myAttribute org.hibernate.PropertyAccessException: Null value was assigned to a property of primitive type setter of MyDomain.myAttribute at grails.orm.HibernateCriteriaBuilder.invokeMethod(HibernateCriteriaBuilder.java:1077)