hi, i would like to ask how hinerate to detect duplication of data ?
for example, i use the following to save
due to using <generator class="increment"/> in mapping file, it does save the records by increment the id, in my case, only id column is unique but other column in db with have same, of course this cause by the way i set the data into object,
but let say i make my program save the data in dynamic way which means the data based on user actions, but how we make sure the data is not duplicate in database? so that when we query database, it won't give many records with same data ..is there anyway to control this ? [ October 28, 2005: Message edited by: Nakata kokuyo ]