Sun GlassFish Communications Server 1.5 Release Notes

Solution

In the domain.xml file, set the property PrepareMethod=direct on the corresponding data source.