For H2 the DSL#week() function should be mapped to the ISO_WEEK() function as EXTRACT(WEEK FROM ...) is equivalent to the WEEK() function.