Thanks for that catch, not sure how I missed that one. Hibernate 3.5 and later changed how they deal with clobs and the approach used in postgres requires an explicit transaction any time a clob is read so all of the portlet definition and entity read methods now require a TX.

-Eric

On 07/15/2011 05:30 AM, Arvīds Grabovskis wrote:
Hi,

I'm using PostgreSQL (8.4) as DBMS. Portlet loading fails with exception reporting "Large Objects may not be used in auto-commit mode" (see attachment) when selecting "Add Stuff". Adding @Transactional annotation to JpaPortletDefinitionDao#getPortletDefinitions() solved the problem with my setup.

Just in case, i also added a patch file (for uPortal trunk).

-- Arvīds
--

You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to