Active Dataguard passage puts new Eve in time real query

Hi gurus,

If you use Active Dataguard, after swicthover/failover using observer and dg broker no sthe new Eve will be time real query mode (ADG) or manually having to open the db in read-only mode.

Please let me know.

Thank you

Yes, it is:

[uhesse]$ dgmgrl sys/oracle@prima
DGMGRL for Linux: Version 11.2.0.1.0 - Production

Copyright (c) 2000, 2009, Oracle. All rights reserved.

Welcome to DGMGRL, type "help" for information.
Connected.
DGMGRL> show configuration

Configuration - myconf

  Protection Mode: MaxAvailability
  Databases:
    prima - Primary database
    logst - Logical standby database
    physt - Physical standby database

Fast-Start Failover: DISABLED

Configuration Status:
SUCCESS

DGMGRL> show database physt

Database - physt

  Role:            PHYSICAL STANDBY
  Intended State:  APPLY-ON
  Transport Lag:   0 seconds
  Apply Lag:       0 seconds
  Real Time Query: ON
  Instance(s):
    physt

Database Status:
SUCCESS

DGMGRL> switchover to physt;
Performing switchover NOW, please wait...
New primary database "physt" is opening...
Operation requires shutdown of instance "prima" on database "prima"
Shutting down instance "prima"...
ORA-01109: database not open

Database dismounted.
ORACLE instance shut down.
Operation requires startup of instance "prima" on database "prima"
Starting instance "prima"...
ORACLE instance started.
Database mounted.
Database opened.
Switchover succeeded, new primary is "physt"
DGMGRL> show configuration

Configuration - myconf

  Protection Mode: MaxAvailability
  Databases:
    physt - Primary database
    prima - Physical standby database
    logst - Logical standby database

Fast-Start Failover: DISABLED

Configuration Status:
SUCCESS

DGMGRL> show database prima

Database - prima

  Role:            PHYSICAL STANDBY
  Intended State:  APPLY-ON
  Transport Lag:   0 seconds
  Apply Lag:       0 seconds
  Real Time Query: ON
  Instance(s):
    prima

Database Status:
SUCCESS

Kind regards
Uwe Hesse

http://uhesse.WordPress.com

Tags: Database

