I have a problem when inserting an object to a datase table: it writes me to the console, about jdbc exception, syntax error and bad sql grammer .
Altought, it saves the object to the database (when I use db vizualizer), but throws this error, so my program cannot continue.

I can't isolate the problem, because these are so general warnings...

I can read the object, but cannot insert it. Is it than possible, that I have a ba mapping file?

I use Spring HibernateDaoSupport. I call getHibernateTemplate().save(Object o). My object implements serializable. My object is an inherited class, so I added the inherited attributes also to the mapping file.
Saving worked on a simple object, with 3 attributes. I use Hib.2.3.1

Sorry, I cannot include xml file nor the source (I cannot access them from home). Altought If you have any ideas, what does those mysterious bad grammer warnings mean, pleas help me.