I cant wrap my head around this but i'm having an issue with doing a
basic query.
I have a user class that contains an embeddable class ContactInfo.
ContactInfo has email, phone, and address String fields.
@PersistenceCapable(identityType=IdentityType.APPLICATION)
public class MyUser {
@
If i change my authenticate filter to
query.setFilter("ContactInfo.email == emailParam && password ==
passwordParam");
I now get this error.
javax.jdo.JDOUserException: Identifier ContactInfo.email is unresolved
(not a static field)
On Nov 3, 9:32 pm, "Max Ross (Google)"
wrot
Ok i figured it out now. I was trying to refer to the classname
ContactInfo in my filter rather than the object name in my User class
contactInfo. The difference in case for the leading 'C' was the
culprit.
On Nov 4, 10:19 am, IlyaE wrote:
> If i change my authentic
I'm having a problem writing a query to get a list of objects by
filtering for a another entities key.
Object A has many object Bs.
Object A
@PersistenceCapable(identityType=IdentityType.APPLICATION, detachable
= "true")
public class A {
@PrimaryKey
@Persistent(valueStrategy = I
Does anyone have a java session handleing example? It seems that
saving objects in the session only works locally.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this gr
> i think there is an issue discussed about this before.
>
> On Nov 9, 10:58 am, IlyaE wrote:
>
>
>
> > Does anyone have a java session handleing example? It seems that
> > saving objects in the session only works locally.
--~--~-~--~~~---~
spatcher =
> request.getRequestDispatcher("/WEB-INF/my.jsp");
>
> dispatcher.forward(request, response);
>
> }
>
> }
>
> In my.jsp, you can now refer to this variable:
>
> <%@ page isELIgnored="false" %>
>
> ${myVar}
>
&
Where are the compiled JSPs stored on the local filesystem? I don't
see them in my workspace files.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To uns
are enabled. Sessions
> > are off by default, so you'll have to add this line to your
> > appengine-web.xml file:
>
> > true
>
> >http://code.google.com/appengine/docs/java/config/appconfig.html#Enab...
>
> > On Tue, Nov 10, 2009 at 12:03 PM, Ilya
Found it..
C:\Documents and Settings\\Local Settings\Temp
\Jetty_0_0_0_0_8080_warut4fm1\jsp\org\apache\jsp
On Nov 12, 12:23 pm, IlyaE wrote:
> Where are the compiled JSPs stored on the local filesystem? I don't
> see them in my workspace files.
--
You received this message
I'm seeing an odd issue when loading my jsps for the first time (after
deployment).
I have an Account object that has many Projects
[Account]
@Persistent(mappedBy = "account")
private List projects;
and on the otherside
[Project]
@Persistent
private Key account;
estigating the issues
> regarding objects in session scope when deployed.
>
>
>
>
>
> On Thu, Nov 12, 2009 at 10:39 AM, IlyaE wrote:
> > Steph,
>
> > I have modified my code to make use of
> > RequestDispatcher dispatcher =
> > req.getRequ
t. This
> is most likely related to FetchGroups. You probably want to put your
> Project.account field in the default fetch group. That way it will always
> be available when you close the persistence manager you used to load the
> Project.
>
>
>
> On Thu, Nov 12, 2009 at
but I'd recommend reading
>
> http://www.datanucleus.org/products/accessplatform_1_1/jdo/fetchgroup...
>
> If after reading this you're still not able to get your code working, please
> post your model objects and your code and I can take a look.
>
> Max
>
>
>
>
I'm not detaching the object. Should i be? Do i still need modified
fetching code if i use detached objects?
On Nov 13, 4:23 pm, "Max Ross (Google)"
wrote:
> Can you please post the code where you're actually detaching the Project
> object?
>
>
>
> On Fri,
"
wrote:
> You should probably read this as
> well:http://www.datanucleus.org/products/accessplatform_1_1/jdo/attach_det...
>
>
>
> On Fri, Nov 13, 2009 at 1:31 PM, IlyaE wrote:
> > I'm not detaching the object. Should i be? Do i still need modified
> > fetchin
Running into another issue. So i'm detaching my object and passing it
along in a session.
I'm now getting this error WARNING:
javax.jdo.JDODetachedFieldAccessException: You have just attempted to
access field "contactInfo" yet this field was not detached when you
detached the object. Either dont a
t; > response) throws ServletException, IOException {
> > String myVar = "this is a string that will be passed to the JSP";
> > request.setAttribute("myVar", myVar);
> > RequestDispatcher dispatcher =
> > request.getRequestDispatcher("/W
Is there a way to import the source code into eclipse of a previously
deployed project from the app engine cloud? I want to work on the site
but from another pc that does not share the workspace.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for
Is it possible to get a google rep to answer this? When the i deploy,
does it upload the source code to the engine as well? It would be
great to retrieve it in case a project gets erased locally.
On Nov 28, 3:19 pm, IlyaE wrote:
> Is there a way to import the source code into eclipse o
I'm having some architectural problems. On the net i read that saving and
retrieving datastore entities are much faster than JDO objects so i've
decided to go that route.
Do I need to create model object if i'm doing a datastore? I haven't found a
reason yet but i'm curious if i do.
How do i c
I have code that sends out email, but it also sends the "From" email a copy.
Can i shut this off? Here is the code.
Message msg = new MimeMessage(session);
msg.setFrom(new InternetAddress("myem...@gmail.com", "Get That Gift
Robot"));
msg.setSubject("Subject");
msg.setContent(body.toString(), "te
I look at the Database Viewer and besides the models and _ah_SESSION i
see there is a java_lang_Object entity that only has a ID/Name
attribute. What is this and why are they being created?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java"
23 matches
Mail list logo