In hibernate we use class names generally in select and update queries.My question is it possible to direct give table name (if user wants in some scenario).For example :- in below queries i have table name as ContentModification.
select from ContentModification as cm where cm.XWC_NAME=:spaceName
update ContentModification set lastname="miles"
Another question can we use query object in hibernate to insert the data(like insert into ..). Every where i just see the examples of update ans select.
Create native query
But why bother with hibernate in the first place then ?