Similar Questions

  • After the upgrade to v6, while surfing, Firefox opens active tab in a new window several times in time... why?

    I use a laptop. When I click on a link or a text field, or when I start typing in the search box on gsmarena.com ... Firefox opens a new window with the active TAB. It's very annoying and I thought it will be OK, but now it began to arrive on PC too. It does not always happen with the same actions and is not reproduced.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • Question about Active Dataguard

    Version: 11.2
    Operating system platform: Solaris 10

    I've only worked with 10 gr 2 physical standby databases. Now we will install 11.2 on solaris.
    Read about 11 g Dataguard active characteristic of what applications can connect to the DB in waiting for read only operations.
    Once Dataguard Active is enabled (to learn), if the main BP is heavily loaded and a session triggered an intensive resource SELECT query, process that will redirect the SELECTED for the less loaded standby DB? Is the listener as it does in the CARS?

    Hello;

    Active Data Guard is a database of "Reader". I don't think there is a process that turns automatically off of load to it.

    If its great for reporting etc.

    Another option Active Data Guard, is that it allows fast incremental backups RMAN on the Active Data Guard physical standby.
    It is another potential way of unloading of a treatment of the database of the database pending production.

    Active Data Guard is an option to license additional and another that some alter database controls its pretty simple.

    alter database recover managed standby database cancel;
    alter database open; 
    

    http://Oracle.techdata.ch/src/data/PDF/Active_Data_Guard.PDF

    Also worth a visit:

    Bug 7633734 : DG ADMIN PAGE TIME REAL QUERY DISPLAYS OFF WHEN ACTIVE FOR 11.2 DATABASES

    Best regards

    mseberg

  • Unable to put new data using persistence mobile A-team

    Hello

    We have a requirement to create and publish documents in the same page as cat whatsapp. The works of post data beautiful that there existing data. If no data is present, and I'm trying to display the data for the first time, I get an error like "cannot force class oracle.adfmf.util.GenericVirtualType for teamup.mobile.model.Discussion" and of the class he debugging point no method service events increased saveDiscussion. "»

    Button create I have following steps:

    1. action listener - #{bindings. Create.Execute}

    2. set the headset to property - params all service

    3. action listener - #{bindings.saveDiscussion.execute}

    saveDiscussion accepts input param - #{bindings.discussionIterator.currentRow.dataProvider}

    My guess is currently stored is zero first. But I do not know how to set the current row in the iterator on click of a button. Can you please help?

    More details are the following:

    REST service: / projects/getdiscussion/activity/discussion / {username} / {projectId} / {TaskId}

    Parameters defined before you enter the page:

    username: 1

    projectId: #{pageFlowScope.projectId}

    tasktId: #{pageFlowScope.activityId}

    Page 1 we are displaying Master records, click which I'm setting variable values of the child feature of pageFlowscope and displaying records list of the child in Page2. . Details of reference are the following:

    Persistence - mapping.xml:

    <? XML version = "1.0" encoding = "UTF-8"? >

    " < mobileObjectPersistence xmlns =" http://www.Oracle.com/Ateam/mobile/persistenceMapping "> "

    < classMappingDescriptor className = "teamup.mobile.model.ProjectsResponse" persisted = "true" > ""

    "< crudServiceClass className ="teamup.mobile.model.service.ProjectsResponseService"autoIncrementPrimaryKey ="true"localPersistenceManager =" oracle.ateam.sample.mobile.v2.persistence.manager.DBPersistenceManager "remotePersistenceManager =" oracle.ateam.sample.mobile.v2.persistence.manager.RestJSONPersistenceManager"remoteReadInBackground ="true"remoteWriteInBackground ="true"showWebServiceInvocationErrors ="true"autoQuery ="true"/ >"

    < table name = "PROJECTS_RESPONSE" >

    < name primaryKeyColumn = "Project" / >

    < /table >

    < attributeMappings >

    < directMapping attributeName = "projectId" payloadAttributeName = "ProjectId" columnName = "Project" columnDataType = "NUMERIC" required = "true" persisted = "true" javaType = "java.math.BigDecimal" keyAttribute = "true" / > "

    < directMapping attributeName = "projectName" payloadAttributeName = "ProjectName" columnName = "PROJECT_NAME" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "description" payloadAttributeName = "Description" columnName = "DESCRIPTION" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "activeFlag' payloadAttributeName = 'ActiveFlag" columnName = "ACTIVE_FLAG" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "lastUpdatedBy' payloadAttributeName = 'LastUpdatedBy" columnName = "LAST_UPDATED_BY" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "lastUpdateDate" payloadAttributeName = "LastUpdateDate" columnName = "LAST_UPDATE_DATE" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < / attributeMappings >

    <>methods

    < findAllMethod uri connectionName = "/ project/getprojects/projects/1" = "MyTask" requestType = 'GET' guaranteed = "false" sendDataObjectAsPayload = "false" deleteLocalRows = "true" payloadElementName = "ProjectsResponse" >

    < name headerParameter = "Content-Type" value = "application/json" / >

    < / findAllMethod >

    < / methods >

    < / classMappingDescriptor >

    < classMappingDescriptor className = "teamup.mobile.model.TeamMember" persisted = "true" > ""

    "< crudServiceClass className ="teamup.mobile.model.service.TeamMemberService"autoIncrementPrimaryKey ="true"localPersistenceManager =" oracle.ateam.sample.mobile.v2.persistence.manager.DBPersistenceManager "remotePersistenceManager =" oracle.ateam.sample.mobile.v2.persistence.manager.RestJSONPersistenceManager"remoteReadInBackground ="true"remoteWriteInBackground ="true"showWebServiceInvocationErrors ="true"autoQuery ="true"/ >"

    < table name = "TEAM_MEMBER" >

    < name primaryKeyColumn = "USER_ID" / >

    < /table >

    < attributeMappings >

    < directMapping attributeName = "userId" payloadAttributeName = "USER_ID" columnName = "USER_ID" = "NUMERIC" required = "true" columnDataType persisted = "true" javaType = "java.math.BigDecimal" keyAttribute = "true" / > "

    < directMapping attributeName = "userName" payloadAttributeName = "Username" columnName = "Username" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "projectTeamMemberId" payloadAttributeName = "PROJECT_TEAM_MEMBER_ID" columnName = "PROJECT_TEAM_MEMBER_ID" columnDataType = "NUMERIC" required = "false" persisted = "true" javaType = "java.math.BigDecimal" keyAttribute = "false" / > "

    < directMapping attributeName = "lastName", payloadAttributeName = "Name" columnName = "LAST_NAME" = "VARCHAR" required = "false" columnDataType persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "firstName" payloadAttributeName = "First name" columnName = "Name" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < / attributeMappings >

    <>methods

    < findAllMethod uri connectionName = "/ user/getteammember/members/1" = "MyTask" requestType = 'GET' guaranteed = "false" sendDataObjectAsPayload = "false" deleteLocalRows = "true" payloadElementName = "TeamMember" >

    < name headerParameter = "Content-Type" value = "application/json" / >

    < / findAllMethod >

    < / methods >

    < / classMappingDescriptor >

    < className = classMappingDescriptor "teamup.mobile.model.Task ' persisted 'true' orderBy = 'START_DATE' = >" "

    "< crudServiceClass className ="teamup.mobile.model.service.TaskService"autoIncrementPrimaryKey ="true"localPersistenceManager =" oracle.ateam.sample.mobile.v2.persistence.manager.DBPersistenceManager "remotePersistenceManager =" oracle.ateam.sample.mobile.v2.persistence.manager.RestJSONPersistenceManager"remoteReadInBackground ="true"remoteWriteInBackground ="true"showWebServiceInvocationErrors ="true"autoQuery ="true"/ >"

    < table name = "TASK" >

    < name primaryKeyColumn = "ACTIVITY_ID" / >

    < name primaryKeyColumn = "PROJECTID" / >

    < /table >

    < attributeMappings >

    < directMapping attributeName = "activityId" payloadAttributeName = "ACTIVITY_ID" columnName = "ACTIVITY_ID" columnDataType = "NUMERIC" required = "true" = "true" javaType = persisted "java.math.BigDecimal" keyAttribute = "true" / > "

    < directMapping attributeName = "projectid" payloadAttributeName = "PROJECTID" columnName = "PROJECTID" columnDataType = "NUMERIC" required = "true" persisted = "true" javaType = "java.math.BigDecimal" keyAttribute = "true" / > "

    < directMapping attributeName = "activityName" payloadAttributeName = "ACTIVITY_NAME" columnName = "ACTIVITY_NAME" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "description" payloadAttributeName = "DESCRIPTION" columnName = "DESCRIPTION" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "parentActivityId" payloadAttributeName = "PARENT_ACTIVITY_ID" columnName = "PARENT_ACTIVITY_ID" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = 'status' payloadAttributeName = 'STATUS' columnName = 'STATUS' columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "priority" payloadAttributeName = "PRIORITY" columnName = "PRIORITY" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "percentageComplete" payloadAttributeName = "PERCENTAGE_COMPLETE" columnName = "PERCENTAGE_COMPLETE" columnDataType = "NUMERIC" required = "false" persisted = "true" javaType = "java.math.BigDecimal" keyAttribute = "false" / > "

    < directMapping attributeName = "startDate" payloadAttributeName = "START_DATE" columnName = "START_DATE" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "endDate" payloadAttributeName = "End_date" columnName = "End_date" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = 'eta' payloadAttributeName = 'ETA' columnName = 'ETA' columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "estimatedHours" payloadAttributeName = "ESTIMATED_HOURS" columnName = "ESTIMATED_HOURS" columnDataType = "NUMERIC" required = "false" persisted = "true" javaType = "java.math.BigDecimal" keyAttribute = "false" / > "

    < directMapping attributeName = "actualHours" payloadAttributeName = "ACTUAL_HOURS" columnName = "ACTUAL_HOURS" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "ownerUserId" payloadAttributeName = 'OWNER_USER_ID' columnName = 'OWNER_USER_ID' columnDataType = "NUMERIC" required = "false" persisted = "true" javaType = "java.math.BigDecimal" keyAttribute = "false" / > "

    < directMapping attributeName = "createdBy" payloadAttributeName = 'CREATED_BY' columnName = 'CREATED_BY' columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "creationDate" payloadAttributeName = 'CREATION_DATE' columnName = 'CREATION_DATE' columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "lastUpdatedBy" payloadAttributeName = "LAST_UPDATED_BY" columnName = "LAST_UPDATED_BY" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "lastUpdateDate" payloadAttributeName = "LAST_UPDATE_DATE" columnName = "LAST_UPDATE_DATE" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "comments" payloadAttributeName = "COMMENTS" columnName = "COMMENTS" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "discussionCount" payloadAttributeName = "DISCUSSION_COUNT" columnName = "DISCUSSION_COUNT" columnDataType = "NUMERIC" required = "false" persisted = "true" javaType = "java.math.BigDecimal" keyAttribute = "false" / > "

    < directMapping attributeName = "favoriteFlag" payloadAttributeName = "FAVORITE_FLAG" columnName = "FAVORITE_FLAG" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < oneToManyMapping attributeName = "taskAssignment" payloadAttributeName = "TaskAssignment" referenceClassName = "teamup.mobile.model.TaskAssignment" sendAsArrayIfOnlyOneEntry = "true" > "

    < foreignKeyColumnReference sourceTable = sourceColumn "TASK_ASSIGNMENT" = "TASK_ACTIVITY_ID" targetTable = "TASK" targetColumn = "ACTIVITY_ID" / >

    < / oneToManyMapping >

    ' < attributeName = "discussion" accessorMethod = oneToManyMapping "/ projects/getdiscussion/activity/discussion / {username} / {projectId} / {TaskId}" referenceClassName = "teamup.mobile.model.Discussion" sendAsArrayIfOnlyOneEntry = "true" >

    < foreignKeyColumnReference sourceTable = "DISCUSSION" sourceColumn = "ACTIVITY_ID" targetTable = "TASK" targetColumn = "ACTIVITY_ID" / >

    < foreignKeyColumnReference sourceTable = "DISCUSSION" sourceColumn = "Project" = "TASK" = 'PROJECTID' targetColumn targetTable / >

    < / oneToManyMapping >

    < / attributeMappings >

    <>methods

    < findAllMethod uri = "newgettasks/projects / / projects/activities / {username}" connectionName = "MyTask" requestType = 'GET' guaranteed = "false" sendDataObjectAsPayload = "false" deleteLocalRows = "true" payloadElementName = "Task" > "

    < name headerParameter = "Content-Type" value = "application/json" / >

    < parameter name = value 'userId' = '1' valueProvider = 'LiteralValue"pathParam ="true"/ >

    < / findAllMethod >

    < createMethod uri connectionName = "/ projects/newposttask/activity" = "MyTask" requestType = 'POST' guaranteed = "false" sendDataObjectAsPayload = "true" payloadElementName = "Task" >

    < name headerParameter = "Content-Type" value = "application/json" / >

    < / createMethod >

    < updateMethod uri connectionName = "/ projects/newputtask/activity" = "MyTask" requestType = 'PUT' secure = "false" sendDataObjectAsPayload = "true" payloadElementName = "Task" >

    < name headerParameter = "Content-Type" value = "application/json" / >

    < / updateMethod >

    < / methods >

    < / classMappingDescriptor >

    < classMappingDescriptor className = "teamup.mobile.model.TaskAssignment" persisted = "true" > ""

    < className = crudServiceClass "teamup.mobile.model.service.TaskService" autoIncrementPrimaryKey = "true" / > "

    < table name = "TASK_ASSIGNMENT" >

    < name primaryKeyColumn = "ASSIGNMENT_ID" / >

    < /table >

    < attributeMappings >

    < directMapping attributeName = "assignmentId" payloadAttributeName = "ASSIGNMENT_ID" columnName = "ASSIGNMENT_ID" columnDataType = "NUMERIC" required = "true" = "true" javaType = persisted "java.math.BigDecimal" keyAttribute = "true" / > "

    < directMapping attributeName = "projectTeamMemberId" payloadAttributeName = "PROJECT_TEAM_MEMBER_ID" columnName = "PROJECT_TEAM_MEMBER_ID" columnDataType = "NUMERIC" required = "false" persisted = "true" javaType = "java.math.BigDecimal" keyAttribute = "false" / > "

    < directMapping attributeName = "startDate" payloadAttributeName = "START_DATE" columnName = "START_DATE" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "endDate" payloadAttributeName = "End_date" columnName = "End_date" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "createdBy" payloadAttributeName = 'CREATED_BY' columnName = 'CREATED_BY' columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "creationDate" payloadAttributeName = 'CREATION_DATE' columnName = 'CREATION_DATE' columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "lastUpdatedBy" payloadAttributeName = "LAST_UPDATED_BY" columnName = "LAST_UPDATED_BY" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "lastUpdateDate" payloadAttributeName = "LAST_UPDATE_DATE" columnName = "LAST_UPDATE_DATE" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "favoriteFlag" payloadAttributeName = "FAVORITE_FLAG" columnName = "FAVORITE_FLAG" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    "< directMapping attributeName ="taskActivityId"columnName ="TASK_ACTIVITY_ID"columnDataType ="NUMERIC"required ="false"persisted = 'true' parentClass ="teamup.mobile.model.Task"parentAttributeName ="activityId"javaType =" java.math.BigDecimal "keyAttribute ="false"/ >

    < / attributeMappings >

    < methods / >

    < / classMappingDescriptor >

    < classMappingDescriptor className = "teamup.mobile.model.Discussion" persisted = "true" > ""

    "< crudServiceClass className ="teamup.mobile.model.service.DiscussionService"autoIncrementPrimaryKey ="true"localPersistenceManager =" oracle.ateam.sample.mobile.v2.persistence.manager.DBPersistenceManager "remotePersistenceManager =" oracle.ateam.sample.mobile.v2.persistence.manager.RestJSONPersistenceManager"remoteReadInBackground ="true"remoteWriteInBackground ="true"showWebServiceInvocationErrors ="true"autoQuery ="true"/ >"

    < table name 'DISCUSSION' = >

    < name primaryKeyColumn = "DISCUSSION_ID" / >

    < /table >

    < attributeMappings >

    < directMapping attributeName = 'discussionId' payloadAttributeName = "DISCUSSION_ID" columnName = "DISCUSSION_ID" columnDataType = "NUMERIC" required = "true" = "true" javaType = persisted "java.math.BigDecimal" keyAttribute = "true" / > "

    < directMapping attributeName = "activityId" payloadAttributeName = "ACTIVITY_ID" columnName = "ACTIVITY_ID" columnDataType = "NUMERIC" required = "false" persisted = "true" javaType = "java.math.BigDecimal" keyAttribute = "false" / > "

    < directMapping attributeName = "discussionDate" payloadAttributeName = "DISCUSSION_DATE" columnName = "DISCUSSION_DATE" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "userId" payloadAttributeName = "USER_ID" columnName = "USER_ID" = "NUMERIC" required = "false" columnDataType persisted = "true" javaType = "java.math.BigDecimal" keyAttribute = "false" / > "

    < directMapping attributeName = "discussionMessage" payloadAttributeName = "DISCUSSION_MESSAGE" columnName = "DISCUSSION_MESSAGE" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "createdBy" payloadAttributeName = 'CREATED_BY' columnName = 'CREATED_BY' columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "creationDate" payloadAttributeName = 'CREATION_DATE' columnName = 'CREATION_DATE' columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "lastUpdatedBy" payloadAttributeName = "LAST_UPDATED_BY" columnName = "LAST_UPDATED_BY" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "lastUpdateDate" payloadAttributeName = "LAST_UPDATE_DATE" columnName = "LAST_UPDATE_DATE" columnDataType = "VARCHAR" required = "false" persisted = "true" javaType = "java.lang.String" keyAttribute = "false" / > "

    < directMapping attributeName = "projectId" payloadAttributeName = "Project" columnName = "Project" columnDataType = "NUMERIC" required = "false" persisted = "true" javaType = "java.math.BigDecimal" keyAttribute = "false" / > "

    < / attributeMappings >

    <>methods

    < findAllMethod uri = "/ projects/getdiscussion/activity/discussion / {username} / {projectId} / {TaskId}" connectionName = "MyTask" requestType = 'GET' guaranteed = "false" sendDataObjectAsPayload = "false" deleteLocalRows = "true" payloadElementName = "Discussion" > "

    < parameter name = value 'userId' = '1' valueProvider = 'LiteralValue"pathParam ="true"/ >

    < name of the parameter = value = "#{pageFlowScope.projectId"projectId"}" valueProvider = "ELExpression" dataObjectAttribute = 'discussionId' pathParam = "true" / > "

    < name of the parameter = "TaskId" value = "#{pageFlowScope.activityId}" valueProvider = "ELExpression" dataObjectAttribute = "activityId" pathParam = "true" / > "

    < / findAllMethod >

    < name findAllInParentMethod = "discussion" uri = "/ projects/getdiscussion/activity/discussion / {username} / {projectId} / {TaskId}" connectionName = "MyTask" requestType = 'GET' guaranteed = "false" sendDataObjectAsPayload = "false" payloadElementName = "Discussion" > "

    < parameter name = value 'userId' = '1' valueProvider = 'LiteralValue"pathParam ="true"/ >

    < parameter name = value 'projectId' = '1' valueProvider = 'LiteralValue"pathParam ="true"/ >

    < parameter name = value "TaskId" = "176" valueProvider = "LiteralValue" pathParam = "true" / >

    < / findAllInParentMethod >

    < createMethod uri = "/ projects/newpostdiscussion/discussion" connectionName = "MyTask" requestType = 'POST' guaranteed = "false" sendDataObjectAsPayload = "true" payloadElementName = "Discussion" >

    < name headerParameter = "Content-Type" value = "application/json" / >

    < / createMethod >

    < / methods >

    < / classMappingDescriptor >

    < classMappingDescriptor className = "oracle.ateam.sample.mobile.v2.persistence.service.DataSynchAction" dateFormat 'dd-MMM-yyyy' = > "

    < table name = "DATA_SYNCH_ACTIONS" >

    < name primaryKeyColumn = "SERVICE_CLASS_NAME" / >

    < name primaryKeyColumn = "ID" / >

    < /table >

    < attributeMappings >

    < directMapping attributeName = "id" columnName = "ID" columnDataType = "NUMERIC" required = "true" javaType = "java.lang.Integer" keyAttribute = "true" / > "

    < directMapping attributeName = "serviceClass" columnName = "SERVICE_CLASS_NAME" columnDataType = "VARCHAR" required = "true" javaType = "java.lang.String" keyAttribute = "true" / > "

    < directMapping attributeName = "entityClassString" columnName = "ENTITY_CLASS_NAME" columnDataType = "VARCHAR" javaType="java.lang.String"/ >

    < directMapping attributeName = "entityAsJSONString" columnName = "JSON_PAYLOAD" columnDataType = "VARCHAR" javaType="java.lang.String"/ >

    < attributeName = "action" columnName = 'ACTION' columnDataType directMapping = 'VARCHAR' javaType="java.lang.String"/ >

    < attributeName = "dateCreated" columnName directMapping = 'DATE_CREATED' columnDataType = 'DATE' javaType="java.util.Date"/ >

    < attributeName = "lastSynchAttempt" columnName directMapping = "DATE_LAST_SYNCH" columnDataType = "DATE" javaType="java.util.Date"/ >

    < directMapping attributeName = "lastSynchError" columnName = "LAST_SYNCH_ERROR" columnDataType = "VARCHAR" javaType="java.lang.String"/ >

    < directMapping attributeName = "customMethodName" columnName = "CUSTOM_METHOD_NAME" columnDataType = "VARCHAR" javaType="java.lang.String"/ >

    < / attributeMappings >

    < / classMappingDescriptor >

    < / mobileObjectPersistence >

    Page1:

    < amx:commandLink id = "cl4" action = "toDiscussion".

    Disabled = "false" >

    "< amx:setPropertyListener from =" #{row.rowKey} "to =" #{pageFlowScope.rowKey} ".

    ID = "spl8" / >

    < amx:actionListener binding = "#{bindings.setCurrentRowWithKey.execute} '"

    ID = "al3" / >

    < amx:outputHtml id = "oh3" styleClass = "comment-fa fa fa - lg.

    inlineStyle = "' color: #87CEFA;" / > "

    < messageCount:badge id = "badge" class = "notification icon".

    unread = "#{row." Bindings.discussionCount} "/ >"

    < amx:setPropertyListener id = from = "#{row.activityId"spl5"} '"

    to = "#{pageFlowScope.ActivityId}" type = "action" / > "

    < amx:setPropertyListener id = from = "#{row.projectid"spl2"} '"

    to = "#{pageFlowScope.ProjectId}" type = "action" / > "

    < amx:actionListener binding = "#{bindings.findAllDiscussionRemote.execute} '"

    ID = 'al5' / >

    < / amx:commandLink >

    Page 2 - ERROR is PRODUCT HERE:

    < amx:commandLink id = "cl4" inlineStyle = "margin-left: 10px;" Width: auto; »

    action = "Refresh" >

    "< amx:image id = 'i1' source="/images/msg_sent.png ' inlineStyle = ' height: 32px; Width: 32px; "/ >

    < amx:actionListener id = "al1" binding = "#{bindings." Create.Execute} "/ >"

    < amx:actionListener id = binding="#{pageFlowScope.DiscussionsBean.setCurrentDate}"/ "al3" >

    < amx:setPropertyListener id = "spl1" from = "1".

    to="#{bindings.ProjectId.inputValue}"/ >

    < amx:setPropertyListener id = from = "#{pageFlowScope.discussionMessage"spl5"} '"

    to="#{bindings.discussionMessage.inputValue}"/ >

    < amx:setPropertyListener id = to = "#{bindings.userId.inputValue"spl2"}" from = "1" / > "

    < amx:actionListener id = binding="#{bindings.saveDiscussion.execute}"/ "al2" >

    "" < amx:setPropertyListener id = "spl3" from = ""

    to = "#{pageFlowScope.discussionMessage}" / >

    < / amx:commandLink >

    Please let me know if you need further information.

    Thank you

    Vignesh

    Vignesh,

    In this scenario, it is easier to add a custom "saveNewDiscussion" method to the service class that takes the text of discussion as a string argument.

    Then you can drag and drop this method as a form on the page that will give you an input field text for the text of the discussion. The button you will get will call the method and the PSA on the text of the discussion.

    The code for this method looks like this (I assume that your entity is named "Discussion"):

    public void saveNewDiscussion (String text)

    {

    Discussion discussion = EntityUtils.getNewEntityInstance (Discussion.class);

    discussion.setText (text);

    saveDiscussion (discussion);

    refreshEntityList (executeLocalFindAll ());

    }

    This method registers the new discussion and then refreshes the list of discussion by the first poll of the local SQLite database.

    This avoids that your problems with the operation of creation and of the current line.

    Steven Davelaar,

    Oracle Mobile A-team.

  • Template file - y at - it an easy way to update the files related to a model, and download them (put) at the same time?

    First of all, I am a user of Adobe software for 20 years now.  I love the adobe range. I want to just clarify.

    Question... Template Files - y at - it an easy way to update the files related to a model, and download them (put) at the same time?

    Its been bothering me since I started using Dreamwever 10 years now, when you use template files to create small, who later turn wholesale websites. Whenever I update a template file I have to find each file in the files Panel, then download them. When I navigate through a lot of directories to find it can get a lot of time and boring.  Whey cant be just a button that does it? See the attached file.

    Is there a way to do this?  Any help would be appreciated.

    Thank you very much

    Andy

    Dreamweaver-Updated-Template-File.jpg

    The sync tool should do what you want (second "circular arrows" icon in the files window).

    Who checks your files against the files of the current server and download all that is changed. By default, is also download any file from the server which is more recent than your local files at the same time, but you can set it to 'Put the latest files remotely' rather than 'get and put newer files' and you should be good to go.

  • Active Dataguard

    If I check allows you to select on the active dataguard, which is currently used, real time reporting - this possible with audit_trail = XML?

    Thank you

    Create the user on the primary:

    CREATE USER TIGER
      IDENTIFIED BY SCOTT
      DEFAULT TABLESPACE USERS
      TEMPORARY TABLESPACE TEMP
      PROFILE DEFAULT
      ACCOUNT UNLOCK;
    
      GRANT CREATE SESSION TO TIGER;
    

    Make sure that session of checking is enabled and pass the journal:

    audit create session;
    
    alter system switch logfile;
    

    On the primary and Standby audit_trail set of databases:

    alter system set audit_trail='XML' scope=spfile;
    

    Primary Stutdown:

    shutdown immediate;
    

    On sleep cancel the recovery and stop:

    SQL> alter database recover managed standby database cancel;
    
    Database altered.
    
    SQL> shutdown
    

    Starting primary school:

    startup;
    

    On the start Active Data Guard

    startup
    
    recover managed standby database using current logfile disconnect;
    Media recovery complete.
    

    In a separate terminal connect you under the Tiger user.

    As SYS to audit the session on implementing checking to standby

    SELECT A.USERNAME,
        OS_USERNAME,
        A.TIMESTAMP,
        A.RETURNCODE,
        TERMINAL,
        USERHOST
        FROM DBA_AUDIT_SESSION A
    WHERE USERNAME = 'TIGER' ;
    
    no rows selected
    
    SQL> 
    

    Planned, data is always READ_ONLY

    Check the XML file in the standby mode:

    File : standby_ora_12472_1.xml
    
    Shows
    
    DB_User TIGER DB_User
    

    Format changed to OTN.

    So there is hope!

    The file showed too much my office name and IP address.

    Additional items in the audit XML file

    DB_User ( TIGER )
    OS_User
    Userhost
    DBID
    Audit_Type ( SESSION ID)
    

    Best regards

    mseberg

    Published by: mseberg on 27 Sep, 2011 14:22

  • Choose the mode of protection of active dataguard

    Hi gurus,

    I'm confused with dataguard Active Setup mode - what do I have to configure physical shall make use of an actress dataguard. I know that I can even use ensures maximum performance with redolog for real-time query. But what is the minimum protection mode to run active dataguard.

    How can I configure a delay of 1 hour for active dataguard in GR 11, 2?

    Thank you

    You said:
    >
    By default, Dataguard is in maximum performance mode... We can define the time of one hour by setting the
    LOG_ARCHIVE_DEST_2 = 'service = to_standby lgwr async affirm reopen = 60'
    or
    LOG_ARCHIVE_DEST_2 = 'service = to_standby lgwr async delay = 60'
    >

    I'm sorry, but your first log_archive_dest_2 value is not correct:
    The combination of ASYNC & AFFIRM is not taken in charge and not sensitive; REOPEN = 60 will not delay applying it again

    See here for a good explanation of log_archive_dest_n:
    http://download.Oracle.com/docs/CD/E11882_01/server.112/e17110/initparams121.htm

    Kind regards
    Uwe Hesse

    http://uhesse.WordPress.com

  • New configuration of Time machine

    My present external HD do not work. I need a new one for time machine.

    Ive ordered a new d2 quadra HD Laetitia.

    The new rebel is supplied with the software for installation and other maintenance actions.

    I don't know what kind of file system is in the rebel.

    1, do I need to format the new Laetitia before except that it for time machine?

    2, the rebel can work as a machine of time if not formatted and leave these files in the State?

    3, is time machine knows what it is to the AutoFormat and Laetitia it?

    Thank you

    When you get the Lacie, connect it to the iMac and launch disk utility.  Use to format the new DHM as Mac OS extended (journaled), that it is used with your iMac reformatted and it will totally wipe clean. DO NOT use any software of Lacie.

    Once the EHD are format Mac OS extended (journaled) Time Machine should start and invite you to use the new DHM as your TM drive. From there, follow the onscreen controls. You can learn more about TM to use Time Machine to back up or restore your Mac - Apple Support

  • Firefox 5.0.1 open Web site automatically to a new tab from time to time which is very annoying

    I have Firefox version 5.0.1 on MS windows XP. My problem is that Firefox opens a Web site automatically in a new tab from time to time, which is very annoying.
    I scanned my computer against virus and malware using a lot of programs, but this has not fixed this annoying problem.

    Web sites that open automatically are:

    - http://www.netadfusion.info/r.php
    - http://www.humananatomycourse.com/
    - http://www.lonelylonelylonely.com/
    

    No idea how to solve this problem?

    you have installed net Cup Defender I guess was completely uninstall it and the browser hijack check that you have removed the following files.

    • Itemc:\Documents and Settings\All Users\Menu bulleted list

    Arcai.com\netcutdefender help.url Menu\Programs\

    • ItemC:\Documents and Settings\All Users\Menu bulleted list

    Arcai.com\netcutdefender.lnk Menu\Programs\

    • ItemC:\Documents and Settings\All Users\Menu Menu\Programs\arcai.com\Uninstall bulleted list

    netcutdefender.lnk

    • ItemC:\Documents and Settings\All Users\Menu bulleted list

    Menu\Programs\arcai.com------www.arcai.com.url

    • ItemC:\Documents and Settings\All Users\Menu Menu\Programs\WinPcap\Uninstall bulleted list

    WinPcap 4.1.2.lnk

    • ItemC:\Documents and Settings\All Users\Menu Menu\Programs\WinPcap\WinPcap Web bulleted list

    Site.URL

    • ItemC:\Documents and James Data\Microsoft\Internet bulleted list

    Explorer\Quick Launch\Arcai.comof Netcut - Defender.lnk

    • ItemC:\Documents and Settings\James\Desktop\netcutdefender Seekmo bulleted list
    • ItemC:\Documents and Settings\James\Desktop\NetcutDefender.lnk bulleted list
    • ItemC:\Documents and Settings\LocalService\Favorites\Desktop.ini bulleted list
    • ItemC:\Program Seekmo bulleted list
    • Bulleted itemC:\Program
    • Bulleted itemC:\Program
    • Bulleted itemC:\Program
    • Bulleted itemC:\Program
    • Bulleted itemC:\Program
    • Bulleted itemC:\Program
    • Bulleted itemC:\Program
    • Bulleted itemC:\Program
    • Bulleted itemC:\Program
    • Bulleted itemC:\Program
    • Bulleted itemC:\Program
    • Bulleted itemC:\WINDOWS\is-NAN8L.exe
    • Bulleted itemC:\WINDOWS\is-NAN8L.lst
    • Bulleted itemC:\WINDOWS\is-NAN8L.msg
    • ItemC:\WINDOWS\Prefetch\PRA bulleted list. EXE - 2FE32670.pf
    • ItemC:\WINDOWS\Prefetch\NETCUTDEFENDER bulleted list. EXE - 00ADBCA2.pf
    • ItemC:\WINDOWS\Prefetch\NETCUTDEFENDER bulleted list. EXE - 2CCAA66B.pf
    • ItemC:\WINDOWS\Prefetch\NETCUTDEFENDER bulleted list. TMP - 07E4DB34.pf
    • ItemC:\WINDOWS\Prefetch\WINPCAP bulleted list. EXE - 31529284.pf
    • Bulleted itemC:\WINDOWS\system32\activepacket.dll
    • Bulleted itemC:\WINDOWS\system32\actskn43.ocx
    • Bulleted itemC:\WINDOWS\system32\drivers\npf.sys
    • Bulleted itemC:\WINDOWS\system32\Packet.dll
    • Bulleted itemC:\WINDOWS\system32\pthreadVC.dll
    • Bulleted itemC:\WINDOWS\system32\wpcap.dll

    This will stop and remove netcut and the problem of redirection.
    I tested in vmware and I sent the guy who did netcut and also posted it on cnet downloads.

    No antivurs or malware program it will pick up, I think that it down to the activepacket.dll

    This guy mentions the http://www.allmoreinfo.com/wow-netcut-defender-2-1-2-with-new-feature.html down problem

  • The sign '+' opens NEW TAB stopped working. I have to open a new window each time. I tried to uninstall firefox and install again but the problem persists. Someone guide me on this.

    The sign '+' opens NEW TAB stopped working suddenly. I have to open a new window each time. I tried to uninstall firefox and install again but the problem persists. Someone guide me on this.

    Your agent uisr string is "Mozilla/5.0 (Windows;" U; Windows NT 5.1; en-US; (RV:1.9.2.15) gecko/20110303 AskTbMPC2/3.11.0.15286 Firefox/3.6.15 ', the part of AskTbMPC2 shows you have the toolbar installed Ask. Some third-party programs will add the Ask toolbar.

  • Even if I put new ink cartridges in the windo continues to show low ink I can do to fix this?

    How can I change the view of low ink even though I put new cartridges in?

    Hello

    What is brand and model printer?

    Method 1: Run the fixit

    Diagnose and automatically fix the problems of the printer and printing http://support.microsoft.com/mats/printing_problems/.

     

    Method 2:

    See the following Microsoft article:

    Resources for the resolution of the printer in Windows XP problems

    http://support.microsoft.com/kb/308028.

    Method 3: Update the drivers

    a. click Start, click runand type devmgmt.msc and press enter

    b. right click on the device driver you want to update

    c. click put to update driver and follow the instructions in the wizard.

    If the problem persists I suggest you please contact the manufacturer.

     

  • How can I get windows xp to open a new window each time?

    How can I get windows xp to open in a new window every time

    Hello

    Please continue with the following steps to support...

    Click on 'Tools' > Options preferences > Options > Tabs panel > tabbed browsing

    You should be able to specify a new window when you click on a link.  I hope that this information is beneficial.

    http://support.Mozilla.com/en-us/KB/menu%20Reference#w_48optionssf-49preferencessf

    Thank you

    Aaron
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • I had to put new hard shore Studio dell with vista. How can I put the toolbar back across the top of the desktop? I thought it was called a Ribbon?

    I had to put new hard shore Studio dell with vista. How can I put the toolbar back across the top of the desktop? I thought it was called a Ribbon?

    A question = a post in these Forums.

    http://social.answers.Microsoft.com/forums/en-us/vistaappearance/thread/465e87c6-5289-4027-B414-7251bdfecc0e

    Answered in another Thread.

    Mick Murphy - Microsoft partner

  • I have lot to save my adobe photoshop cs6, when I try it starts to load then stops and gives me the message "the activation system is not available at this time." What should I do if I continue to use my photoshop?

    can you help me register my creative suite premium adobe cs6?

    I have lot to save my adobe photoshop cs6, when I try it starts to load then stops and gives me the message "the activation system is not available at this time." What should I do if I continue to use my photoshop?

    Check your hosts file.

    help for that and other adobe.com sure common connection problems read, http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

  • How edit, delete and put new photos in an album on Adobe Revel?

    How edit, delete and put new photos in an album on Adobe Revel?

    HI Margaret

    Take a look at these links, I think that this covers your questions:

    Guinot

    DELETE

    FAQ? How can I delete a file at Revel?
    http://forums.Adobe.com/thread/1162793?TSTART=0

    Share
    FAQ: How do I share my pictures to Revel?
    http : / / forums.adobe. com / message/5092831 #5092831

    DOWNLOAD
    FAQ: How can I add files (upload) of Revel?
    http : / / forums.adobe. com /thread/1162795? TSTART =0

    DOWNLOAD
    FAQ: How to download files from Revel?
    http : / / forums.adobe. com /thread/1166462? TSTART =0

    EDIT

    FAQ: How can I change the pictures at Revel?
    http : / / forums.adobe. com / message/5088287 #5088287

Maybe you are looking for