E.g. MongoDBDialect and Neo4jDialect apparently use int to represent sequence values. I think we can safely change it into long.