Anybody can tell what cause this error?
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:
Unknown column 'sequence_next_hi_value' in 'field list
I am connecting to a mysql database using hibernate. I was able to connect to the database and everything was working fine till I change the persistence.xml and added a datasource.
sequence_next_hi_valuewas not found. it maybe because of your joins, (hard to tell). can you post your query?sequence_next_hi_value