Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
Work on ITest-2 Failures:
Browse files Browse the repository at this point in the history
- I think the recent work for 1071330 which added caching and last-update
  logic around SystemSettings adversely affected the LDAP tests which
  where doing direct update of read-only system settings.  Adding a
  new inetrnal-only local SLSB for safely updating a read-only SystemSetting
  and refactoring test class to use it.
- Removed now-obsolete NamedQuery that supported the old test-class logic.
(cherry picked from commit e81c703)

Conflicts:

	modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/system/SystemManagerLocal.java

Signed-off-by: Simeon Pinder <spinder@fulliautomatix.conchfritter.com>
  • Loading branch information
jshaughn authored and Simeon Pinder committed Jul 24, 2014
1 parent a12a4fb commit a3d6c31
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 112 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@
* @author <a href="mailto:ghinkle@jboss.com">Greg Hinkle</a>
*/
@Entity
@NamedQueries( {
@NamedQuery(name = SystemConfiguration.QUERY_FIND_ALL, query = "SELECT c FROM SystemConfiguration AS c"),
@NamedQuery(name = SystemConfiguration.FIND_PROPERTY_BY_KEY, query = "SELECT c FROM SystemConfiguration AS c WHERE c.propertyKey = :key") })
@NamedQueries({ @NamedQuery(name = SystemConfiguration.QUERY_FIND_ALL, query = "SELECT c FROM SystemConfiguration AS c") })
@SequenceGenerator(allocationSize = org.rhq.core.domain.util.Constants.ALLOCATION_SIZE, name = "RHQ_SYSTEM_CONFIG_ID_SEQ", sequenceName = "RHQ_SYSTEM_CONFIG_ID_SEQ")
@Table(name = "RHQ_SYSTEM_CONFIG")
public class SystemConfiguration implements Serializable {
Expand Down

0 comments on commit a3d6c31

Please sign in to comment.