I see that hibernate\'s session.get() and load() methods is accepting only Serializable objects.
As per my understanding of hibernate, it will generate an SQL statem
I frankly don't see it any other way. If you are not the one defining table structure and generating insert statements to accommodate for objects, then the SQL statement generated is a string in itself and it would insert another string of text (your serialized data) into a field of a table. Whatever you insert into a database has to be a string in this case, it cannot be an object with language dependent methods, unless you explicitly design an table to store data like that.