문제

Could someone please guide me on how to use soundex in jOOQ. I tried looking into jOOQ documentation but it is not clear. Please provide an example if possible.

도움이 되었습니까?

해결책

I suspect this is about the SQL Server SOUNDEX() function? There's currently no native support for this function in jOOQ 3.2, although support is on the roadmap with #2969. As always with unsupported stuff in jOOQ, you can resort to plain SQL, creating a custom Field like this:

Field<String> fn = DSL.field("SOUNDEX({0})", String.class, argument);

See the DSL.field() Javadoc for details.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top