Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Upgrade and Migration Guide

- Previous: Cluster Scripts
- Next: Command Line Interface: hadbm

# Primary Key Attribute Values

In Application Server 7, it was possible to change any field (in the Administration Console) or attribute (in the command line interface). In Application Server 8.1, a field or attribute that is the primary key of an item cannot be changed. However, an item can be deleted and then recreated with a new primary key value. In most cases, the primary key is a name, ID, reference, or JNDI name. The following table lists the primary keys that cannot be changed.

Note –

In the `domain.xml` file, a field or attribute is called an attribute, and an item is called an element. For more information about `domain.xml`, see the Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Reference.

Table 1–1 Primary Key Attributes

Item | Primary Key Field or Attribute
--- | ---
`admin-object-resource` | `jndi-name`
`alert-subscription` | `name`
`appclient-module` | `name`
`application-ref` | `ref`
`audit-module` | `name`
`auth-realm` | `name`
`cluster-ref` | `ref`
`cluster` | `name`
`config` | `name`
`connector-connection-pool` | `name`
`connector-module` | `name`
`connector-resource` | `jndi-name`
`custom-resource` | `jndi-name`
`ejb-module` | `name`
`external-jndi-resource` | `jndi-name`
`http-listener` | `id`
`iiop-listener` | `id`
`j2ee-application` | `name`
`jacc-provider` | `name`
`jdbc-connection-pool` | `name`
`jdbc-resource` | `jndi-name`
`jms-host` | `name`
`jmx-connector` | `name`
`lb-config` | `name`
`lifecycle-module` | `name`
`mail-resource` | `jndi-name`
`message-security-config` | `auth-layer`
`node-agent` | `name`
`profiler` | `name`
`element-property` | `name`
`provider-config` | `provider-id`
`resource-adapter-config` | `resource-adapter-name`
`resource-ref` | `ref`
`security-map` | `name`
`server` | `name`
`server-ref` | `ref`
`system-property` | `name`
`thread-pool` | `thread-pool-id`
`virtual-server` | `id`
`web-module` | `name`
`persistence-manager-factory-resource` | `jndi-name`

- Previous: Cluster Scripts
- Next: Command Line Interface: hadbm

- © 2010, Oracle Corporation and/or its affiliates