Comments (3)
Hi David,
I have tried a few different scenarios to reproduce this issue, but everything is working as expected; however, I'd like to get a little more clarity as to exactly what you were doing when you encountered this issue:
- Does Subscription look up to Application which looks up to Vendor? Just want to make sure I understand your data model correctly.
- What is your exact query look like?
- Are you within a transaction when you run the query? Have you found any differences if you are within a transaction or not with regards to this issue?
- Do you have any other special configuration worth calling out? Like any special app-context, persistence unit, etc. Also are you using Spring to manage the transactions?
Thanks,
Ryan
from java-sdk.
Ryan,
What office are you located in? The best bet is probably for me to show you
in a running program. Unfortunately I was unable to create a simple test
program that fails. This means I don't fully understand the unique
circumstances that cause the problem but the problem occurs none-the-less
:-(.
I have a program that reproduces it pretty easily but unfortunately it is
not a small isolated test program. If you are interested in seeing the
source it is at:
https://github.com/forcedotcom/isv-services
It is not a public repository so you'll need access granted. Unfortunately
I have not been given admin access so I can't do it. Someone in your group
that owns forcedotcom should be able to grant you access.
Look at the file "CompanySubscriptionsResource.java". There is a "TODO
comment in that file which will identity the problem area. I have also
attached the file this this email.
I
Basically I am just doing a single query and then examining the returned
results. I believe I am implicitly doing a single object fetch after the
query when i start examining the objects.
The problem was originally spotted when I was not using transactions. I am
now using transactions and the problem still occurs. The transactions did
not appear to change the symptoms.
You can see the query in the attached source file.
Since we work for the same company the best bet might be for you to come to
my desk and see the problem in action. I can run the program in the
debugger and with DEBUG logging enabled and reproduce the problem in about
30 seconds .We can then interactively talk and probably give you a lot more
insight a lot more quickly.
- Dave
On Mon, Nov 28, 2011 at 11:23 AM, Ryan Brainard <
[email protected]
wrote:
Hi David,
I have tried a few different scenarios to reproduce this issue, but
everything is working as expected; however, I'd like to get a little more
clarity as to exactly what you were doing when you encountered this issue:
- Does Subscription look up to Application which looks up to Vendor? Just
want to make sure I understand your data model correctly.- What is your exact query look like?
- Are you within a transaction when you run the query? Have you found any
differences if you are within a transaction or not with regards to this
issue?- Do you have any other special configuration worth calling out? Like any
special app-context, persistence unit, etc. Also are you using Spring to
manage the transactions?Thanks,
Ryan
Reply to this email directly or view it on GitHub:
#12 (comment)
from java-sdk.
Fixed in e631e6e in develop develop branch and included in 22.0.8-SNAPSHOT. Confirmed with David his issue is resolved.
from java-sdk.
Related Issues (20)
- Would really like "OFFSET" support HOT 2
- Oddities in HTTPS vs. HTTP for force:// URLs HOT 1
- Incorrectly adds quotes around NULL in SOQL query HOT 2
- force.com/jdk HOT 1
- OAuth ForceServiceConnector shares 1 connection for all users HOT 1
- Saving Object with OneToMany and un-persisted children HOT 2
- Database.com sdk- Not able to pull more than 2000 records using query HOT 5
- Using connectionName in com.force.sdk.oauth.AuthFilter doesn't work HOT 5
- ForceMappingConfigurationStrategy doesn't pick up the identity field HOT 1
- SecurityContextUtil throws an exception when using profiles which don't have access to their Profile HOT 2
- Large number of objects causes long startup times HOT 4
- oauth cookies HOT 1
- Upgrade to use DN3.1+ HOT 2
- ForceOAuthConnector#getAccessToken expecting refresh_token on authorization_code grant HOT 1
- Unable to convert date field HOT 2
- LogoutSuccessHandler does not clear SDK related cookies HOT 1
- Java Spring Security stop working missing Salesforce XML schema HOT 4
- CustomSecurityContext.setEndPointHost sets the wrong property HOT 1
- Can't load datanucleus on Wildfly 9.x HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-sdk.