dtuzikov
dtuzikov
Not completely fixed. ``` java @Embeddable public class UserDataPK implements Serializable { @Column(name = "user_key") private String userKey; @Column(name = "user_sys") private String userSys; //... constructor, getters, setters } @Entity...
The error comes with left and right quotation marks, quote between ab persists normally.
The problem is in appendValue() method of CQLTranslator. It removes first and last quotes from string values before escaping quote. ``` java //... if (fieldClazz.isAssignableFrom(String.class)) { // To allow escape...
Yes, i want to persist 'a_'b', so CQLTranslator should escape all quotes like ''a_''b''. cql3 query: ``` insert into user_data (user_key, user_sys, some_data) values ('''a_''_b''','SYS_X','''a_''_b'''); ``` works well from cqlsh:...
I think escaping code should be changed from ``` java //... if (fieldClazz.isAssignableFrom(String.class)) { // To allow escape character value = ((String) value).replaceAll("^'", "").replaceAll("'$", "").replaceAll("'", "''"); } //... ``` to...
No, it doesn't work for both EnumType's
No, with CQLTranslator its not working even for persisting.
I have found some problem when using EntityManager.refresh() method, see code below. ``` java public enum UserSys { SYSTEM_A, SYSTEM_B } @Embeddable public class UserDataPK implements Serializable { @Column(name =...
fixed in 2.5