* getString() method is called on a LONG field on an Oracle database. Because of this,
* the object is loaded from liferay and DotConnect is not used
* http://jira.dotmarketing.net/browse/DOTCMS-1911
*/
for (int j = 0; j < l.size(); j++) {
PortletPreferences portletPreferences = (PortletPreferences)l.get(j);
DotConnect dc = new DotConnect();
dc.setSQL("insert into portletpreferences values (?,?,?,?)");
dc.addParam(portletPreferences.getPortletId());
dc.addParam(portletPreferences.getUserId());
dc.addParam(portletPreferences.getLayoutId());
dc.addParam(portletPreferences.getPreferences());
dc.getResults();
}
}else if (_importClass.equals(User.class)) {
for (int j = 0; j < l.size(); j++) {
User u = (User)l.get(j);