You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is Issue 439 moved from a Google Code project.
Added by 2012-11-02T15:47:24.000Z by jmhed...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Defect, Priority-Low
Original description
What version are you using? 0.99
unfortunately, one isnt able to access the Datasource from within an EntityListener.
The text was updated successfully, but these errors were encountered:
It doesn't appear that any interface is enforced by @EntityListeners. Getting that Datastore (which I'm assuming is what is meant there) in would be tricky. I'm ok introducing an interface or at least a constructor requirement (maybe an optional constructor?) but that might break existing code.
Using an optional constructor might be pretty useful and probably wouldn't break anything as we'd just fall back to the empty constructor.
I looked in to this and even had it mostly working. Unfortunately, it requires several changes to public APIs that can't be mitigated by simple overloads. I'm afraid this one will have to wait.
This is Issue 439 moved from a Google Code project.
Added by 2012-11-02T15:47:24.000Z by jmhed...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Defect, Priority-Low
Original description
The text was updated successfully, but these errors were encountered: