Use can use Jasper Report and there is also designer tool available
for that is IReport.
On Sep 23, 6:57 pm, mably fm2...@mably.com wrote:
Does anybody know of a java PDF generator library working with Google
App Engine ? Even a low-level one.
Any help would be greatly appreciated.
Thanx
Oh dear, sorry that didn't work.
All I can say is that you are very brave to set the encodedKey values
in your code. I let BigTable do this for me (and correctly, I hope)!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
My persistent entity class is only written to datastore by an
administrator user, and the writes are very infrequent, so I cannot
comment on any performance issues when writing large volumes to the
datastore.
My class above has BigTable generate the Long ID for each entity,
since I cannot be
@Diana
Currently there is only real docs for JDO.
I think same documentation should be available for JPA and low-level
API.
Concentrating on practical exmaples.
On Sep 24, 7:09 am, Diana Cruise diana.l.cru...@gmail.com wrote:
Could you supply some briefs on your findings? This is exactly the
imho, the low level api is quite simple and straightforward. The relevant
docs for Python is useful to me.
there is nothing wrong with JPA/JDO. DAO + Low Level API implementation
without an additional JDO layer works for me.
On Thu, Sep 24, 2009 at 5:23 AM, Marcel Overdijk
I'm about to quit on JPA/JDO after 2 days of pure frustration. The
final straw is:-
System.out.println(emp.dept name= + emp.getDept().getName
());// throws an NPE
vs.
System.out.println(emp.dept name= +
emp.dto.getDept().getName());
The final straw is:-
System.out.println(emp.dept name= + emp.getDept().getName
()); // throws an NPE
So why not address what the difference is in calls to your persistable
class ? Nothing is non-deterministic by definition that you have a
programming language here and rules
I realise that non-deterministic is a relative term, and that given enough
time, reading, research, etc etc I will be able to determine why adding a
println prevents an NPE.
My point (and I think of others) is why?. Especially since it's taken me 2
days already that I was supposed to have spent
Today, I am so bored and lonely.
Friends, let's get started?
Lets flirt or maybe something more?
http://vedakathalee.150m.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post
De gustibus non est disputandum - if you feel more comfortable with
low-level Api than with JDO/JPA Api it is up to you. You spent two
days trying to cope with Google App Engine JPA/JDO problem, I spent a
lot of sleepless nights migrating my EJB3/JPA application to Google
App Engine keeping
+1, I agree with this approach.
I like the great flexibility and control that the low-level API gives
me.
I would like documentation about low-level API programming.The API is
very simple but I have some doubts.
For example, It is not necessary to close the DatastoreService after
using? It's
Hi!
Your problem is strange indeed. The interesting thing is that
persisting both types of parents works well if you do it separately.
It also works if you switch the order of persisting the objects,
starting with ParentOfOne and then ParentOfList. It also fails if you
only do a query on
Hi
From google docs - a single transaction cannot create or operate on
more than one root entity.
What will happen if I try to call makePersistentAll to persist a list
of root entity within on single transaction?
Regards
peter
--~--~-~--~~~---~--~~
You received
The best example I could find was:
// Get a handle on the datastore itself
DatastoreService datastore =
DatastoreServiceFactory.getDatastoreService();
// Lookup data by known key name
Entity userEntity = datastore.get(KeyFactory.createKey(UserInfo,
email));
// Or perform a query
Query
Hi, is it possible to delete all entities from the datastore? I can
see how I can delete entities from a single kind at a time but do not
know how to query for all kinds or list all kinds.
Thanks,
John.
--~--~-~--~~~---~--~~
You received this message because
If you want to clean your local datastore with respect to junit tests
- look at this link:
http://code.google.com/appengine/docs/java/howto/unittesting.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App
I want to run application for viewing any GAE-datastore.
How could get all kinds of entities by low-level API?
In account-console we can CRUD with defined-kind entity after
selecting kind.
It means there is functionality to get entities-kind list?!
Hi all,
I'm having this exception/error only in JUnit tests.
Where's the problem?
In the SDK or UNIT tests??
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this
Obviously it will not work, makePersistentAll is nothing more than:
for (Entity e : parameter_List) {
em.makePersistent(e);
}
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To
Could No one else (Google?) help me here??
My code is a few posts earlier.
I really can't understand what I'm doing wrong...
Thanks
Ian Marshall wrote:
Oh dear, sorry that didn't work.
All I can say is that you are very brave to set the encodedKey values
in your code. I let BigTable do this
You have to split your application into at least two parts: server
part (without any user interface related logic) and client side, user
interface. This client side can be java/swing (applet), or Java
Script, HTML, JSP etc.
--~--~-~--~~~---~--~~
You received this
Hi Patrizio,
I am not sure what you mean by having the error only in JUnit tests.
The same code runs correctly in some other environment?
Anyway, the documentation says that it is not allowed to update the
same entity more than once in a single transaction. However I was not
able to reproduce
I am relatively new to App Engine. Recently I have starting seeing
indications that there are limitations? on the the use of HTTP
sessions in App Engine? For example, I see that there is a
gaeutilities project that provides a class Session: An http session
class to preserve identity across http
Hi Patrizio,
I removed the _embedded=true_ attribute from the mapping of the
stat field and now it seems to be better. At least I can retrieve
the object with the correct values. I have not checked the code in
detail, but I guess if you are embedding Stat then you do not need a
primary key for
Hi,
Trying to create ShoppingList child objects with parent set to
Shopper. Persisting Shopper works fine, but when I have created a
ShoppingList and tries to persist it I get the following exception:
javax.jdo.JDOFatalUserException: Attempt was made to set parent to
me.test...@gmail.com but
Hi,
yep the same code runs correctly in the GAE development server.
I'll send you the code ASAP.
Thanks
Marton Papp wrote:
Hi Patrizio,
I am not sure what you mean by having the error only in JUnit tests.
The same code runs correctly in some other environment?
Anyway, the
Hi,
I think that the performance of ListPicture can actually be better
then using ListKey. Of course you should not try to retrieve the
pictures by using user.getPictures() if there are many, because it
will try to load all of them. But the difference is how it is stored
in the database. I think
Hi
I got following exception when I changed cashing class(M_SitePolicy
class) . I have read related post and understand that I must remove
previous cashed object and put serialVersionUID to my M_SitePolicy
class to avoid recurrence of this kind of error.
So I put serialVersionUID = 2001 to
Hi,
I've been seeing the following phenomenon: Datastore or Memcache
operations (e.g. PersistentManager#getObjectById, Query#execute, or
Cache#get/put) freezes repeatedly for a few certain users (source IP
address), while all the other requests are not affected. Sometimes it
lasts just for a 10
Hi Andreas,
The field mapped with the gae.parent-pk is expected to hold a Key
value or a key value encoded as string. Try this:
public ShoppingList(Shopper shopper) {
Key shopperKey =
KeyFactory.createKey(Shopper.class.getSimpleName(),
shopper.getEmail());
As this thread seems to be of some interest I'd like to summarize why
I'm happy with Low-Level API and why JDO caused a lot of pain to me.
Some of the points may be a matter of taste, some are just annoying -
others have been show stoppers to me:
- Each time I save a persistent class the
The entities are small in terms of bytes but each has about 80 indexed
properties and there are about 300 exception. It seems to happen
after I get a message like persisted datastore in 22058 ms
On Sep 22, 4:58 pm, Toby Reyelts to...@google.com wrote:
1) What size entities are you saving to
Hi Marton,
I think I've worked out what was the problem with my JUnit tests.
I was persisting a parent entity before its children.
The strange thing however is that I didn't have any problem running the
same code in GAE local server.
Now the question is what's the correct behavior??
I
Hello everybody,
I dont really understand the logs GAE shows me in the admin console :
I have a first URI showing a simple search form that gives me :
09-24 08:24AM 30.341 /default/ftsearch.do?_contenttype_=content 200
117ms 103cpu_ms 73api_cpu_ms
But my servlet service method lasts only :
Hi all,
I am trying to deploy a very simple app from my company environment
(with a proxy set up).
Each time I try to deploy I get the following error
!ENTRY org.eclipse.core.jobs 4 2 2009-09-24 16:51:21.630
!MESSAGE An internal error occurred during: Deploying fcotest to
Google.
!STACK 0
Jay,
In general, no there are not limitations on App Engine's HttpSession. Here
are some things that are useful to know, though:
1) They aren't enabled by default. You need to turn them
onhttp://code.google.com/appengine/docs/java/config/appconfig.html#Enabling_Sessionsin
appengine-web.xml.
2)
Hi All
I am new to GAE/J.
I use Eclipse plugin to develop GWT/GAE/J currently.
I found Eclipse automatically add lots of jar in WEB-INF/lib
such as jdo2-api-2.3-eb.jar, datanucleus.*.jar.
I know for a independent web container such as Tomcat may need it, but
hey I
am using GAE container, Do I
I tried to use appcfg command line with action update_indexes but it
doesn't delete my unnecessary indexes.
It seems there is no vacuum action like in the python version, am I
right ?
So, does anybody have another solution to delete a datastore index
with the java SDK ?
Francois
Bordeaux,
Toby,
Thanks for your response.
1) I had enabled sessions for my project, when I first installed the
eclipse (3.4) plugin a few months ago.
2) As a developer, I always ensure I implement Serializable.
Re: 3) This is the one that concerns me. I don't care if I get the
same HttpSession object
Erem,
Thanks for the heads up! I normally implement a HttpSessionListener
to ensure a user is properly logged out.
On Sep 24, 12:37 pm, Erem ehb...@gmail.com wrote:
One notable penumbra effect of what Toby mentioned is that you can't
hook into session lifecycle events using
Erem,
Thanks for the heads up!
On Sep 24, 12:37 pm, Erem ehb...@gmail.com wrote:
One notable penumbra effect of what Toby mentioned is that you can't
hook into session lifecycle events using HttpSessionListener. I spent
more time than I care to divulge trying to figure it out and I don't
Hi, my experience inline ...
On Thu, Sep 24, 2009 at 11:10 AM, dflorey daniel.flo...@gmail.com wrote:
- Each time I save a persistent class the enhancer runs
In my case I'm not using the google plugin, just working with ant. I ran the
enhance when I considere apropiate.
- Sometimes the
On Thu, Sep 24, 2009 at 12:48 PM, Jay Damon jdam...@gmail.com wrote:
Toby,
Thanks for your response.
1) I had enabled sessions for my project, when I first installed the
eclipse (3.4) plugin a few months ago.
2) As a developer, I always ensure I implement Serializable.
Re: 3) This is
In my app (as in many apps I imagine) there are relationships that I
end up managing in the code.
For instance, a Parent class with a list of Child instances. In order
to make each child in it's own entity group, I have the list of
children defined on the Parent as
ListKey children;
and on the
On Thu, Sep 24, 2009 at 10:10 AM, dflorey daniel.flo...@gmail.com wrote:
As this thread seems to be of some interest I'd like to summarize why
I'm happy with Low-Level API and why JDO caused a lot of pain to me.
Some of the points may be a matter of taste, some are just annoying -
others
I don't see serializable as an option:
http://db.apache.org/jdo/api23/apidocs/javax/jdo/annotations/Persistent.html
On Sep 23, 11:01 am, Jason (Google) apija...@google.com wrote:
If you use a non-native datastore type that isn't declared to be
PersistenceCapable, you need to explicitly
I seems I may have found a bug with the GAE eclipse plugin. When I
select Open Project on a GAE project that was previously closed, e.g.
My First Web Application, it opens and may be run successfully.
However, it appears that if I shut down eclipse and restart it, the
data nucleus enhancer
Yes, if you are using JDO/JPA, these files need to be present in your
WEB-INF/lib directory. However, the Eclipse plugin is smart enough to only
send files that have changed with each deployment, so you there is no real
cost to you.
If you deploy the same application twice in a row you should
Yes, GaeVFS (http://code.google.com/p/gaevfs/) provides access to the
local file system so that you can use a single API for accessing both
local and virtual files. However, local files are read-only; and,
you cannot create a virtual file with the same path and name as a
local file.
Vince
On
Hi,
I have following classes. I am creating a country object first and it get
persisted, then i read its key field and i get some value.
Basically i start a transaction and persist it close/commit the transaction.
then i create a State and set Country for state object as the country(reload
the
Not fixed yet:
http://code.google.com/p/datanucleus-appengine/issues/detail?id=25
Star the issue if you'd like to follow along.
Max
On Thu, Sep 24, 2009 at 6:44 AM, ylmz yilmazhuse...@gmail.com wrote:
I do not now if it is fixed or not. But I had the same problem. So I
checked the code and
You rock. I'll give it a try. Thanks!
On Sep 24, 3:25 pm, Alejandro D. Garin aga...@gmail.com wrote:
Hi objectuser,
yes, currently I have a project to share this kind of code and an online
demo with source code.
Advice class (RetryAdvice.java): (I have an advice for cache too - see
If I cannot store JDO Extent in the HTTPSession , how do I implement
paging behavior. Is there a token somewhere I can refer to
Please advice
On Sep 7, 12:55 am, datanucleus andy_jeffer...@yahoo.com wrote:
Why should a javax.jdo.Extent be Serializable ? JDO doesn't define it
to be so.
Hi All,
I plan to do some experiments on GData API application.
And I found the JS library of GData API has much limitation and less/
slow support compare to Java client library.
But, yet it is still worth to try to minimize server load, so I decide
to part function implement on client side
From docs (http://code.google.com/appengine/docs/java/datastore/
relationships.html)
Tip: In some cases you may find it necessary to model an owned
relationship as if it is unowned.
55 matches
Mail list logo