[google-appengine] Orderby not supporting

2011-08-29 Thread Opcenter [N1] Support
Hi
I am using follwing code for getting records
String query = "select from "+Suffix.class.getName() +" order by
name";
 List console = (List)
pms.newQuery(query).execute();
But in this case order by not working
What can i do for execute order by .
   please guide me
   Thanks in Advance

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



[google-appengine] How to Send Email in Google App Engine

2011-09-03 Thread Opcenter [N1] Support
Hi,
I am new in Google app. i need to send email through java api. i am
using mail.jar,smtp.jar.
   when i try to run . the following error is encounter.
*java.net.Socket is a restricted class. Please see the Google App Engine
developer's guide for *
*more details.*
But it runs in java application without google apps.

Please guide me
Thank in Advance
Noorul

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



[google-appengine] Hi How to Send Email Locally(Localhost)

2011-09-05 Thread Opcenter [N1] Support
HI ,
I want to send email . if i send email locally(localhost) , its not working.
But its working when app on server.
Here is the code i used in my apps
Message msg = new MimeMessage(session);
msg.setFrom(new InternetAddress("x...@gmail.com"));
msg.addRecipient(Message.RecipientType.TO,new
InternetAddress("x...@gmail.com","Mr. User"));

msg.setSubject(subject);
msg.setContent(content, "text/html");
Transport.send(msg);

Is there Any way to send ?

Thanks in Advance

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



[google-appengine] How to find out Timedifference

2011-09-20 Thread Opcenter [N1] Support
Hi,
i am new in GAE.  I need to find out timedifference between two
dates. i am from java background. i tried with  java.util.Date package . it
didnt come correct. plz help me. How to find out time difference between two
dates.

 Thanks
   Noorul

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



[google-appengine] Need to Import Namespace(Datastore) in Local

2011-11-24 Thread Opcenter [N1] Support
 Hi,

 I need to take Backup namespace. I created nsapce1,space2,space3.
 Now i have to transfer data from One namespace to another. So
 Can this possible to import Namespace data into out local pc.?
 I  Used GAE with Java.


Thanks
Noorul

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