helma: make objects persistent in request

to make objects persistent during a request, use

res.commit();

our problem was, that we had an import process that sometimes was adorted due to timeout.
res.commit() saves the objects that have been created until it’s call. so we only “lose” the objects that would be created after the timeout.

Advertisements
This entry was posted in howtos. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s