Try this (for MYSQL):
More https://www.netxms.org/forum/oe-oo/reporting-server-2-1-oema-etatam-aam/
Code Select
CREATE TABLE `hibernate_sequence` (
`next_val` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY(`next_val`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `hibernate_sequence` VALUES (1);
More https://www.netxms.org/forum/oe-oo/reporting-server-2-1-oema-etatam-aam/