The Personalization module uses the following tables to store user data. Note that the tables shown, which have the prefix dps, apply to external profiles and are referenced by the ProfileAdapterRepository. A parallel set of tables exists for internal users with the prefix dpi, for example dpi_user. These tables are referenced by the InternalProfileRepository.

dps_user

This table contains information associated with a Personalization module user.

Column

Data Type

Constraint

id

VARCHAR(40)

NOT NULL

(primary key)

The unique identifier associated with the user.

login

WVARCHAR(20)

NOT NULL UNIQUE

The user’s login name.

auto_login

NUMERIC(1)

NULL
CHECK (auto_login in (0,1))

Determines whether to perform autologin for this user. This value is set by the autoLoginPropertyName property of the /atg/userprofiling/PropertyManager component.

password

VARCHAR(35)

NULL

The user’s password. Note that this field must be at least 35 characters long if the Personalization module stores a hash of the password and not the actual value.

member

NUMERIC(3)

NULL
CHECK (member in (0,1))

Whether or not the user is a member.

first_name

WVARCHAR(40)

NULL

The user’s first name.

middle_name

WVARCHAR(40)

NULL

The user’s middle name.

last_name

WVARCHAR(40)

NULL

The user’s last name.

user_type

INT

NULL

The user’s type, either (1) investor, (2) broker, or (3) guest.

locale

INT

NULL

The user’s locale.

lastactivity_date

TIMESTAMP

NULL

The time the user last accessed the Web site.

registration_date

TIMESTAMP

NULL

The time the user registered at the Web site.

email

WVARCHAR(40)

NULL

The user’s e-mail address.

email_status

INT

NULL

The status of the user’s e-mail address, for example whether valid or invalid.

receive_email

INT

NULL

Determines whether or not the user is to receive e-mails.

gender

INT

NULL

The user’s gender.

date_of_birth

TIMESTAMP

NULL

The user’s date of birth.

securityStatus

INT

NULL

Indicates how a user was assigned to this site, either (0) ANONYMOUS, (1) URL-PARAM, (2) AUTO-SIGNIN, (3) HTTP-BASIC-AUTH, (4) EXPLICIT-SIGNIN, (5) SECURE_SIGNIN, or (6) CERTIFICATE.

dps_contact_info

This table contains information about a user’s contact info. There can be multiple contact infos for a single user, and all this information is stored in this table.

Column

Data Type

Constraint

id

VARCHAR(40)

NOT NULL UNIQUE

(primary key)

The unique identifier associated with the contact information.

user_id

VARCHAR(40)

NULL

The unique identifier associated with the user who owns the contact information.

prefix

WVARCHAR(40)

NULL

The name prefix (for example, a title) of this user.

first_name

WVARCHAR(40)

NULL

The first name of this user.

middle_name

WVARCHAR(40)

NULL

The middle name of this user.

last_name

WVARCHAR(40)

NULL

The last name of this user.

suffix

WVARCHAR(40)

NULL

The name suffix of this user.

job_title

WVARCHAR(100)

NULL

The job title of the user at this address.

company_name

WVARCHAR(40)

NULL

The company name of the user at this address.

address1

WVARCHAR(50)

NULL

The street and number of this address.

address2

WVARCHAR(50)

NULL

The street and number of this address.

address3

WVARCHAR(50)

NULL

The street and number of this address.

city

WVARCHAR(30)

NULL

The city of this address.

state

WVARCHAR(20)

NULL

The state of this address.

postal_code

WVARCHAR(10)

NULL

The postal code of this address.

county

WVARCHAR(40)

NULL

The county of this address.

country

WVARCHAR(40)

NULL

The country of this address.

phone_number

WVARCHAR(15)

NULL

The phone number of the user at this address.

fax_number

WVARCHAR(15)

NULL

The fax number of the user at this address.

dps_user_address

This table contains information about a user’s address.

Column

Data Type

Constraint

id

VARCHAR(40)

NOT NULL

(primary key)

The unique identifier associated with the user. References dps_user(id).

home_addr_id

VARCHAR(40)

NULL

The unique identifier associated with the user’s home address.

billing_addr_id

VARCHAR(40)

NULL

The unique identifier associated with the user’s billing address.

shipping_addr_id

VARCHAR(40)

NULL

The unique identifier associated with the user’s shipping address.

dps_other_addr

This table contains addresses used by profiles. Commerce applications use this table to store a list of addresses in the table dps_contact_info. The Personalization module can also use this table to set up a one-to-many relationship by adding a table similar to the table dps_contact_info and modifying the userProfile.xml template.

Column

Data Type

Constraint

user_id

VARCHAR(40)

NOT NULL

(primary key)

The unique identifier of the user who owns the address. References dps_user(id).

tag

WVARCHAR(42)

NOT NULL

(primary key)

The type of address, for example work or home.

address_id

VARCHAR(40)

NOT NULL

The unique identifier associated with the address.

dps_credit_card

(External profiles only.) This table contains information about a user’s credit card. There can be multiple contact credit cards for a single user.

Column

Data Type

Constraint

id

VARCHAR(40)

NOT NULL

(primary key)

The unique identifier associated with this credit card information.

credit_card_number

VARCHAR(40)

NULL

The credit card number.

credit_card_type

VARCHAR(40)

NULL

The type of credit card (MasterCard, Visa, etc.)

expiration_month

VARCHAR(20)

NULL

The month the credit card expires.

exp_day_of_month

VARCHAR(20)

NULL

The day of the month the credit card expires.

expiration_year

VARCHAR(20)

NULL

The year the credit card expires.

billing_addr

VARCHAR(40)

NULL

The billing address of the credit card.

dps_usr_creditcard

(External profiles only.) This table contains credit card information associated with a user.

Column

Data Type

Constraint

user_id

VARCHAR(40)

NOT NULL

(primary key)

The unique identifier associated with the user.

tag

WVARCHAR(42)

NOT NULL

(primary key)

The type of credit card, for example MasterCard, Visa, etc.

credit_card_id

VARCHAR(40)

NOT NULL

The unique identifier associated with the credit card. REFERENCES dps_credit_card(id).


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices