Hello All,

I see a strange problem when i deploy the app in production
environment, i have a query like

PersistenceManager pm = getPersistenceManager();
                Map<String, Integer> paramMap = new HashMap<String, Integer>();
                paramMap.put(YEAR_PARAM_NAME, yearInt);
                paramMap.put(MONTH_PARAM_NAME, monthInt);
                try {
                        Query query = pm.newQuery(CalendarData.class);
                        query.setFilter(getFilterQuery());
                        query.setOrdering(year asc, month asc, day asc);
                        query.declareParameters("Integer " + YEAR_PARAM_NAME + 
", Integer "
+ MONTH_PARAM_NAME);
                        return pm.detachCopyAll((Collection<CalendarData>)
query.executeWithMap(paramMap));
                } finally {
                        releasePersistenceManager(pm);
                }

this works fine in development environment but in production i get all
the data but it's repeat 3 times for each data. Not sure why is it
because i have 3 order by.

help me


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to