Hello all,
as soon as I edit objects on a new page, add an XWiki.ConfigurableClass object with dumb information, I get an SQL warning:
SqlExceptionHelper - SQL Warning Code: -1100, SQLState: 02000
SqlExceptionHelper - no data
The two lines mean the same.
The content seems to be saved (which is the important thing) but… should I worry about this exception? Should I debug how this is happening?
If you are using hsqldb this warning generally come from the way Hibernate update lists: it first deleted all elements associated to this list and then add the new ones. Problem is that it seems HSQLDB does not like delete SQL query which do nothing (when the list was empty), other databases connectors don’t complain about that.
Ok. Great.
So there’s nothing for me as an app developer to worry about.
Maybe the SqlExceptionHelper could catch and silence this? This sounds a bit crazy… I agree.