q = queryProps.toString();
} else {
q = null;
}
TrackPage tp = new TrackPage();
tp.setAcceptedLanguages(properties.getProperty("accept-language"));
tp.setQuery(q);
tp.setRemoteHost(remoteHost);
tp.setRemoteIp(remoteIp);
tp.setSessionId(sessionId);
tp.setStamp(new Date());
tp.setUrl(url);
tp.setUserAgent(properties.getProperty("user-agent"));
tp.setxWapProfile(properties.getProperty("x-wap-profile"));
IJpaFactory<TrackPage> strategy = new TrackPageFactory(new J2eeConfig());
strategy.setTransactional(true);
strategy.add(tp);