I tested hibernate examples. Finally succeeded.

Wasted a lot of time trying to connected to sqlite using database manager in eclipse and sql explorer with no result.

Abandon hsqldb cause the ui is ugly and I saw no table created. Weired.
There are several examples. One in src, others are in hibernate tutorial official.
Cool. :)
Writing hbm.xml
using inheritions
Successfully put ontologies into sqlitedatabase.
However the time work neither in intilization or @onUpdate/@onCreate ways.
I found the much better jpa annotation mechanism to manipulate database rather than the hbm.xml way. It is more flexible. Easier to change and write.