foreign key 'generate' strange behavior check box, any idea?
Summary: in the properties of the table, the foreign keys, the box generate behaves badly, and I don't understand why or how I got there.
Oracle Data Modeler 4.0.2.840 8.1 X 64 Windows, jdk1.7.0_55
the behavior is:
(1) add the foreign key (two different more to see strange behavior)
(2) uncheck 'generate' on a foreign key
(3) apply, Ok
(4) ask 'Preview DDL', a foreign key constraint is generated, SO FAR SO GOOD, I'm happy
5-now click on the button 'generate the DDL' for any design = > * * TWO foreign keys are generated?
(6) even more strange: sometimes the 'generate' check itself after step 5, most of the time is not
(7) at the beginning this has occurred for a couple of foreign key 'uncheckees', now it almost always happens.
The relational model was built by importing the SQL scripts already exist (try to migrate the Data Modeler). No too complex ~ 115 tables, 12 times.
I think it's a bug, but I can't find any reference on the web, maybe I do something wrong?
Hi Michel,.
The generation is different depending on whether or not the relevant storage design is open.
If the design of the storage is not open, the option "Generate DDL" on the foreign key is taken into account (for an overview of the DDL or full generation of DDL). For an entire generation of DDL, the foreign key will initially not selected phase in the generation of the DDL if Options the option "Generate DDL" on the foreign key has been disabled. (This change in the phase of the generation of DDL Options will also cause the option "Generate DDL" on the foreign key update.)
If the design of the storage is open, the option 'generate DDL"on the foreign key has no effect (in a Preview of DDL or full DDL generation).
Also in a generation full of DDL, an object will be initially marked as not selected if it has been disabled in the previous generation of DDL.
I hope that this helps to explain the behavior that you find.
David
Tags: Database
Similar Questions
-
Strange behavior of HTML/Blast - ideas?
I have a strange problem with a Horizon view 6 implementation. I have a pool of office automated using linked clones and dedicated user assignment. The problem is that none of my users can connect to these desktops via HTML/Blast UNLESS the Bureau has already accessed via the customer view and PCoIP. As soon as I connected to one of the desktop computers in the pool through the Client view, disconnect and then try to connect via HTML/Blast, everything works perfectly!
The events I see when a user who has never connected to the pool first of all through the view Client tries to connect via HTML/Blast, in that order, are the following:
23:32:29 (agent) agent that runs on the DESKTOP computer has agreed a session allocated for user domain\username
23:32:29 (connect to server) user domain\user requested windows7_pool pool
23:32:29 (connect to server) user domain\user asked windows7_pool pool, allocated matchine DESKTOP
23:33:54 (connect to server) User DOMAIN\username logged off
No error or anything - looks perfect except the Quick disconnect (who did not perform).
Client side, the screen looks just like it would if the Office was about to appear, but then after about 1.5 minutes, goes to a white screen with the following error:
Year error has occurred: {"code": "ETIMEDOUT", "errno": "ETIMEDOUT', 'syscall': 'connect'}
This behavior occurs if the inside the firewall and outside the firewall. And when the same user logs in via PCoIP using the customer to see once, HTML/Blast links start working later and never fail again. I ' sure Machines are always powered on "defined on the pool, and connections through PCoIP arrive quickly. I can't seem to find a value for a threshold low timeout anywhere, but I'm new to this configuration.
Any ideas what could cause this type of behavior?
I got this job.
Given that the only common denominator to the question seemed to be the image of the desktop, I started there.
I created a new snapshot after making the following: removal of the view Agent and Direct Connect software, then turn off the Windows Firewall and reinstall both. I also chose to not NOT the Windows Firewall is automatically updated by the Direct Connect installation software on reinstall it. Installation initial (partially work), I followed the recommended practice to have the firewall and allowing the installer to modify the Firewall automatically.
Once I had the snapshot of the office now with no Windows Firewall, I recomposed the pool and all HTML/Blast following connections to this pool has worked flawlessly every time.
-
The OS is Dell and the computer. Initially, the computer came with XP but has been updated years ago mand key in the Holster is not readable.
Hello
"the key in the box is illegible."
If the Dell vista disc came to communicate with them
Vista is not installed and turned on to be able to find the product key with key finder programs
the product key on the case sticker is not readable
There is not much that can be done in these circumstsnces
-
CC shows me a sign: "you are checked. Any ideas?
Since 1 year 1/2 CC-member, since a few days it is not possible to register for my CC on my computer. It is not the password, by the way. But I have a new laptop and installed a few programs here.
Maybe this could be a problem?
Thanks PapRieka. Please, implement solution 2 CC lists Office applications as "up to date" when the no facility not - http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html to solve your current sign in errors.
-
How to check where the table field has been used as a foreign key in the database
Hi I have a field in my table Office I had office_code field, this field has been used in the tables of diffirent as foreign key is a sql I can wirte to see all the tables that have used this field as a foreign key
Edited by: adf009 09/05/2013 10:37
Edited by: adf009 09/05/2013 10:38Check this box
SELECT * FROM user_constraints WHERE table_name='EMP' and CONSTRAINT_TYPE='R';
Type = 'R' means referential integrity constraint type.
-
Hi, I have a PDF form that has multiple check boxes. Some boxes have values (off, yes) that others have just (Yes). How can I get the 'Off' the value assigned to all the other boxes as well. Any help is greatly appreciated.
'Off' is the default value of any box when it is not checked. It can not
be changed.
-
Foreign key check - possible where clause
I want to create a foreign key referential constraint, but I want to do this only for certain data.
example 2 tables. With 5 rows T1, t1 is to reference col1 in t1, but where the only col2 = "a". If I have all the data of reference I get an error creating the audit as t1.col1 is not unique for all data and is not a PK.
This is an example of a small subset of a much larger table where col1 is not the PK and I can't create a unique index on it as his unique not on its own.create table t1 (col1 varchar(1), col2 varchar(1)) create table t2 (col1 varchar(1), col3 varchar(1)) insert into t1 values ('a','a'); insert into t1 values ('b','a'); insert into t1 values ('c','a'); insert into t1 values ('d','b'); insert into t1 values ('d','b'); commit; alter table t2 add constraint FK_t1_col1 foreign key (col1) references t2(col1); ORA-02270: no matching unique or primary key for this column-list
I could create a materialized view but would rather not if possible. Y at - it solution or method on t1 to create the repository control with a where clause clause in order to do something like the following pseudocode
alter table t2 add constraint FK_t1_col1 foreign key (col1) references t2(col1) where col2 = 'a' ;
961469 wrote:
I want to create a foreign key referential constraint, but I want to do this only for certain data.example 2 tables. With 5 rows T1, t1 is to reference col1 in t1, but where the only col2 = "a". If I have all the data of reference I get an error creating the audit as t1.col1 is not unique for all data and is not a PK.
You don't have to have a primary key as a reference point, it must be unique, and it may be a virtual column. If you are running 11g is easy:
drop table t2; drop table t1; create table t1 ( code_type varchar2(10) not null, code_number number(10) not null, a_code generated always as (case code_type when 'A' then code_number else null end) ); alter table t1 add constraint t1_uka unique (a_code); create table t2( id1 number not null references t1(a_code) ); insert into t1 (code_type, code_number) values('A',1); -- next row is not a duplicate insert into t1 (code_type, code_number) values('B',1); insert into t1 (code_type, code_number) values('B',2); -- next row succeeds insert into t2 values(1); -- next row fails insert into t2 values(2); commit;
Concerning
Jonathan Lewis -
Please Help - box-only one of them SHOULD BE checked at any time - how?
Hello
I have page apex with regions where I have some text fields of type checkbox. (YES NO)
Problem is that if I click YES and then click NO, YES even 'CASE.
How to avoid this... Whereas If I go YES to ANY box, only one is checked at any time
Thank you
KPA group of Radio buttons is the element that has an exclusive selection. Checkbox allows multiple selections.
See examples: http://apex.oracle.com/pls/apex/f?p=25096:3 Login: Dever PW: Ima9Dever
P. 3 - Group of Radio buttons
P. 4 - box -
Strange problem deadlock (no foreign key not indexed)
Hello
We are on 11.2.0.2 on Linux. There is a blockage in our database (I first checked that no foreign key is not indexed). This impasse has this type of data in the alert file (after it cuts a lot). Can anyone suggest what might be the cause?
Published by: orausern on October 10, 2012 05:57--FROM Alert log: "Global Enqueue Services Deadlock detected. More info in file....trc" --below from trace file: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production With the Partitioning, Real Application Clusters, OLAP, Data Mining and Real Application Testing options ORACLE_HOME = /oracle/product/database/1120/db1 System name: Linux Node name: NODE1 Release: 2.6.32.59-0.3-default Version: #1 SMP 2012-04-27 11:14:44 +0200 Machine: x86_64 Instance name: db02 Redo thread mounted by this instance: 0 <none> Oracle process number: 12 Unix process pid: 17454, image: oracle@db01 (LMD0) *** 2012-09-16 00:54:00.094 *** SESSION ID:(181.1) 2012-09-16 00:54:00.094 *** CLIENT ID:() 2012-09-16 00:54:00.094 *** SERVICE NAME:() 2012-09-16 00:54:00.094 *** MODULE NAME:() 2012-09-16 00:54:00.094 *** ACTION NAME:() 2012-09-16 00:54:00.094 * Load Monitor used for high load check * Old Low - High Load Threshold Range = [0 - 0] * hlcpu 5 (kjihpc 5), slpct 90, llpct 75 * New Low - High Load Threshold Range = [30720 - 40960] *** 2012-09-16 00:54:02.690 KSXPCINI: kjxgnpub KSXP 2.2.0GESR000 13, 0 *** 2012-09-16 00:54:11.168 ftd (4) received from node 1 (84 5.0/0.0) all ftds received * kjxhvmaph: domain 0 valid = 1 according to instance 1 ftd (6) received from node 1 (84 7.0/0.0) all ftds received ftd (19) received from node 1 (84 20.0/0.0) all ftds received * Initialize deadlock detection * ftd (21) received from node 1 (84 22.0/0.0) all ftds received ftd (23) received from node 1 (84 22.0/0.0) all ftds received *** 2012-09-16 00:54:11.460 * kjxpnpgoh: PnP Go Ahead received from 1 (pnp inc 84) *** 2012-09-16 00:54:31.988 Begin DRM(399) (swin 1) - AFFINITY transfer pkey 4.1 to 2 oscan 1.1 kjiobjscn 1 ftd (30) received from node 1 (84 0.31/0.0) all ftds received ftd (33) received from node 1 (84 0.34/5.0) all ftds received ftd (35) received from node 1 (84 0.36/6.0) all ftds received ftd (37) received from node 1 (84 0.38/7.0) all ftds received 2012-09-16 00:54:32.061349 : * End DRM for pkey remastering request(s) (locally requested) *** 2012-09-16 00:55:02.914 2012-09-16 00:55:02.914301 : Setting 3-way CR grants to 1 global-lru off? 0 2012-09-16 03:00:44.727542 : Setting 3-way CR grants to 1 global-lru off? 0 *** 2012-09-16 03:04:25.696 Begin DRM(400) (swin 0) - AFFINITY transfer pkey 74335.0 to 2 oscan 0.0 kjiobjscn 1 ftd (30) received from node 1 (84 0.30/0.0) all ftds received * kjxftdn: break from kjxftdn, post lmon later ftd (37) received from node 1 (84 0.38/0.0) all ftds received ftd (30) received from node 1 (84 0.31/0.0) all ftds received ftd (33) received from node 1 (84 0.34/0.0) all ftds received ftd (35) received from node 1 (84 0.35/0.0) all ftds received * kjxftdn: break from kjxftdn, post lmon later ftd (37) received from node 1 (84 0.38/0.0) all ftds received ftd (30) received from node 1 (84 0.30/0.0) all ftds received (repeated such entry removed) * End DRM for pkey remastering request(s) (locally requested) *** 2012-09-17 07:20:51.111 Begin DRM(401) (swin 0) - AFFINITY transfer pkey 88491.0 to 2 oscan 0.0 kjiobjscn 1 ftd (30) received from node 1 (84 0.31/0.0) all ftds received ftd (30) received from node 1 (84 0.30/0.0) all ftds received * kjxftdn: break from kjxftdn, post lmon later ftd (33) received from node 1 (84 0.34/0.0) all ftds received ftd (35) received from node 1 (84 0.36/0.0) all ftds received * kjxftdn: break from kjxftdn, post lmon later 2012-09-17 07:20:51.407739 : * End DRM for pkey remastering request(s) (locally requested) *** 2012-09-17 22:04:10.873 Begin DRM(402) (swin 0) - AFFINITY transfer pkey 74331.0 to 2 oscan 0.0 kjiobjscn 1 *** 2012-09-17 22:04:11.001 ftd (30) received from node 1 (84 0.31/0.0) all ftds received ftd (33) received from node 1 (84 0.34/0.0) ftd (30) received from node 1 (84 0.30/0.0) all ftds received * kjxftdn: break from kjxftdn, post lmon later ftd (35) received from node 1 (84 0.36/0.0) all ftds received ftd (33) received from node 1 (84 0.33/0.0) all ftds received * kjxftdn: break from kjxftdn, post lmon later *** 2012-09-18 11:07:30.967 ftd (35) received from node 1 (84 0.36/0.0) all ftds received ftd (37) received from node 1 (84 0.38/0.0) all ftds received 2012-09-18 11:07:30.973676 : End DRM(405) for pkey transfer request(s) from 1 ENQUEUE DUMP REQUEST: from 1 spnum 12 on [0xf0008][0x24a0],[TX][ext 0x4,0x0] for reason 3 mtype 0 *** 2012-09-18 17:14:20.114 DUMP LOCAL BLOCKER/HOLDER: block level 3 res [0xf0008][0x24a0],[TX][ext 0x4,0x0] ----------resource 0xc2bc3f50---------------------- resname : [0xf0008][0x24a0],[TX][ext 0x4,0x0] hash mask : x3 Local inst : 2 dir_inst : 2 master_inst : 2 hv idx : 124 hv last r.inc : 84 current inc : 84 hv status : 0 hv master : 1 open options : dd grant_bits : KJUSERNL KJUSEREX grant mode : KJUSERNL KJUSERCR KJUSERCW KJUSERPR KJUSERPW KJUSEREX count : 1 0 0 0 0 1 val_state : KJUSERVS_NOVALUE valblk : 0x00000000000000000000000000000000 . access_inst : 2 vbreq_state : 0 state : x0 resp : 0xc2bc3f50 On Scan_q? : N Total accesses: 2652 Imm. accesses: 2516 Granted_locks : 1 Cvting_locks : 1 value_block: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 GRANTED_Q : lp 0xd0f7e510 gl KJUSEREX rp 0xc2bc3f50 [0xf0008][0x24a0],[TX][ext 0x4,0x0] master 2 gl owner 0xd5df5688 possible pid 19261 xid 53000-0002-00000286 bast 0 rseq 125 mseq 0 history 0x4977d495 open opt KJUSERDEADLOCK CONVERT_Q: lp 0xd0f7e6e0 gl KJUSERNL rl KJUSERPR rp 0xc2bc3f50 [0xf0008][0x24a0],[TX][ext 0x4,0x0] master 2 owner 1 bast 1 rseq 207 mseq 0x1 history 0x77d497ad convert opt KJUSERGETVALUE ----------enqueue 0xd0f7e510------------------------ lock version : 89 Owner inst : 2 grant_level : KJUSEREX req_level : KJUSEREX bast_level : KJUSERNL notify_func : (nil) resp : 0xc2bc3f50 procp : 0xdb10cc20 pid : 17454 proc version : 0 oprocp : (nil) opid : 17454 group lock owner : 0xd5df5688 possible pid : 19261 xid : 53000-0002-00000286 dd_time : 0.0 secs dd_count : 0 timeout : 0.0 secs On_timer_q? : N On_dd_q? : N lock_state : GRANTED ast_flag : 0x0 Open Options : KJUSERDEADLOCK Convert options : KJUSERNOQUEUE KJUSERNODEADLOCKWAIT History : 0x4977d495 Msg_Seq : 0x0 res_seq : 125 valblk : 0x00000000000000000000000000000000 . user session for deadlock lock 0xd0f7e510 sid: 290 ser: 713 audsid: 82787243 user: 64/SCOTT flags: (0x41) USR/- flags_idl: (0x1) BSY/-/-/-/-/- flags2: (0x40009) -/-/INC pid: 83 O/S info: user: grid, term: UNKNOWN, ospid: 19261 image: oracle@db1 client details: O/S info: user: wasadmin, term: unknown, ospid: 1234 machine: cdldvjassvap291 program: JDBC Thin Client application name: JDBC Thin Client, hash value=2546894660 current SQL: INSERT INTO tab1 SELECT x from tab2; DUMP LOCAL BLOCKER: initiate state dump for DEADLOCK possible owner[83.19261] on resource TX-000F0008-000024A0 *** 2012-09-18 17:14:20.115 Submitting asynchronized dump request [28]. summary=[ges process stack dump (kjdglblkrdm1)]. Global blockers dump start:--------------------------------- DUMP LOCAL BLOCKER/HOLDER: block level 3 res [0x150019][0x12b0a],[TX][ext 0x2,0x0] ----------resource 0xdcf6de80---------------------- resname : [0x150019][0x12b0a],[TX][ext 0x2,0x0] hash mask : x3 Local inst : 2 dir_inst : 1 master_inst : 1 hv idx : 119 hv last r.inc : 82 current inc : 84 hv status : 0 hv master : 0 open options : dd Held mode : KJUSERNL Cvt mode : KJUSERPR Next Cvt mode : KJUSERNL msg_seq : 0x1 res_seq : 32 grant_bits : KJUSERNL grant mode : KJUSERNL KJUSERCR KJUSERCW KJUSERPR KJUSERPW KJUSEREX count : 1 0 0 0 0 0 val_state : KJUSERVS_NOVALUE valblk : 0xd0f5415aff7f00000000000000000000 .AZ access_inst : 1 vbreq_state : 0 state : x8 resp : 0xdcf6de80 On Scan_q? : N Total accesses: 3472 Imm. accesses: 1369 Granted_locks : 0 Cvting_locks : 1 value_block: d0 f5 41 5a ff 7f 00 00 00 00 00 00 00 00 00 00 GRANTED_Q : CONVERT_Q: lp 0xdb976808 gl KJUSERNL rl KJUSERPR rp 0xdcf6de80 [0x150019][0x12b0a],[TX][ext 0x2,0x0] master 1 gl owner 0xdc688bc0 possible pid 19261 xid 53000-0002-00000286 bast 0 rseq 32 mseq 0 history 0x495149da convert opt KJUSERGETVALUE DUMP LOCAL BLOCKER/HOLDER: block level 3 res [0xf0008][0x24a0],[TX][ext 0x4,0x0] ----------resource 0xc2bc3f50---------------------- resname : [0xf0008][0x24a0],[TX][ext 0x4,0x0] hash mask : x3 Local inst : 2 dir_inst : 2 master_inst : 2 hv idx : 124 hv last r.inc : 84 current inc : 84 hv status : 0 hv master : 1 open options : dd grant_bits : KJUSERNL KJUSEREX grant mode : KJUSERNL KJUSERCR KJUSERCW KJUSERPR KJUSERPW KJUSEREX count : 1 0 0 0 0 1 val_state : KJUSERVS_NOVALUE valblk : 0xd0f5415aff7f00000000000000000000 .AZ access_inst : 2 vbreq_state : 0 state : x0 resp : 0xc2bc3f50 On Scan_q? : N Total accesses: 2654 Imm. accesses: 2517 Granted_locks : 1 Cvting_locks : 1 value_block: d0 f5 41 5a ff 7f 00 00 00 00 00 00 00 00 00 00 GRANTED_Q : lp 0xd0f7e510 gl KJUSEREX rp 0xc2bc3f50 [0xf0008][0x24a0],[TX][ext 0x4,0x0] master 2 gl owner 0xd5df5688 possible pid 19261 xid 53000-0002-00000286 bast 0 rseq 125 mseq 0 history 0x4977d495 open opt KJUSERDEADLOCK CONVERT_Q: lp 0xd0f7e6e0 gl KJUSERNL rl KJUSERPR rp 0xc2bc3f50 [0xf0008][0x24a0],[TX][ext 0x4,0x0] master 2 owner 1 bast 1 rseq 207 mseq 0x1 history 0x77d497ad convert opt KJUSERGETVALUE ----------enqueue 0xd0f7e510------------------------ lock version : 89 Owner inst : 2 grant_level : KJUSEREX req_level : KJUSEREX bast_level : KJUSERNL notify_func : (nil) resp : 0xc2bc3f50 procp : 0xdb10cc20 pid : 17454 proc version : 0 oprocp : (nil) opid : 17454 group lock owner : 0xd5df5688 possible pid : 19261 xid : 53000-0002-00000286 dd_time : 0.0 secs dd_count : 0 timeout : 0.0 secs On_timer_q? : N On_dd_q? : N lock_state : GRANTED ast_flag : 0x0 Open Options : KJUSERDEADLOCK Convert options : KJUSERNOQUEUE KJUSERNODEADLOCKWAIT History : 0x4977d495 Msg_Seq : 0x0 res_seq : 125 valblk : 0x00000000000000003100050200000000 .1 user session for deadlock lock 0xd0f7e510 sid: 290 ser: 713 audsid: 82787243 user: 64/SCOTT flags: (0x41) USR/- flags_idl: (0x1) BSY/-/-/-/-/- flags2: (0x40009) -/-/INC pid: 83 O/S info: user: grid, term: UNKNOWN, ospid: 19261 image: oracle@db1 client details: O/S info: user: wasadmin, term: unknown, ospid: 1234 machine: cdldvjassvap291 program: JDBC Thin Client application name: JDBC Thin Client, hash value=2546894660 current SQL: INSERT INTO tab1 SELECT x from tab2; (made up ) DUMP LOCAL BLOCKER: initiate state dump for DEADLOCK possible owner[83.19261] on resource TX-000F0008-000024A0 *** 2012-09-18 17:14:20.116 Submitting asynchronized dump request [28]. summary=[ges process stack dump (kjdglblkrdm1)]. Global blockers dump end:----------------------------------- Global Wait-For-Graph(WFG) at ddTS[0.1] : BLOCKED 0xdb976808 3 wq 2 cvtops x1 TX 0x150019.0x12b0a(ext 0x2,0x0)[53000-0002-00000286] inst 2 BLOCKER 0xcc55d558 3 wq 1 cvtops x28 TX 0x150019.0x12b0a(ext 0x2,0x0)[4C000-0001-0000014C] inst 1 BLOCKED 0xdb7dcfc8 3 wq 2 cvtops x1 TX 0xf0008.0x24a0(ext 0x4,0x0)[4C000-0001-0000014C] inst 1 BLOCKER 0xd0f7e510 3 wq 1 cvtops x28 TX 0xf0008.0x24a0(ext 0x4,0x0)[53000-0002-00000286] inst 2 *** 2012-09-18 17:14:20.687 * Cancel deadlock victim lockp 0xdb976808 *** 2012-09-18 17:14:25.028 ENQUEUE DUMP REQUEST: from 1 spnum 12 on [0x1a0006][0x2b6e],[TX][ext 0x4,0x0] for reason 3 mtype 0 DUMP LOCAL BLOCKER/HOLDER: block level 3 res [0x1a0006][0x2b6e],[TX][ext 0x4,0x0] ----------resource 0xde49c768---------------------- resname : [0x1a0006][0x2b6e],[TX][ext 0x4,0x0] hash mask : x3 Local inst : 2 dir_inst : 2 master_inst : 2 hv idx : 72 hv last r.inc : 84 current inc : 84 hv status : 0 hv master : 1 open options : dd grant_bits : KJUSERNL KJUSEREX grant mode : KJUSERNL KJUSERCR KJUSERCW KJUSERPR KJUSERPW KJUSEREX count : 1 0 0 0 0 1 val_state : KJUSERVS_NOVALUE valblk : 0x00000000000000000000000000000000 . access_inst : 2 vbreq_state : 0 state : x0 resp : 0xde49c768 On Scan_q? : N Total accesses: 1823 Imm. accesses: 1789 Granted_locks : 1 Cvting_locks : 1 value_block: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 GRANTED_Q : lp 0xdb40f4a0 gl KJUSEREX rp 0xde49c768 [0x1a0006][0x2b6e],[TX][ext 0x4,0x0] master 2 gl owner 0xd7f08fa8 possible pid 19228 xid 46000-0002-000004A4 bast 0 rseq 32 mseq 0 history 0x4977d495 open opt KJUSERDEADLOCK CONVERT_Q: lp 0xdb414320 gl KJUSERNL rl KJUSERPR rp 0xde49c768 [0x1a0006][0x2b6e],[TX][ext 0x4,0x0] master 2 owner 1 bast 1 rseq 190 mseq 0x1 history 0x77d497ad convert opt KJUSERGETVALUE ----------enqueue 0xdb40f4a0------------------------ lock version : 129 Owner inst : 2 grant_level : KJUSEREX req_level : KJUSEREX bast_level : KJUSERNL notify_func : (nil) resp : 0xde49c768 procp : 0xdb10cc20 pid : 17454 proc version : 0 oprocp : (nil) opid : 17454 group lock owner : 0xd7f08fa8 possible pid : 19228 xid : 46000-0002-000004A4 dd_time : 0.0 secs dd_count : 0 timeout : 0.0 secs On_timer_q? : N On_dd_q? : N lock_state : GRANTED ast_flag : 0x0 Open Options : KJUSERDEADLOCK Convert options : KJUSERNOQUEUE KJUSERNODEADLOCKWAIT History : 0x4977d495 Msg_Seq : 0x0 res_seq : 32 valblk : 0x00000000000000000000000000000000 . user session for deadlock lock 0xdb40f4a0 sid: 94 ser: 2065 audsid: 82787238 user: 64/SCOTT flags: (0x41) USR/- flags_idl: (0x1) BSY/-/-/-/-/- flags2: (0x40009) -/-/INC pid: 70 O/S info: user: grid, term: UNKNOWN, ospid: 19228 image: oracle@db1 client details: O/S info: user: wasadmin, term: unknown, ospid: 1234 machine: cdldvjassvap291 program: JDBC Thin Client application name: JDBC Thin Client, hash value=2546894660 current SQL: INSERT INTO tab1 SELECT x from tab2; (made up) DUMP LOCAL BLOCKER: initiate state dump for DEADLOCK possible owner[70.19228] on resource TX-001A0006-00002B6E *** 2012-09-18 17:14:25.029 Submitting asynchronized dump request [28]. summary=[ges process stack dump (kjdglblkrdm1)]. Global blockers dump start:--------------------------------- DUMP LOCAL BLOCKER/HOLDER: block level 3 res [0x160016][0x9249],[TX][ext 0x2,0x0] ----------resource 0xdb2d6758---------------------- resname : [0x160016][0x9249],[TX][ext 0x2,0x0] hash mask : x3 Local inst : 2 dir_inst : 1 master_inst : 1 hv idx : 51 hv last r.inc : 82 current inc : 84 hv status : 0 hv master : 0 open options : dd Held mode : KJUSERNL Cvt mode : KJUSERPR Next Cvt mode : KJUSERNL msg_seq : 0x1 res_seq : 49 grant_bits : KJUSERNL grant mode : KJUSERNL KJUSERCR KJUSERCW KJUSERPR KJUSERPW KJUSEREX count : 1 0 0 0 0 0 val_state : KJUSERVS_NOVALUE valblk : 0xd0f5415aff7f00000000000000000000 .AZ access_inst : 1 vbreq_state : 0 state : x8 resp : 0xdb2d6758 On Scan_q? : N Total accesses: 1620 Imm. accesses: 1442 Granted_locks : 0 Cvting_locks : 1 value_block: d0 f5 41 5a ff 7f 00 00 00 00 00 00 00 00 00 00 GRANTED_Q : CONVERT_Q: lp 0xdb682d78 gl KJUSERNL rl KJUSERPR rp 0xdb2d6758 [0x160016][0x9249],[TX][ext 0x2,0x0] master 1 gl owner 0xdc568020 possible pid 19228 xid 46000-0002-000004A4 bast 0 rseq 49 mseq 0 history 0x495149da convert opt KJUSERGETVALUE DUMP LOCAL BLOCKER/HOLDER: block level 3 res [0x1a0006][0x2b6e],[TX][ext 0x4,0x0] ----------resource 0xde49c768---------------------- resname : [0x1a0006][0x2b6e],[TX][ext 0x4,0x0] hash mask : x3 Local inst : 2 dir_inst : 2 master_inst : 2 hv idx : 72 hv last r.inc : 84 current inc : 84 hv status : 0 hv master : 1 open options : dd grant_bits : KJUSERNL KJUSEREX grant mode : KJUSERNL KJUSERCR KJUSERCW KJUSERPR KJUSERPW KJUSEREX count : 1 0 0 0 0 1 val_state : KJUSERVS_NOVALUE valblk : 0xd0f5415aff7f00000000000000000000 .AZ access_inst : 2 vbreq_state : 0 state : x0 resp : 0xde49c768 On Scan_q? : N Total accesses: 1825 Imm. accesses: 1790 Granted_locks : 1 Cvting_locks : 1 value_block: d0 f5 41 5a ff 7f 00 00 00 00 00 00 00 00 00 00 GRANTED_Q : lp 0xdb40f4a0 gl KJUSEREX rp 0xde49c768 [0x1a0006][0x2b6e],[TX][ext 0x4,0x0] master 2 gl owner 0xd7f08fa8 possible pid 19228 xid 46000-0002-000004A4 bast 0 rseq 32 mseq 0 history 0x4977d495 open opt KJUSERDEADLOCK CONVERT_Q: lp 0xdb414320 gl KJUSERNL rl KJUSERPR rp 0xde49c768 [0x1a0006][0x2b6e],[TX][ext 0x4,0x0] master 2 owner 1 bast 1 rseq 190 mseq 0x1 history 0x77d497ad convert opt KJUSERGETVALUE ----------enqueue 0xdb40f4a0------------------------ lock version : 129 Owner inst : 2 grant_level : KJUSEREX req_level : KJUSEREX bast_level : KJUSERNL notify_func : (nil) resp : 0xde49c768 procp : 0xdb10cc20 pid : 17454 proc version : 0 oprocp : (nil) opid : 17454 group lock owner : 0xd7f08fa8 possible pid : 19228 xid : 46000-0002-000004A4 dd_time : 0.0 secs dd_count : 0 timeout : 0.0 secs On_timer_q? : N On_dd_q? : N lock_state : GRANTED ast_flag : 0x0 Open Options : KJUSERDEADLOCK Convert options : KJUSERNOQUEUE KJUSERNODEADLOCKWAIT History : 0x4977d495 Msg_Seq : 0x0 res_seq : 32 valblk : 0x00000000000000003100050200000000 .1 user session for deadlock lock 0xdb40f4a0 sid: 94 ser: 2065 audsid: 82787238 user: 64/SCOTT flags: (0x41) USR/- flags_idl: (0x1) BSY/-/-/-/-/- flags2: (0x40009) -/-/INC pid: 70 O/S info: user: grid, term: UNKNOWN, ospid: 19228 image: oracle@db1 client details: O/S info: user: wasadmin, term: unknown, ospid: 1234 machine: cdldvjassvap291 program: JDBC Thin Client application name: JDBC Thin Client, hash value=2546894660 current SQL: INSERT INTO tab1 SELECT x from tab2;(made up) DUMP LOCAL BLOCKER: initiate state dump for DEADLOCK possible owner[70.19228] on resource TX-001A0006-00002B6E *** 2012-09-18 17:14:25.030 Submitting asynchronized dump request [28]. summary=[ges process stack dump (kjdglblkrdm1)]. Global blockers dump end:----------------------------------- Global Wait-For-Graph(WFG) at ddTS[0.2] : BLOCKED 0xdb682d78 3 wq 2 cvtops x1 TX 0x160016.0x9249(ext 0x2,0x0)[46000-0002-000004A4] inst 2 BLOCKER 0xcefeaf70 3 wq 1 cvtops x28 TX 0x160016.0x9249(ext 0x2,0x0)[54000-0001-000000A9] inst 1 BLOCKED 0xdb9b6380 3 wq 2 cvtops x1 TX 0x1a0006.0x2b6e(ext 0x4,0x0)[54000-0001-000000A9] inst 1 BLOCKER 0xdb40f4a0 3 wq 1 cvtops x28 TX 0x1a0006.0x2b6e(ext 0x4,0x0)[46000-0002-000004A4] inst 2 *** 2012-09-18 17:14:25.667 * Cancel deadlock victim lockp 0xdb682d78 *** 2012-09-18 18:09:23.508 Begin DRM(406) (swin 0) - AFFINITY transfer pkey 88431.0 to 2 oscan 0.0 kjiobjscn 1 ftd (30) received from node 1 (84 0.30/0.0) all ftds received * kjxftdn: break from kjxftdn, post lmon later ftd (33) received from node 1 (84 0.34/0.0) all ftds received ftd (35) received from node 1 (84 0.36/0.0) all ftds received ftd (37) received from node 1 (84 0.38/0.0) all ftds received ftd (30) received from node 1 (84 0.31/0.0) all ftds received ftd (33) received from node 1 (84 0.34/0.0) all ftds received ftd (35) received from node 1 (84 0.36/0.0) all ftds received ftd (37) received from node 1 (84 0.38/0.0) all ftds received ftd (30) received from node 1 (84 0.30/0.0) all ftds received
Published by: orausern on October 10, 2012 05:58Let them show you some code. Do not believe anything they said your question don't tell not only
-
Strange behavior of bounding box
Hello
Working in Illustrator lately - and a problem arose which makes it difficult to produce a specific work. When you draw a simple rectangular box around a page of 500 px x 830 - covering is not consistent with the content area.
I mean by this is that there is a gap between the edge of the bounding box - and the current border of the box. To make things worse - if I move the bounding box node - line is not necessarily maintain the gap that appeared in the first place. Which means that I literally can't accurately draw a rectangle to fit the page - as the border is always out of position.
I have attached a few photos of probably better illustrates the problem that my explanation is done. Please note that in the photos - I literally just moved the left node of the frame MTB encompassing (ignore the diagonal lines, as it is a part of MS) - no other changes have been made.
Any ideas anyone... Please...?
Thank you
Miles
Check in the transformation Panel and align with the pixel grid is on.
-
strange behavior of the key in a table
Hi everibody.
Work with databases and Oracle Forms 10 G.
I have a tabular presentation. In the present, I have a few buttons added to each row of the table.
I use a hot key for can run one of these buttons.
The problem.
If I use the quick access key the active trigger never use 1º check tabular data, maybe Im located in the folder of 5º if I use the access key taking trigger 1 registration data. If I clik the button of mouse whith does save it correctly data.
Any ideas wellcome.
Thanks to advanced at all.Access keys will not correctly work in tabular form. Access key must be specific to the form, if it has more than once the same access key, one fires and multirecord in a block the first is the first record.
-
How to set the condition of rule to check the Primary Key, Foreign Key and Unique
I use Oracle 10.2
Could someone tell me please how to set the rule condition to check the primary key, foreign key constraint of uniqueness?Hello
Primary key, unique constraints and foreign key are better applied using the native functionality of database constraint. If you like the rules to check if a key exists at the time of the evaluation, you can use a function defined by the user in a rule condition and this function can ask to turn the table keys.
Hope this helps,
-Aravind. -
Foreign key, check force
Hello
This is the structure of two two table.
DDL:
CREATE TABLE TEST_PARENT ( PARENT_KEY NUMBER (22), PARENT_ID NUMBER (22), PARENT_NAME VARCHAR2 (255 CHAR), EFFECTIVE_START_DATE DATE DEFAULT sysdate NOT NULL , EFFECTIVE_END_DATE DATE ) ; ALTER TABLE TEST_PARENT ADD CONSTRAINT PK_TEST_PARENT PRIMARY KEY ( PARENT_KEY ) ; CREATE TABLE TEST_CHANNEL ( CHANNEL_KEY NUMBER (22), CHANNEL_ID NUMBER (22), CHANNEL_NAME VARCHAR2 (255 CHAR), EFFECTIVE_START_DATE DATE DEFAULT sysdate NOT NULL , EFFECTIVE_END_DATE DATE ) ; ALTER TABLE TEST_CHANNEL ADD CONSTRAINT PK_TEST_CHANNEL PRIMARY KEY ( CHANNEL_KEY ) ;
Logic:
Parent_id is always fixed to a Parent. But a Parent can have different attributes (parent_name here). Where the attributes are changing it will end the bu previous records put a value to effective_end_date and it will create a new line. New line will have the PARENT_KEY new PARENT_NAME with new effective_start_date and null in effective_end_date.
Same logic applies to the CHILD table as well.
What is the best way to put a reference to the type of the foreign key in the CHILD table that in case, will ensure that a child cannot exist without a parent now. I can't take PARENT_KEY as a foreign key to the same parent can change the PARENT_KEY and a child must always point to the parent ASSET (EFFECTIVE_END_DATE as null) folder.
Thanks in advance.
I would enrich your datamodel by tables of the object/version as:
CREATE TABLE TEST_PARENT_OT
(
NUMBER OF PARENT_KEY (22) NOT NULL
) ;ALTER TABLE TEST_PARENT_OT ADD CONSTRAINT PK_TEST_PARENT_OT PRIMARY KEY (PARENT_KEY);
CREATE TABLE TEST_PARENT_VT
(
NUMBER OF PARENT_KEY (22) NOT NULL,
NUMBER of VERSION_ID (22) not null,
PARENT_NAME VARCHAR2 (255 CHAR),
EFFECTIVE_START_DATE DATE default sysdate NOT NULL,
DATE OF EFFECTIVE_END_DATE
) ;ALTER TABLE TEST_PARENT_VT ADD CONSTRAINT PK_TEST_PARENT_VT PRIMARY KEY (PARENT_KEY, VERSION_ID);
ALTER TABLE TEST_PARENT_VT add CONSTRAINT FK_PARENT_VT_PARENT_OT foreign key (parent_key) refers to test_parent_ot (parent_key);CREATE TABLE TEST_CHANNEL_OT
(
NUMBER OF CHANNEL_KEY (22) NOT NULL
) ;ALTER TABLE TEST_CHANNEL_OT ADD CONSTRAINT PK_TEST_CHANNEL_OT PRIMARY KEY (CHANNEL_KEY);
CREATE TABLE TEST_CHANNEL_VT
(
NUMBER OF CHANNEL_KEY (22) NOT NULL,
NUMBER OF VERSION_ID (22) NOT NULL,
PARENT_KEY NUMBER (22) NOT NULL,
CHANNEL_NAME VARCHAR2 (255 CHAR),
EFFECTIVE_START_DATE DATE default sysdate NOT NULL,
DATE OF EFFECTIVE_END_DATE
) ;ALTER TABLE TEST_CHANNEL_VT ADD CONSTRAINT PK_TEST_CHANNEL_VT PRIMARY KEY (CHANNEL_KEY, VERSION_ID);
ALTER TABLE TEST_CHANNEL_VT add CONSTRAINT FK_CHANNEL_VT_CHANNEL_OT FOREIGN KEY (channel_key) REFERENCES TEST_CHANNEL_OT (channel_key);
ALTER TABLE TEST_CHANNEL_VT add CONSTRAINT FK_CHANNEL_VT_PARENT_OT FOREIGN KEY (PARENT_key) REFERENCES test_parent_ot (parrent_key);Using this you will not have to reallocate your child of the lines when a new version of parent is created and you will be able to have the independent channel versions of the parent versions (so no need to change all the children when the parents ends).
the construction of views of parents and the channels which only show active lines.
The problem you may have is to be sure to have for each point in time an active version and so I would not implement of an effective_end date, but inherit the effective end of the effective next to (which is a little more work but you will help gapelessness if necessary)
HTH
-
Conditionally Enable and Disable select any check box in the report position only?
4.2.1
THM: 2
Hello
I have a classic report with an apex_item.checkbox2 as the first column. I also had to add a "Select all" check box in the header. I did it by adding this to the column header
< input type = "checkbox" onclick = "$f_CheckFirstColumn (this)" / > "
However, there is a requirement where in I need to disable this "topic" check all (line remain) when a certain field is not filled.
For example: P2_fLAG which is a page element is null, then select it title all the checkbox should be disabled.
Is this possible?
Thank you
Ryan
ryansun wrote:
This bump. Wondering if anyone has done this before?
A took a look yesterday. May have the time to finish today.
In this page if F1 and F2 are null and the user has selected "Select all" and click on the button. A message to standard error or alert apex must be indicated, asking the user to fill something in the fields F1 or F2.
I think that the idea first of activation and deactivation of select box everything is the best approach. Always better to prevent the user from doing something than to allow them to do it and then tell them they can't.
-
Principle &; interest and interest only check the behavior of box
Hi people,
I have a customer who would like 2 check - boxes they say 'Principle and interest' and the other just says 'interest '.
So, basically, you need to check one of these boxes to see the final figure of "Monthly payments" appear. See the diagrams below for a better explanation:
Principle and interest
In this diagram, if are not ticked the boxes, no amount should appear in "monthly payment". If "Principle and interest" is checked (circled in the figure), then the figure appears - in this example, the figure is $2 040,73. (This figure is calculated in accordance with a PMT calculation script kindly provided for me in this thread:
.)Interest only
Similarly to the above, in this scheme, if no checkbox is enabled, no amount should appear in "monthly payment". If "interest only" is checked (circled in the diagram) then the figure appears - in this example, the figure is $1 561,59. (This figure is calculated using the following simplified field Notation: Total_Loan_2_L2 * Actual_Interest_Rate_L2 / 12)
The two checkboxes name is 'Loan2_check' and we got the export value of 'Yes1' and the other 'YES2"so that the two can be controlled at the same time.
If someone could kindly help solve what would be greatly appreciated
Thank you
Change this line:
var rate = getField("Actual_Interest_Rate_L1").value;
To do this:
var rate = + this.getField ("Actual_Interest_Rate_L1") .value;
This will force the value of the field to be converted to a number, if the field is empty, it will return zero.
Maybe you are looking for
-
I need to know if the game of tetris in the app store works on my iMac
I need to know if the game of tetris in the app store works on my iMac? He say iphone and ipad
-
I bought a used iPhone 5 s to a friend, he has his iCloud account, signed at and I forgot the password, email used to iCloud is also bound to an identifier apple in any way to log out of the account without the password iCloud? iOS 9.1
-
No access by browser for the program of installation/configuration AG300
I tried to enter the web interface for my AG300. I get the "Problem loading Page" dialogue - the address has not been changed default 192.268.1.1 So far I tried in Windows & Ubuntu and Firefox, chrome and explore. I have sone a rest hard and restarte
-
How to activate a second video card?
I bought my laptop with an upgrade to a NVIDIA GeForce GT 525 M video card. After you download an architectural program, the program said that it detects both 2 video cards. The manufacturer of the program said that the video card, I use Intel(r) HD
-
SurCode license does not activate. Does anyone else have this problem?
I have recently subscribed to the CC and try to use Premiere Pro CC 2015 for my video work.My work requires exporting to Dolby Digital 5.1. Therefore, I asked the upgrade $ 99 from Minnetonka Audio for a permanent license. Activation simply extended