|
I guess it is possible to query with a number of rows affected to be long if you have a primary key long. So I wonder if it would not be better to change to long as soon as possible. Not only org.hibernate.Query.executeUpdate() but some more code only handles a number of records of int. A few months ago I changed an application from primary keys int to long and have some surprising exceptions like this where I still have to use int... Or is this required for some kind of standard I am not aware of?
|