質問

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