-
Notifications
You must be signed in to change notification settings - Fork 24
PostLoad not always called #6
Comments
David, |
Let me dig it up. It's been a while since I worked on this.
On Wed, Nov 2, 2011 at 10:14 PM, naaman <
|
I've created a small reproducing program. You can run it from the IDE or using foreman. You'll need to define a FORCE_DATABASE_URL if you actually want to run the program. git@github.com:davidbuccola/postloadbug.git |
I'm not sure how this got closed by me. I don't believe I've seen an answer to this yet |
This library is no longer maintained. I recommend using wsc for connecting to Force.com API from Java apps. |
I am working with a slightly more advanced object that requires a @PostLoad method. I found that the JPA adapter is not reliably calling the method annotated with @PostLoad. The method gets called if the object is explicitly loaded but not if the object is implicitly loaded.
This works:
This does NOT work:
P.S. - Yes, the Book and Author class have a relationship defined between them.
The text was updated successfully, but these errors were encountered: