Hi,
I have a column in a table where the key is provided by a third party. This key is guarenteed to be unique and I tend to get a lot of rows to upload in one go (many thousands).
If I create the new object to be persistent, and then try to save it, then hibernate will automatically try to select the object out of the database to decide whether or not to update or save it.
Is there a way that I can specify that an object is new when saving, in order to prevent that select?
Thanks for the help,
George
|