在owb11.2组件上部署执行owb
实验环境:oracle提供的owb示例文件owbdemo_files11.1 在owb11.2软件上运行。 常见错误 : (0)、 将目标用户和工作流用户owf_mgr设置成为owb用户(使用owb安全ui),否则部署时分别提示rpe-2260和1012。 (1)RPE-02072: 在 Oracle Workflow 资料档案库中
实验环境:oracle提供的owb示例文件owbdemo_files11.1 在owb11.2软件上运行。
常见错误:
(0)、
将目标用户和工作流用户owf_mgr设置成为owb用户(使用owb安全ui),否则部署时分别提示rpe-2260和1012。
(1)RPE-02072: 在 Oracle Workflow 资料档案库中尚未启用 Oracle Workflow NLS 语言 ZHS。请使用 Oracle Workflow wfnlena.sql 服务器端脚本启用该语言。
[sql] view plaincopy
- C:\oracle\product\10.2.0\db_1\wf\admin\sql>sqlplus owf_mgr/owf_mgr @wfnlena.sql ZHS Y
注意路径。
(2)、ora-06550:package body,line 321 column 7:PL/SQL:ora-02289:序列不存在。
部署维时遇到上述错误提示。
因为维里用到了序列,所以部署维前要先部署序列。即解决方法:部署序列,再部署维。
(3)、PL/SQL:ora-00942:表或视图不存在。
部署映射遇到上述错误提示。
因为在映射里是将源数据库模块里的表的数据传送给目标数据库模块上的表,故而部署时目标用户要访问源数据库模块上的表,若此时目标用户没有访问源数据库模块上表的select权限的话,就会提示上述错误。总之,发生ora-00942:表或视图不存在,一般都是因为用户没有权限。解决方法:grant
select on 源数据库模块上表 to
目标用户;
(4)、
部署load_sales时,提示
两个变量的数据类型【 (NUMERIC)和 (DATE)】 提示 数据不兼容,例如:
VLD-1011: Der Datentyp von OUTGRP1.FINISH_MONTH in AGGREGATOR (NUMERIC) ist nicht mit dem Datentyp von SALES.TIMES_CAL_MONTH_START_DATE in SALES_OUT (DATE) kompatibel.
两个变量的数据类型【 (NUMERIC)和 (varchar2)】 提示 数据不匹配,例如:
VLD-1001: The datatype of INOUTGRP1.NAME in TABLE_SRC (NVARCHAR) does not match the datatype of INOUTGRP1.NAME in TABLE_STG (VARCHAR)
数据不匹配(告警)是可以进行隐式数据类型转换的,故而不用处理也可以的; 数据不兼容(错误),则要进行处理,具体如下:
在设计中心界面上,打开映射load_sales,将组outgrp1里finished_month的表达式从TO_NUMBER(TO_CHAR( INGRP1.ORDER_FINISHED, ''MMYYYY''),''999999'')'【为NUMBER类型,该类型与date类型不兼容引起VLD-1011错误】改为的ingrp.finish_month【date类型】。
执行load_sales时,提示ora-02291:违反完整性约束条件(sales_wh.sales_times_fk)-未找到父项关键字,
这个意思是说数据库用户sales_wh下的外键约束对象sales_times_fk所管理的表上的那个列,该列里的有些值不存在于其所引用的表上的列里的值。
查询两个与约束相关的视图user_cons_columns和user_constrains,可知表sales上的列times引用了表times上的列cal_month_start_date。
在设计中心界面上,打开映射load_sales,可以看出,xsales.表orders下的列order_finished(date类型)里的值通过一系列中间环节最后会传送给方体sales对应的方体运算符里的列time_cal_month_start_date。从time_cal_month_start_date这个名字可以看出,这个列存放的值在逻辑业务上的意义为一个月开始的那一天,即如3月1号等,所以映射load_sales里的to_num_expr运算符里的组outgrp1上的finish_month无论是load_sales.tcl脚本里原来的TO_NUMBER(TO_CHAR( INGRP1.ORDER_FINISHED, ''MMYYYY''),''999999'')'【为NUMBER类型,该类型与date类型不兼容引起VLD-1011错误】,还是后来自己改为的ingrp.finish_month【date类型】,在逻辑业务上的意义都不是表示一个月开始的那一天,故而最后改为to_date(`01-‘||to_char(INGRP1.ORDER_FINISHED,‘month-YY’))【date类型】。
还有,把时间维里的开始时间定为1998,年数定为4。这个修改可以在设计中心界面上,选中时间维times,右键选择打开,在名称选项卡上进行修改;也可以直接修改dim_times.tcl脚本,将里面的 POPULATE DATA FROM 2001 FOR 1 YEARS 改为
POPULATE DATA FROM 1998 FOR 4 YEARS。因为
xsales.表orders下的列order_finished(date类型)里的值跨度从1998年到2002年的。
这样,xsales.表orders下的列order_finished(date类型)里的值通过一系列中间环节变化了的值,最后传送给方体sales对应的方体运算符里的列time_cal_month_start_date,而这些变化了的值每一个都会在表times上的列cal_month_start_date里存在的。
参考:
<span>插入的数据<strong> 如果某个字段是外键 那么该值要么为空 要么在主键表中 有对应的主键值</strong> 否则 就不满足参照完整性约束</span>
外键约束ORA-02291错误的原因以及解决方法

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Windows Recovery Environment (WinRE) is an environment used to repair Windows operating system errors. After entering WinRE, you can perform system restore, factory reset, uninstall updates, etc. If you are unable to boot into WinRE, this article will guide you through fixes to resolve the issue. Unable to boot into the Windows Recovery Environment If you cannot boot into the Windows Recovery Environment, use the fixes provided below: Check the status of the Windows Recovery Environment Use other methods to enter the Windows Recovery Environment Did you accidentally delete the Windows Recovery Partition? Perform an in-place upgrade or clean installation of Windows below, we have explained all these fixes in detail. 1] Check Wi

