Skip to content
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

Array keys are not the same for the first time. #69

Open
fagyikaa opened this issue Dec 14, 2015 · 0 comments
Open

Array keys are not the same for the first time. #69

fagyikaa opened this issue Dec 14, 2015 · 0 comments

Comments

@fagyikaa
Copy link

In my project i create a new object and add it to one of my entity's arraycollection then persist and flush these. Then in the same request i do some more work and want to get back my newly added object with a custom method which didn't worked until i repeated the process.
I realised that the keys of the collection were not the same for the first and the other requests.
When firstly adds an element to the array collection then the keys starts from 0.
After in new requests the keys starts from 1.
I think the indexes should be always the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant