hi.
Mysql User Defined Function use encode/decode data.
class....
Code:
@ColumnTransformer(read = "CAST(unseal_text(sMemberId) AS CHAR CHARACTER SET UTF8)", write = "seal_text(CAST(? AS CHAR CHARACTER SET UTF8))")
private String memberId;
db charset euc-kr, but WAS charset UTF-8. I convert UTF-8.
@ColumnTransformer use query
Code:
CAST(unseal_text(order0_.sMemberId) AS order0_.CHAR order0_.CHARACTER order0_.SET order0_.UTF8) as column8_0_0_,
order0_.CHAR order0_.CHARACTER order0_.SET order0_.UTF8 <== I want not add alias
please help me.