-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when "@ManyToOne " with "PK Auto generation" #313
Comments
Could you please describe issues which you are getting into? -Vivek |
I'm sorry,accident Enter BUTTON,editing NOW! |
Any entity containing only row key will not get persisted in Cassandra. Cassandra does not allows this. -Vivek |
Jg_region must contain a non row key column, hence it will not get persisted. As Cassandra does not store it down with row key value only. -Vivek |
I have other colunn; the problem is I expect meger the jg_region in id=1 ; but it persist a new object |
Hi,
Can you please elaborate more on this? Also, as per
i can't see adding any non row key column in "jg_region" entity. |
Hi, |
Hi, I have been off work,I type this code in Text-Editor; Maybe it means what I want to express.
|
I means it should not have generate a new EmployeeAddress which Address Equals 2 , it should have always merge into EmployeeAddress which Address Equals 1;
|
Fixed and releasing with 2.6. Please verify. |
I had use two Entites with "PK Auto generation"
1.Yh_info Entity
2.Jg_region Entity
problems:
when I create new Object Yh_info
when I run this tiwce or more, I expected the "regionid" is "1",but the new Yh_info.Jg_region.regionid is increase
;
It means I assign the regionid value is "1" , but it auto increase to "2";
Maybe it means what I want to express.
In this, "empAdr_result " should have merge in Address Equals 1 ; but when EmployeeInfo is persisted ,EmployeeAddress persist too;
The text was updated successfully, but these errors were encountered: