I have an Oracle database where I have to use sequences for the primary key. All this works well, as I control the serial number. My problem is with my trials. Using Spring, I create an HSQL database and validate it. This database is built by viewing all of my objects. All of my entities, for the sake of working with Oracle, have the specified sequence name. The problem is that when I build DBQL db, it cannot find the sequence (which I expect) My tests pass, but in the end I get a lot of errors in the log. The journal is filled with such messages.
WARN JDBCExceptionReporter:233 - SQL Error: -5501, SQLState: 42501 ERROR JDBCExceptionReporter:234 - user lacks privilege or object not found: GENDERS_SEQ
Does anyone know how I can remove these false errors? Can I make HSQL ignore sequences. Interestingly, in tests I can embed HSQL into the database, so it must use its own internal primary key generator.
Are there any ideas on how I can remove this crack from the log?
thanks
Rnj
source share