YOUR HIBERNATE NATIVE QUERY EXAMPLE SUCKS!!!!,
March 10, 2009 at 7:03 AM
This sucks!!! What native SQL QUERY are you talking about here? Using entities with their getters and setters? A true native SQL QUERY uses a "QUERY" and does not use any of those. Ex: createNATIVEQUERY (whatever the function for this)("Insert into [table] values(val1,val2)"); Your example defeats the purpose of what HIBERNATE designed NATIVE SQL QUERY for: which is to mimic as much as possible the way SQL was written in the past.
View All Comments
| View Tutorial