Hi Karan,

On Sep 14, 2005, at 3:57 AM, Karan Malhi wrote:

Hi,

Below is the partial javadoc for the allocate() method in the Sequence 
interface:

public void *allocate*()

Provides a hint to the implementation that the application will need 
additional sequence value objects in short order.

What is "short order" ?

It's supposed to mean that the application plans to insert a bunch of objects and doesn't want to wait for the sequence to go to the datastore during the insertion of the next intParameter objects.

It didn't seem like there was an easy way to say that in the spec or javadoc.

In any event, this method (in fact, most "hints") can only be tested by calling it and making sure it doesn't throw an exception. There's no visible behavior to test.

Regards,

Craig 


-- 
Karan Malhi


Craig Russell

Architect, Sun Java Enterprise System http://java.sun.com/products/jdo

408 276-5638 mailto:[EMAIL PROTECTED]

P.S. A good JDO? O, Gasp!


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to