My Oracle Support Banner

How to use Oracle synonyms with TimesTen Cache Connect READ ONLY cache groups (Doc ID 463330.1)

Last updated on JANUARY 22, 2020

Applies to:

Oracle TimesTen In-Memory Database - Version 6.0.0 to 11.2.1 [Release 6.0 to 11.2]
Information in this document applies to any platform.
NOTE: In the images and/or the document content below, the user information, the object name information, the database name information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product or other training material. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

Symptoms

Here is an example of the error returned:

Oracle Base Table and Synonym

CREATE TABLE vpn_users(
vpn_id NUMBER(8) NOT NULL,
vpn_nb NUMBER(8) NOT NULL,
directory_nb CHAR(10),
last_calling_party CHAR(10),
descr CHAR(100),
PRIMARY KEY (vpn_id,vpn_nb)

create synonym vpn_syn for vpn_users;

TimesTen Cache Group

create readonly cache group cache1 autorefresh mode incremental interval 40 seconds state on from vpn_syn(vpn_id int,vpn_nb int , directory_nb char(10),
last_calling_party char(10) , descr char(100), primary key (vpn_id,vpn_nb))
unique hash on ( vpn_id, vpn_nb) pages=40;

5142: Autorefresh is not allowed on cache groups with Oracle synonyms


Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.