Many users always encounter some problems when playing some games on win10, such as screen freezes and blurred screens. At this time, we can solve the problem by turning on the directplay function, and the operation method of the function is also Very simple. How to install directplay, the old component of win10 1. Enter "Control Panel" in the search box and open it 2. Select large icons as the viewing method 3. Find "Programs and Features" 4. Click on the left to enable or turn off win functions 5. Select the old version here Just check the box

1. Introduction Over the past few years, YOLOs have become the dominant paradigm in the field of real-time object detection due to its effective balance between computational cost and detection performance. Researchers have explored YOLO's architectural design, optimization goals, data expansion strategies, etc., and have made significant progress. At the same time, relying on non-maximum suppression (NMS) for post-processing hinders end-to-end deployment of YOLO and adversely affects inference latency. In YOLOs, the design of various components lacks comprehensive and thorough inspection, resulting in significant computational redundancy and limiting the capabilities of the model. It offers suboptimal efficiency, and relatively large potential for performance improvement. In this work, the goal is to further improve the performance efficiency boundary of YOLO from both post-processing and model architecture. to this end

The default display behavior for components in the Angular framework is not for block-level elements. This design choice promotes encapsulation of component styles and encourages developers to consciously define how each component is displayed. By explicitly setting the CSS property display, the display of Angular components can be fully controlled to achieve the desired layout and responsiveness.

Win10 old version components need to be turned on by users themselves in the settings, because many components are usually closed by default. First we need to enter the settings. The operation is very simple. Just follow the steps below. Where are the win10 old version components? Open 1. Click Start, then click "Win System" 2. Click to enter the Control Panel 3. Then click the program below 4. Click "Enable or turn off Win functions" 5. Here you can choose what you want to open

How to solve the problem that Tomcat cannot successfully access the war package after deploying it requires specific code examples. As a widely used Java Web server, Tomcat allows developers to package their own developed Web applications into war files for deployment. However, sometimes we may encounter the problem of being unable to successfully access the war package after deploying it. This may be caused by incorrect configuration or other reasons. In this article, we'll provide some concrete code examples that address this dilemma. 1. Check Tomcat service

How to deploy Flask application using Gunicorn? Flask is a lightweight Python Web framework that is widely used to develop various types of Web applications. Gunicorn (GreenUnicorn) is a Python-based HTTP server used to run WSGI (WebServerGatewayInterface) applications. This article will introduce how to use Gunicorn to deploy Flask applications, with

Best practices for deploying Web projects with Tomcat and solutions to common problems Introduction: Tomcat, as a lightweight Java application server, has been widely used in Web application development. This article will introduce the best practices and common problem solving methods for Tomcat deployment of web projects, and provide specific code examples to help readers better understand and apply. 1. Project directory structure planning Before deploying a Web project, we need to plan the directory structure of the project. Generally speaking, we can organize it in the following way
