-
I think Eric's changes may not have been fully committed. The protocol hasn't changed from what I can tell.
Look at public GmailThreadCollection UnreadThreads and notice how it uses a temporary collection.
now, go to GMailAdapter private void ParseDataPack() and look at the case for "t", you'll see that he calls .Add on UnreadThreads.
The easiest way to fix this is to remove...
2005-08-10 19:58:54 UTC in Gmail API
-
I've got examples of how to do it in 3 different application servers (4 if you count oracle as orion), just look at the code that ships with 0.9.5 or above of OJB. The websphere way is a bit different as it's not in JNDI and I didn't want to have to bind to specific websphere classes, there is a nice workaround in OJB, feel free to check it out.
See, we CAN just all get along.
cheers...
2002-10-07 16:48:13 UTC in Hibernate
-
"But I was kinda offended to see you guys attributing malicious motives to people who were really only reporting what they were seeing."
if you see someone publically posting "X is 9 times faster than Hibernate" what do you do? All I posted was people should be more responsible when they post. The 9x is obviously completely wrong. That kinda misinformation is offensive...
2002-10-07 16:46:24 UTC in Hibernate
-
I could post my numbers that show OJB and Hibernate running neck-in-neck, but that too would mean nothing.
I can tell, from these numbers, that you need more memory. The GC process is running and effecting results.
I just can't believe there will be any more than a trivial difference in performance, as I said; the SQL we generate is 99% the same, and the code to load/update/delete/read is...
2002-10-07 16:06:37 UTC in Hibernate
-
register for synchronization with the transaction manager, then you'll get called back on at key moments. choose one of your objects that has a transaction scope and implement the "Synchronization" interface on it. Then get a handle on the transactionmanager (sometimes in JNDI, sometimes harder to get).
m.
2002-10-07 15:43:34 UTC in Hibernate
-
Current release doesn't have this, the source on my harddrive has something that accomplishes this; I don't disagree though, you need the global cache (currently) to resolve circular dependencies) this is definitely on my todo list. Currently the Persistence broker is roughly equivelent to your "session" object, the change to enable the per-PB cache instead of global is a 2 line change.
2002-10-07 15:42:02 UTC in Hibernate
-
OJB can operate exactly the same as Hibernate, as per the configuration you mention above.
wrt container managed transactions: I guess you just don't need any call backs from the transactionmanager to do anything when beforeCompletion, or afterCompletion is called since you don't have a cache at global scope.
If you are running with a cache in OJB, you need to get the calledback...
2002-10-06 22:47:46 UTC in Hibernate
-
There is no such thing as opening the database in "read-only" mode with the persistenceBroker api.
I'm not trying to prove OJB is faster than Hibernate, I'm trying to show that they'll probably be the same speed.
In fact, I ran an extensive set of tests using both SQLServer and HSQLDB and it shows just that. The difference in speed between Hibernate and OJB is, at most, less than...
2002-10-06 22:43:03 UTC in Hibernate
-
Just for grins, I implemented the OJB performance test in Hibernate. The OJB performance test is a very simple one object (no related objects) test that goes through 3 iterations of the test, and does each of the delete/read/update/create 10000 times.
I'm going to send the sourcecode to Gavin so he can tell me if I'm using Hibernate wrong.
Details:
- Same machine
- Same version of HSQLDB...
2002-10-06 03:18:19 UTC in Hibernate
-
Hi Gavin,
someone refers to OJB as a "a bloated we-try-to-do-anything Blob."
> OJB has no more features than any commercial OR tool (cocobase, toplink, etc)
"comparing their documentation. Of the two, Hibernate "said all the right things" far more often than OJB."
> OJB was designed based on some very sound principals and well known and respected...
2002-10-06 01:20:55 UTC in Hibernate