Oracle 11 ATG rule expression
Hi all
I was reading some use of Abu documentation Oracle operator '+' to rule expressions. But it seems that I can't do this.
I want to do: ruleExpression = Order.priceInfo.amount + Profile.parentOrganization.orgUsedBudget > Profile.parentOrganization.orgBudget
The orgUsedBudget and the orgBudget are double values are populated correctly.
But it gives me a java.text.ParseException: unrecognized token: +.
Can anyone suggest how can I do this in this expression of the rule?
Thanks in advance.
Hi all
I solved the problem by creating a new RuleEvaluator, getting the left and the right and performs the operation of ' + '.
Good bye.
Tags: Oracle Applications
Similar Questions
-
Vault to Oracle set up rules to restrict the user and the type of application that can connect
Oracle 11 g 2 (11.2.0.4.3)
RHEL 6
Hi all
We are experiencing a few problems to configure the following condition:
Users A, B, and C will not be able to connect via SQLPLUS.
So I took note of the political examples on how to Set Up database Vault (Doc ID 972477.1() -section restrict access to the database (sqlplus) unwanted tools:
However, it doesn't evaluate the rule in the rule set correctly. The rule set is as follows:
DVF. F$ MODULE! = ' SQL * MORE AND DVF. F$ SESSION_USER NOT IN ("USERA", "USERB", "USERC")
This rule allows all users to connect except those defined in the rule. And it applies also to the developer SQL (and all other connections). If I change to be 'IN' he also allows users in the list, but no one else. In addition, somewhere I think it evaluates it as "OR" rather than "AND". What I want to do is:
IF user IN ("USERA", "USERB", "USERC") AND SYS_CONTEXT ('USERENV', 'MODULE') = ' SQL * MORE
SO, do not allow the user to connect.
Note: The factor (MODULE) has been created by me and her expression is SYS_CONTEXT('USERENV','MODULE')
Any help on this would be greatly appreciated.
I tested these rules and they work:
(1) ((upper (sys_context ('userenv', 'module')) like '%%') and (not in sys_context ('userenv', 'session_user') ('A', 'B'))) or ((upper (sys_context ('userenv', 'module')) like ' % %') and DEVELOPER (not in sys_context ('userenv', 'session_user') ('A', 'B'))))
(2) ((upper (sys_context ('userenv', 'module')) not like ' %PLUS%')) or ((upper (sys_context ('userenv', 'module')) not like ' % DEVELOPER %'))))))
I'm blocking users A and B to connect from SQL * more and SQL Developer
-set the rule defined for all THE TRUE evaluation
-
Sequence Analyzer rules: Expressions must evaluate to a value of the expected type
Sequence Analyzer reports all sorts of errors because I'm indexing of the results list.
- For example: error in argument 2, 'Locals.ResultList [Locals.idx] .status is 'Error',' in the call to the function of the expression "AnyOf. Name of variable or unknown property 'Locals.ResultList [Locals.idx].status'.
This is perfectly valid at run time but the parser recognizes that, probably because the list starts with the vacuum.
Is it possible that I have clean code to reduce these error reports?
I tried to create a "Result" element in a Foreach loop, but could not find a type of 'Result' anywhere.
- In addition, under the same article, array off limits. index is given as a problem when I define a table instead of 0.1 1.2 terminals so that I can use buttons hit on the index in the array.
It's also quite correct but marked as an error.
- Another rule that makes me crazy is all sequences of escapement used in expressions must be valid, for example:the expression "StationGlobals.RootPath & ' Configuration\VP Automated Test parts and limit Config.txt" ' is meant to be a path. "Use '-' instead of"."
I don't know what, if anything, I should fix in the string because this file get opened correctly.
Can someone suggest ways to "fix" or "clean" these errors? I would prefer not to have to justify why I do nothing on errors reported by the parser to my QA group.
You can avoid the error of the Analyzer by something similar to the following:
Locals.AnyErrors = PropertyExists ("Locals.ResultList [" + Str (Locals.idx) + "] .status")? (Locals.ResultList [Locals.idx]. GetValString("status", 0) == "Error"): false
To create a copy of the item as a local variable, you can do the following:
Locals.SetPropertyObject ("myelementVar", PropOption_InsertIfMissing, Locals.ResultList [Locals.idx]. Clone ("", PropOption_CopyAllFlags |) PropOption_DoNotShareProperties))
Note that this property will exist only at run time, if you create a placeholder variable in it to change time and it will get replaced by this expression during execution.
Hope this helps,
-Doug
- For example: error in argument 2, 'Locals.ResultList [Locals.idx] .status is 'Error',' in the call to the function of the expression "AnyOf. Name of variable or unknown property 'Locals.ResultList [Locals.idx].status'.
-
I installed Oracle Express 11 GR 2 software that created the database of the parameter "NLS_CHARACTERSET" AL32UTF8 and NLS_NCHAR_CHARACTERSET AL16UTF16 value XE.
This database must be used with a character encoding application which usues UTF8 and requires database Oracle support UTF8.
I need to change the setting of NLS_CHARACTERSET and NLS_NCHAR_CHARACTERSET parameters to comply with the requirement of the application?
If yes how to change these settings to support UTF8?
Thank you very much, Sergiusz.
That's pretty conclusive. I confirm this also with the seller.
Dziekuje bardzo.
-
We all ATG of the support of the box to join the blogging platform available such as Joomla, WordPress etc... Is what I'm looking for, a rich CMS where the company can create and maintain the product related blog entry and it should be available since the end of the atg. We use short for research.
Hello.
I don't know if I understand very well what you are in need, but it is possible that the Oracle WebCenter Sites is what you need.
https://www.Oracle.com/us/products/middleware/WebCenter/sites/resources/index.html
I hope this helps.
-
Oracle 11 g R2 express Edition cannot be installed
Hello
I tried to install oracle 11g R2 on my laptop when I downloaded OTN I unzipped both files in a folder and I clicked on Setup Installer, and when I click on the class Office disappears from the configuration screen and it starts from first.
I'm not what the problem was. Can someone please guide me what to do.
Oracle has said Oracle Express edition does not work with x 64. You can install linux on a vmware and install Oracle on it. This edition is for Linux x 64.
-
Oracle Database 11 g Express installation failed
Hello
I have a problem with the express 11g.
I start the setup.exe with admin right and become a large number of errors:
"Setup cannot instantiate the C:\oraexe\app\oracle\product\11.2.0\server\networt\admin\listener.ora file. the file does not exist. »
"Setup cannot instantiate the C:\oraexe\app\oracle\product\11.2.0\server\networt\admin\tnsnames.ora file. the file does not exist. »
After installation, I have several directories, but no file in the oracexe directory
Win 7 32-bit system
Someone knows a way to solve this problem?
PL don't use directories with spaces in them (for example ' Program Files') during the installation of Oracle software - try directories without spaces.
HTH
Srini -
Oracle DB 11 g Express Edition find home directory path in Windows 7
Hello
I work through a book of PL/SQL programming and am on PROGRAM UNIT DEPENDENCIES. As I work through the examples he asks me to use the dependency tree utility run this script in SQL * more: @ < path to the Oracle Home Directory > \rdbms\utldtree
However, no matter where I look on my computer (Win7 Home) I can not understand the directory path. I looked away and it has been suggested that Windows stores the directory in the registry. I went to regedit and followed Hkey_Local_Machine\Software\Oracle...and found 'c:\oraclexe\app\oracle\product\l11.2.0\server '.
I also tried the path of the directory, but not luck. Again, I can not even find shirts for the DB that contains "RDBMS.
So my question is, is there a HOME directory or BASE path in windows 7 for Oracle database 11g Express Edition and or the 11g Express Edition have the utldtree.sql file somewhere?
Thanks in advance for any help,
WarrenI have a lot of utl*.sql files, which you named, in C:\oracle\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin.
You should also be able to reach the location when you run in sqlplus, via '? "shortcut, for example
SQL > @? / rdbms/admin/utldtree
It is also a way to print high dir of the Oracle home page in sqlplus - example of path within the brackets below:
SQL > @. [% oracle_home %].
SP2-0310: could not open the file "." [C:\oracle\oraclexe\app\oracle\product\11.2.0\server]... SQL ". -
Oracle Database 10 g Express Edition &; linux Fedora
Hi guys
How are you?
I want to ask about my problem, that is, I can not access the homepage of the Oracle 10 g Express Edition database when I press 'go to database Home Page' Open firefox it's is not something the way I try to write the page web http://127.0.0.1:8080 / apex on the address bar but firefox gives me an error which is "unable to connect".
So please when you know the solution post it here step by step "I'm beginner linux user."
My distro is Fedora 14
.. Thank you very much
SalehThe stage set up was completed successfully?
for example, you have run
/etc/init.d/oracle-xe configure
After you install the rpm? This is version beta of XE, 10g and 11g. You can run again to reenter your configuration settings, such as HTTP port and make sure they have the expected values of this way.
Despite that, you could try to (re) start the service and see if it happens without errors./etc/init.d/oracle-xe stop /etc/init.d/oracle-xe start
If everything looks not too bad, you may have a port conflict with another service using port 8080. In this case, you might reconfigure XE for its HTTP server listening on a different port.
-Udo
-
How to deploy the business on Oracle Application Server rule
OPA dear team,
We have a requirement in which we integrate the OPA with BPEL. We must define the rules of modeling tool Oracle policy and deploy it in Oracle Application Server.We will then that wsdl and call the rule of BPEL partner links engine. By default the Oracle Policy modeling tool deploys for tomcat. Ask your input about how we can deploy on oracle application server.
Thank you
Anandbwolff wrote:
So my question is how to deploy a rulebase.zip a determination server that runs on Oracle Weblogic Server 11g?
Thank you
BrianNormally, an application server will expand the war for the web application file works from the expanded location. When this is the case, you can deploy a new one simply by copying the module zip file in the directory WEB-INF/classes/rulebases .
However, Weblogic is not extend the web application, there is no directory to copy the file zip of modules on.
It is possible to run the determinations under weblogic server so that you can deploy a new modules without restarting the server of determinations. There are two technqiues to achieve this.
1. you can manually unzip the .war file somewhere that the weblogic server can see locally and then deploy the .war file expanded as the determinations server web app. If you do that you can deploy a new modules by copying the zip file in the directory WEB-INF/classes/rulebases to this place.
2. it is possible to specify a rulebases directory that is not in the web application. In this case, it should be a place the web application can be done locally. You can deploy a new modules by copying the rulebase.zip file to the location specified modules.
You specify a different directory to search rulebases by setting a java system property: determinations.server.rulebase.dir.
Example of
-Ddeterminations.server.rulebase.dir=/some/other/dir/rulebases
-
Oracle 11g - force rule-based optimizer for a SQL ID
We have a provider application and cost based works very well for tens of thousands of queries but nothing that does not work. He joined between two tables and use a select max. When the internal table contains thousands of lines, is no longer using the index and works for a very long time, impact on performance. It works fine using the rule-based optimizer.
While the seller will solve this problem, at the same time is possible to force a single specific ID of SQL to use a basic rule optimizer? This aspect must be on the sides of the database that we cannot change the query itself.
Download the map you want in a non-produits or prod environment.
Use a sql profile to apply this plan to your prod environment.
https://OraStory.WordPress.com/2015/08/11/SQL-plan-management-choices/
-
SQL * more: Production of release 11.2.0.1.0 Mar 5 13:28:10 Aug 2014
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter the user name: sys as sysdba
Enter the password:
Connect to an instance is idle.
SQL > bootable media.
ORA-00439: feature not enabled: Real Application Clusters
SQL >
If the database does not start with the current settings, you will need to manually correct the server parameter file (spfile). This is untested so at your own risk:
SQL > conn / as sysdba
SQL > shutdown immediate
SQL > create spfile from pfile;
This will create the file pfile C:\oraclexe\app\oracle\product\11.2.0\server\database\initXE.ora
Make a copy of the pfile as backup
Edit the pfile origin, remove the line with cluster_database inside and save the file
SQL > create spfile from pfile;
SQL > startup
-
Disable the Oracle 12 c EM Express database
It seems less obvious now this console db (express database) is stored in the database how to disable. Already, we have EM 12 c Cloud, it is interesting to have the Express database also run standalone? If not, is it possible to disable completely recommended?
If you have control of cloud 12 c, I don't see any value to this express EM. I do not use it. Cloud control has many more features than that.
You want to only use this option if you are using standard edition and cannot use the control of cloud 12 c.
-
Oracle SOUL Substitution rule outcome: the approver names LOV do not show any value
Dear Experts,My requirement is that if the approval of the Bill goes to the CEO and then change the approver of CFO.
I found that this can be achieved using the rule of Substitution of the SOUL.
While I created this rule, I have to provide the name of the approver who is a LOV, however the LOV shows not all values, I missed an important step.
Please notify.
Thank you
Neeraj.
Hi all
I solved this problem. I had to create a condition for changing the list and add the "any approver' and 'Final approver' names.
It is available in a separate tab as 'List change' when we create the conditions.
Once then create the Substitution rule, you will see the name of the next approver
Kind regards
Neeraj.
-
Oracle 8i to 10g Express data migration?
Howdy,
I'm very new to Oracle so a lot of the terminology, I'm not completely up-to-date with MySQL and MS - SQL.
We have a new client who has an Oracle 8i system that they have given, what to develop against and import from. We were looking in asking them to provide a copy of their DB that would be then run in an edition of Exp 10 g locally working on the data. The problem is I'm having a hard time finding documentation on how to run this process? MS - SQL, I do a backup of a previous version then import file and data is upgraded at that time, the same way with MySQL and their backup files in SQL. How can I restore/import a DB old 8i in a 10g environment?Hello
In addition to the previous comments about the limitation of 10g XE, please find attached a useful link to the 'database upgrade Guide:
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14238/intro.htm#i1008293
As you could see there are so many possibilities, it is recommended that you read the documentation carefully to make the right choices.
Otherwise, in point 10.2 that the support of the Prime Minister ended already, why don't you migrate to Oracle 11.2?
Hope this helps.
Best regards
Jean Valentine
Maybe you are looking for
-
I did the update to iTunes which was offered today (12.3.3.17) and after doing so that it seems that ALL the music that I downloaded in iTunes was gone and purchased content remains. Everyone knows this? If so, how do fix you it? Thanks in advance fo
-
Not able to download Satellite U300 Xp drivers
Several times I tried to download Satellite U300 Windows-Xp drivers from this site, but still he stopped between the two.I am sure, im not behind the firewall. at the same time, I am able to download stuff from other Web sites. I tried with another p
-
Is any String variable or something that have entry and exit data?
Is any String variable or something that have entry and exit data?
-
160 GB hard drive has LOST 30 GB in an hour by himself. HELP PLEEEEASE
-
install xp os House of 7 bones pro, I need to get my 32-bit screen resolution
I need to get my 32-bit screen resolution