[AlwaysEncrypted] Insert in join tables with @ManyToMany(cascade = { CascadeType.PERSIST, CascadeType.MERGE })

Description

Hi !

I have configured my app with mssql-jdbc driver and always encrypted turned on.
I have an entity with a @ManyToMany association as described :

I configured hibernate with

When I try to save my entity, insert is done in the join table but I get an error :

Do i have to fix length for every field because i use always encrypted ?

Environment

None

Activity

Show:
Nathan Xu
April 2, 2020, 10:05 AM

Seems this ticket was duplicated with

Assignee

Unassigned

Reporter

Romain Wilbert

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure