Database, Grails

How to Map database table without id with grails domain

Recently I got a query regarding mapping a database table which do not have any id and version. For example the table have two varchar fields username and password nothing more than that. Although it was something strange for me that table doesn't have the id field. The good thing is that the username is a primary key in the table and...

by Uday Pratap Singh
Tag: map without id table
07-Sep-2010