domain name = Book4Store จะได้
table name = BOOK_4STORE
ซึ่ง grails จะ bind table นั้นกลับไม่ได้ วิธีแก้คือ
ไปตั้งชื่อ table ให้ domain นั้น
static mapping = {
table 'book_store'
}**ทดสอบเฉพาะใน oracle นะครับ
static mapping = {
table 'book_store'
}
ไม่มีความคิดเห็น:
แสดงความคิดเห็น