How to disable autocreating tables...
Using Oc4j 9.0.3. When deploying the ear, oc4j goes about creating tables. How to disable that (the tables to map to is allready defined)
Hi,
Edit j2ee\home\config\application.xml and change the attribute autocreate-tables="true" in <orion-application>
to autocreate-tables="false"
This should stop OC4J from autocreating tables
Hope this helps,
Thanks,
Neelesh Shastry
OTN Team @ IDC
Similar Messages
-
How to disabled autocreate-tables?
Does any konw how to disabled autocreate-tables? oc4j standlone version 10.0.3 .
Modify application.xml file ,set autocreate-tables=false,Still create tables in database automatically.
Thanks in advanceDoes any konw how to disabled autocreate-tables? oc4j standlone version 10.0.3 .
Modify application.xml file ,set autocreate-tables=false,Still create tables in database automatically.
Thanks in advance -
How to disable Pivot Table Prompt ability to move into sections?
Pivot Table Prompts can be moved to sections when report is running. How can the ability to move the prompts be disabled?
When running the analysis, hover near the beginning of the prompt to get the arrows.
Can then drag and drop the prompt into another section of the report.
Can also do the same and move it back up into the prompt, but users sometimes accidentally move the prompt and can't get it out of the section.
How can the drag and drop of the pivot table prompts be disabled?
ThanksDarren Gosbell,
Thanks for your reply.
Item_Name
Category
Vendor
Sales_Amount
Item 1
Category 1
Vendor 1
30
Item 2
Category 1
Vendor 2
25
Item 3
Category 2
Vendor 3
50
Item 3
Category 2
Vendor 3
60
Item 3
Category 2
Vendor 3
20
Item 2
Category 1
Vendor 2
10
Item 2
Category 1
Vendor 2
30
Item 2
Category 1
Vendor 2
100
Item 2
Category 1
Vendor 2
20
Item 4
Category 1
Vendor 2
3
Item 4
Category 1
Vendor 2
50
Item 4
Category 1
Vendor 2
3
The above is my new source data.
I used this function to calculate Rank:=RANKX(ALL(Sales[Item_Name]),[Sum of Sales_Amount])
and also used yours below:
Rank2:=RANKX(SUMMARIZE(ALL(Sales),[Item_Name],[Category]),CALCULATE([Sum of Sales_Amount],ALLEXCEPT(Sales,Sales[Item_Name],Sales[Category])))
The Preceding screenshot is the result of our two function but i wanna pivot table like shown below:
Could please help me to fix it out. -
How to disable Oracle table NUMBER column type auto round-up
Below is an example,
SQL> create table a
a_col1 NUMBER(8, 2)
SQL> update a set a_col1=1.999 where ...
I found column 'a_col1' of table 'a' value will be 2.00, but the application is for some financial calculation and doesn't allow any difference of the amount value (like, 1.999 <> 2.00), what I want to achieve is to disable the Oracle NUMBER type auto round-up and make above 'update' SQL fail with error, so I can trap the error and handle it in the program.
Could anyone advise me how to achieve above or any good suggestion ? Thanks.user12317666 wrote:
Below is an example,
SQL> create table a
a_col1 NUMBER(8, 2)
SQL> update a set a_col1=1.999 where ...
I found column 'a_col1' of table 'a' value will be 2.00, but the application is for some financial calculation and doesn't allow any difference of the amount value (like, 1.999 <> 2.00), what I want to achieve is to disable the Oracle NUMBER type auto round-up and make above 'update' SQL fail with error, so I can trap the error and handle it in the program.
Could anyone advise me how to achieve above or any good suggestion ? Thanks.Oracle does not auto-round.
you have data presentation problem; not data storage problem. -
How to disable a table in oracle?
Hi,
Can anyone tell me if its possible to disable table in oracle>
Thanks and Regardsuser598986 wrote:
Hi,
There is a scenario where :
Schema A has A_ and B_ tables
If I login to Schema A only A_ will have the access rights tables with B_ will not have access to the user.
If Schema A owns both the tables than there is no way to do what you have mentioned. An owner can do whatever he wants to do with his objects. If the table B has been "given" to the user A than from the grantor, revoke the privs of this table and it won't be accessible to the user A, the same what Laura has mentioned to do already. You can't "switch off" a table from the user AFAIK.
HTH
Aman.... -
We have a lot of tables need to be moved to aother schema. We're not sure whether there are other applications are using these tables, so we don't like to drop them immediately from the old schema, also we don't like to rename them, because there are too many references between the objects.
We'd like to disable them temporally, once any application works with exception we can set them back online.
Thanks!dotAge wrote:
We'd like to disable them temporally, once any application works with exception we can set them back online.The only thing coming in the top of my head would be Fine-Grained Auditing, using a function which return always an error.
It is a little bit tricky and probably over complicated, but here a try to prevent any DML on a table, even coming from the object's owner itself :
SQL> create table mytable as select * from dual;
Table created.
SQL> select * from mytable;
D
X
SQL> create or replace function return_error return number is
2 begin
3 raise_application_error(-20001,'SELECT/UPDATE/INSERT/DELETE not allowed on this table');
4 return 0;
5 end;
6 /
Function created.
SQL> begin
2 dbms_fga.add_policy (object_schema => user,
3 object_name => 'MYTABLE',
4 policy_name => 'mypolicy',
5 audit_condition => 'return_error=1 ',
6 statement_types => 'select,insert,update,delete');
7 end;
8 /
PL/SQL procedure successfully completed.
SQL> select * from mytable;
select * from mytable
ERROR at line 1:
ORA-20001: SELECT/UPDATE/INSERT/DELETE not allowed on this table
ORA-06512: at "SYSADM.RETURN_ERROR", line 3Not sure if that commit your requirement though.
Nicolas. -
How to disable a table UI element of Webdynpro for java
Hi friends,
I am having the following scenario regarding the table element.
I am having two buttons "createTask" and "EditTask" . in taskView
when i click the the create button the table should not visble and on click of the EditTask button the table has to visible with filled rows.
please help ful regarding the same ASAP.
thanks and regards
Ratnakar reddyHi Abhijeet,
I followed all the steps which you suggested.but the problem is at the time of binding the visibile property of table with the context attribute .
first i created the simple attribute of type visibility in the local dictionary and then created a context attribute in the view and bind the property of context attribute with local dictionary's visibility attribute which i have created in first step .
But i am not able to select the context attribute because it is asking like selecte the attribute type Vibsibility.
here only i am basically getting strucked
thanks and regards
Ratnakar -
Hi all,
How to disable the table control. User cant enter anything to the table control. Code pls
thkshi,
in screen flow logic make new module disable....
PROCESS BEFORE OUTPUT.
*&SPWIZARD: PBO FLOW LOGIC FOR TABLECONTROL 'TAB1'
MODULE tab1_change_tc_attr.
*&SPWIZARD: MODULE TAB1_CHANGE_COL_ATTR.
LOOP AT itab
INTO itab
WITH CONTROL tab1
CURSOR tab1-current_line.
MODULE tab1_get_lines.
MODULE disable.
*&SPWIZARD: MODULE TAB1_CHANGE_FIELD_ATTR
ENDLOOP.
MODULE status_1000. -
How to disable fields in Table control???
Hi
How to disable fields in Table control??? I want to disable particular row in table control when enter datas are correct.lets take as example ME41 or ME51 table control.
Can anyone tell how to do disable in this table control
Points will be rewarded if its helpful.
Thanks
senthilIf you want to disable the row then you can use
in pbo module create a module in side loop,
loop at itab with control tc.
module change_screen.
endloop.
in module,,,,,
loop at screen.
if condition.
screen-input = 0.
modify screen.
endif.
endloop.
Regards
Vijay -
How to disable some of the table fields in Table Maintenance Generator
HI,
I am creating one table which contains 10 fields.
But i wanted to disable some 2 fields in Table maintenance generator.
So can any one plz tell me how to disable those 2 fields.Generate a maintenance view for the table,
Goto- Table/Join Conditin Tab-- Put the name of your table
Goto-viewfield tab--- Put the fields whatever you required.
Then generate table maintenance for the view created.
pls chk
Thanks
Anurag -
How to disable automatic statistics collections on tables
Hi
I am using Oracle 10g and we have few tables which are frequently truncated and news rows added to it. Oracle automatically analyzes the table by some means which collects statistics of the table but at the wrong time(when the table is empty). This makes my query to do a full table scan rather using indexes since the statistics was collected when the table was empty.Could any one please let me know how to disable the automatic statistics collection feature of Oracle?
Cheers
Anantha PVHi
I am using Oracle 10g and we have few tables which
are frequently truncated and news rows added to it.
Oracle automatically analyzes the table by some means
which collects statistics of the table but at the
wrong time(when the table is empty). This makes my
query to do a full table scan rather using indexes
since the statistics was collected when the table was
empty.Could any one please let me know how to disable
the automatic statistics collection feature of
Oracle?
First of all I think it's important that you understand why Oracle collects statistics on these tables: Because it considers the statistics of the object to be missing or stale. So if you just disable the statistics gathering on these tables then you won't have statistics at all or outdated statistics.
So as said by the previous posts you should gather the statistics manually yourself anyway. If you do so right after loading the data into the truncated table, you don't need to disable the automatic statistics gathering as it only processes objects that are stale or don't have statistics at all.
If you still think that you need to disable it there are several ways to accomplish it:
As already mentioned, for particular objects you can lock the statistics using DBMS_STATS.LOCK_TABLE_STATS, or for a complete schema using DBMS_STATS.LOCK_SCHEMA_STATS. Then these statistics won't be touched by the automatic gathering job. You still can gather statistics using the FORCE=>true option of the GATHER__STATS procedures.
If you want to change the automatic gathering job that it only gathers statistics on objects owned by Oracle (data dictionary, AWR etc.), then you can do so by calling DBMS_STATS.SET_PARAM('AUTOSTATS_TARGET', 'ORACLE'). This is the recommended method.
If you disable the schedule job as mentioned in the documentation by calling DBMS_SCHEDULER.DISABLE('GATHER_STATS_JOB') then no statistics at all will be gathered automatically, causing your data dictionary statistics to be become stale over time, which could lead to suboptimal performance of queries on the data dictionary.
All this applies to Oracle 10.2, some of the features mentioned might not be available in Oracle 10.1 (as you haven't mentioned your version of 10g).
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle:
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/ -
How to disable table header column reordering
Does anyone know how to disable reordering of some but not all columns in tableview ? For that matter how to disable reordering for all columns?
Thanks in advance !The following code will disable sorting in all columns
public static <S> void disableSort(TableView<S> table){
Iterator<TableColumn<S,?>> columns = table.getColumns().iterator();
while(columns.hasNext())
columns.next().sortableProperty().set(false);
} -
How to disable right click option re-size on table column header?
Hi All,
Please let us know how to disable right click option re-size on table column header.
The issue is that when I right click on the column header, the column is selected and the context menu with options like Sort, Columns, Resize Columns, etc.. is popping. we want to disable column re-size option.
We are binding the table values programatically (not using Bc4J) and the Jdeveloper version is 11.1.2.2
Thanks in advance,
- Vignesh S.Hi Gawish,
Thanks for the reply.
This will make the particular column frozen and only work for that particular column.
My use case is that to remove the resize columns option from the context menu or to disable the right click option.
Making column selection as none will disable the right click option but we need column selection for sorting.
Is there any other way to achieve this?
Thanks in advance,
-Vignesh S. -
How to Disable CheckBox for a Particular Condition
Hi All,
In my application, iam using one table having 5rows , with checkboxes,
based on one condition i want to make few checkboxes as default disable in the same table, and some checkboxes i shud make it as enable, so experts please help me how to disable some checkboxes.
disable means even if we select it shud not get selected, like that is it possible,Hi Sushma,
You can have one more attribute in the same node from where you are populating the table and bind this boolean attribute to the enabled property of your CheckBox.
and by looping thriugh the table you can check for conditions and based on it set the Enability of the checkbox.
for (int iRowsCount =0;iRowsCount < wdContext.node<name>().size();iRowsCount++)
if (condition)
// Disabling the Checkbox based on the condition
wdContext.node<name>().get<name>ElementAt(iRowsCount).set<BooleanAttributeName>(false);
Hope this helps!!
Cheers,
Arafat -
How to disable edit link in interactive report
Hi,
How to disable edit(e3.gif image) link interactive report.
Thanks,
nrHi Jari,
Apex Version:3.2
I created on Interactive report on emp table I have created edit link on empno using Icon5 image.
Report Attributes>Column Attributes>Column Link.
I can Hide the Icon5 using following script but I need to disable only. I did not get any disable() method in Jquery.
Region Id:R812581842900385833
$(document).ready(function() {
var viewOnly=document.getElementById('P1_ITEM1').value;
if(viewOnly == "0")
$("#R812581842900385833 img").hide();
thanks,
Nr
Edited by: pnr on Mar 13, 2012 6:09 AM
Maybe you are looking for
-
How to set the XML tree to be collapsed by default at run time?
I am developing a simple software in Java, to improve my programming skills, the output of this program is an XML file. I am very new to XML. My question is that, every time the XML file is opened the tree is in expanded form, which appears to be the
-
Why in my Ipad2 calendar does March disappear each time I try to enter he 'month' view?
Whenever I open Calendar and click on the month view for March 2013 Calendar disappears.
-
Error due to Passing value in Live Office prompt
Hi All, I have a webi report that is inserted in excel using live office. Connection is set to refresh on demand and the prompts are fed by linking cells in excel. When a value example "James, Carter" is passed to the prompt i get the "Failed to fetc
-
Configuring SAP Credit management interfaces in PI 7.0
Hi all, I am working on PI 7.0 instance and have an issue while trying to connect Accounts receivable accounting with SAP Credit Management. Did anybody configure this kind of interfaces (Credit cOMMITMENT & Credit Payment) so that they could be inte
-
Preview & File Size for jpegs problem.Bloating bug?
When adding cover art to iTunes, I am checking the file sizes to be certain I have the smallest size possible to add to my new iPod 16G nano. When connected to the iTunes store and "Get Album Artwork" is selected, I have no way of knowing the size of