Problem with capturing Primary Key Index
Hi
I am capturing certain tables and in the mean process i observed that all the indexes are getting captured except the primary key index.
Any Suggestions on this?
Thanx,
Suji
Hi,
I was unable to reproduce this behavior on OWM 10.1.0.8. It appears that you have a SR open for this issue, so I would suggest to continue with that process.
Regards,
Ben
Similar Messages
-
Problem with Sting Primary Key
I have probleme with Sting Primary Key
when i create new row
System.out.println("is new:" + acct.getEntityState());
show 1 - this row is not new
why?Hi,
I was unable to reproduce this behavior on OWM 10.1.0.8. It appears that you have a SR open for this issue, so I would suggest to continue with that process.
Regards,
Ben -
Problem with varchar2 primary key..
OWM version 10.1.0.8
When I am trying to add a column in a version enable table with varchar2 primary key, it fails.
If primary key is numeric it works.
See below the test case.
-- CASE 1. When primary key is number.
SQL> create table wmtab
( wmtab_id number,
price number,
title varchar2(80),
AUTHOR VARCHAR2(10)
Table created.
SQL> ALTER TABLE wmtab add (CONSTRAINT PK_kontakt PRIMARY KEY (wmtab_id));
Table altered.
SQL> EXECUTE DBMS_WM.EnableVersioning('WMTAB');
PL/SQL procedure successfully completed.
SQL> CALL DBMS_WM.BEGINDDL('WMTAB');
Call completed.
SQL> ALTER TABLE wmtab_lts add ( FREIGEGEBEN varchar2(1));
Table altered.
SQL> CALL DBMS_WM.commitDDL('WMTAB');
Call completed.
-- CASE 2. When primary key is varchar2.
SQL> create table wmtab
(wmtab_id varchar2(10) constraint wmtab_pk primary key,
price number,
title varchar2(80),
AUTHOR VARCHAR2(10)
Table created.
SQL> EXECUTE DBMS_WM.EnableVersioning('WMTAB');
PL/SQL procedure successfully completed.
SQL> CALL DBMS_WM.BEGINDDL('WMTAB');
Call completed.
SQL> ALTER TABLE wmtab_lts add ( FREIGEGEBEN varchar2(1));
Table altered.
SQL> call DBMS_WM.CommitDDL('wmtab');
call DBMS_WM.CommitDDL('wmtab')
ERROR at line 1:
ORA-20199: primary key columns cannot be added/dropped/modified/reordered for
version enabled tables
ORA-06512: at "SYS.OWM_DDL_PKG", line 6196
ORA-06512: at "SYS.LT", line 11930
ORA-06512: at line 1
Same problem is reprosucible on OWM 10.2.0.1.
But its working fine with varchar2 primary key On OWM 10.2.0.4.2/3
Is there any workaround or we can get patch for 10.1.x.x?Hi,
I was unable to reproduce this behavior on OWM 10.1.0.8. It appears that you have a SR open for this issue, so I would suggest to continue with that process.
Regards,
Ben -
Problem with a primary key when creating a new record in Forms
My table has a field - MDD_KEY - that is a primary key. It is updated from a sequence with a before-insert database trigger. I know this works properly as the primary key was accurately populated when I inserted 1433 records.
In Forms 6, I have a form based on that table. I have set the mdd_key as a hidden field because I assume it will be entered by the before-insert trigger. However, when I enter data into the table, and then try to save it, I get a FRM-40202: Field must be entered. - followed by - FRM-40222: Disabled item MDD_KEY failed validation.
If I set DATA Required to no, when I try to save I get an FRM-40600: Record has already been inserted - but no such record exists in the database. I know this record is unique and does NOT exist because I deliberately made it up.
In the property palatte, the attributes of the field are:
DATA Data Type Number
Required Yes
DATABASE Database Item Yes
Primary Key Yes
Query Only No
Query Allowed Yes
Query Length 0
Insert Allowed Yes
Update Allowed Yes
Update Only if Null No
Lock Record No
I assume that my problem is that with a new record, the form wants to see the MDD_KEY populated before it saves - but that isn't going to happen until the before insert trigger fires in the database. I assume I have to populate that field within forms, but how do I do that without messing up the database trigger/sequence? I will have to load more data directly into the database - so I need the database trigger in place.
I have not used primary keys before so I am more than a little bit confused about how and when it should be populated when a new record is created in Forms.
Any help would be appreciated as I cannot enter new data into my form (works well with existing data).
Thanks
Glennhi
if u have any problem using seq then try that statemetn ur block level in ur form
PRE-INSERT trigger
select nvl(max(nvl(srno,0)),0)+1 into :srno from tablename;
Rizwan -
Problem With Compound Primary Key
Hello Experts,
i am facing some probelm with copound primarykey.
the Probelm is
i have data base table which has compound primary key for that one i have created the entity bean(CMP) and primary key of type compound.using this i am able to insert record into databse but for updation i am using
<b>findbyPrimarykey()</b> method ,for that methos i am passing
primary key object with compound key values.
when i am executing this methos it is throwing <b>nosuchobject exception.</b>
what might be the problem
any help will be appriciated
thanks in advance
With Regds
NaiduHi,
Is ur compound primarykey class is something like this?
public class PrimaryKey implements java.io.Serializable {
public String id = "";
public int no = 0;
//a default constructor is required:
public PrimaryKey() { }
// optional constructor fo clients:
public PrimaryKey(String id, int no) {
this.id = smsId;
this.no = no;
public String toString() {
return id + "" + no;
public boolean equals(Object obj) {
if (obj == null || !(obj instanceof PrimaryKey))
return false;
else if ((((PrimaryKey)obj).no == no) && (((PrimaryKey)obj).id.equals(id)))
return true;
else
return false;
public int hashCode() {
return id.hashCode() + no ; -
Hi All,
I have a table with the same data repeating 2 times. I mean the rows are depating twice. so now I am creating primary key to the table. It is throwing me an error saying primary key voilation. I will provide the clear scenario.
create table Employee(
ID VARCHAR2(4 BYTE) NOT NULL,
First_Name VARCHAR2(10 BYTE),
Last_Name VARCHAR2(10 BYTE),
Start_Date DATE,
End_Date DATE,
Salary Number(8,2),
City VARCHAR2(10 BYTE),
Description VARCHAR2(15 BYTE)
insert into employee values ('01','Jason', 'Martin', to_date('19960725','YYYYMMDD'), to_date('20060725','YYYYMMDD'), 1234.56, 'Toronto', 'Programmer');
insert into employee values ('02','Alison', 'Mathews', to_date('19760321','YYYYMMDD'), to_date('19860221','YYYYMMDD'), 6661.78, 'Vancouver','Tester');
insert into employee values ('03','James', 'Smith', to_date('19781212','YYYYMMDD'), to_date('19900315','YYYYMMDD'), 6544.78, 'Vancouver','Tester');
insert into employee values ('04','Celia', 'Rice', to_date('19821024','YYYYMMDD'), to_date('19990421','YYYYMMDD'), 2344.78, 'Vancouver','Manager');
insert into employee values ('05','Robert', 'Black', to_date('19840115','YYYYMMDD'), to_date('19980808','YYYYMMDD'), 2334.78, 'Vancouver','Tester');
insert into employee values ('07','David', 'Larry', to_date('19901231','YYYYMMDD'), to_date('19980212','YYYYMMDD'), 7897.78,'New York', 'Manager');
insert into employee values ('06','Linda', 'Green', to_date('19870730','YYYYMMDD'), to_date('19960104','YYYYMMDD'), 4322.78,'New York', 'Tester');
insert into employee values ('08','James', 'Cat', to_date('19960917','YYYYMMDD'), to_date('20020415','YYYYMMDD'), 1232.78,'Vancouver', 'Tester')
insert into employee values ('07','David', 'Larry', to_date('19901231','YYYYMMDD'), to_date('19980212','YYYYMMDD'), 7897.78,'New York', 'Manager');
insert into employee values ('06','Linda', 'Green', to_date('19870730','YYYYMMDD'), to_date('19960104','YYYYMMDD'), 4322.78,'New York', 'Tester');
Now the table is with 10 columns
ID FIRST_NAME LAST_NAME START_DAT END_DATE SALARY CITY DESCRIPTION
01 Jason Martin 25-JUL-96 25-JUL-06 1234.56 Toronto Programmer
02 Alison Mathews 21-MAR-76 21-FEB-86 6661.78 Vancouver Tester
03 James Smith 12-DEC-78 15-MAR-90 6544.78 Vancouver Tester
04 Celia Rice 24-OCT-82 21-APR-99 2344.78 Vancouver Manager
05 Robert Black 15-JAN-84 08-AUG-98 2334.78 Vancouver Tester
06 Linda Green 30-JUL-87 04-JAN-96 4322.78 New York Tester
07 David Larry 31-DEC-90 12-FEB-98 7897.78 New York Manager
08 James Cat 17-SEP-96 15-APR-02 1232.78 Vancouver ester
Creating Primary key to the table
"ALTER TABLE employee PRIMARY KEY ( ID, First_Name, Last_Name, Start_Date, End_Date,
Salary, City, Description );"
I am getting primary key voilation error
IS THERE ANY WAY TO CREATE PRIMARY KEY ON THE TABLE WITH OUT DELETING THE DATA?
iS IT POSSIBLE CREATING PRIMARY KEY BY USING 'GROUP BY' FUNCTION OR ANY OTHER FUNCTIONS?
Edited by: user11872870 on Sep 23, 2010 5:41 PMuser11872870 wrote:
Actually there is a small mistake in the question. The table is having the data as
ID FIRST_NAME LAST_NAME START_DAT END_DATE SALARY CITY DESCRIPTION
01 Jason Martin 25-JUL-96 25-JUL-06 1234.56 Toronto Programmer
02 Alison Mathews 21-MAR-76 21-FEB-86 6661.78 Vancouver Tester
03 James Smith 12-DEC-78 15-MAR-90 6544.78 Vancouver Tester
04 Celia Rice 24-OCT-82 21-APR-99 2344.78 Vancouver Manager
05 Robert Black 15-JAN-84 08-AUG-98 2334.78 Vancouver Tester
06 Linda Green 30-JUL-87 04-JAN-96 4322.78 New York Tester
07 David Larry 31-DEC-90 12-FEB-98 7897.78 New York Manager
08 James Cat 17-SEP-96 15-APR-02 1232.78 Vancouver ester
05 Robert Black 15-JAN-84 08-AUG-98 2334.78 Vancouver "NULL"
06 Linda Green 30-JUL-87 04-JAN-96 4322.78 New York "NULL"
There is a null in the duplicate data.....
As there is NULL in the data It is not allowing me to add the primary key to the table.....
I am just looking if there is any other way to create primary key with the same data....the reason for the null not allowing you to have unique records is because null means "unknown". I could go into this in more depth but....
...again - we need to ask, why do you have linda green and robert black in there twice.
if you really do need those two extra rows, then create another column with a unique ID using a sequence and make that the primary key. a primary key uniquely identifies a row. for this data I don't see any reason whatsoever to create a composite key like you are attempting.
by trying to make the entire row a primary key it is clear your understanding is severely lacking. -
Problems with concatenated primary key
Hi all,
I am trying to create cache groups of single tables. When I create a cache group (using the browser based cache admin tool) for a table that has a single row primary key, there are no problems. After creating the cache group I can go to TTISQL and issue a select statement of that table to see all the rows.
However if I create a Cache group in the same way for a table that has a concatenated primary key (using two columns), TimesTen does indeed says that the cache group is created, but then when I issue a SELECT statement for that table in TTISQL, I get "0 rows returned".
What could be going wrong ? Please advice.
Thanks in advanceif you describe the cache group in ttIsql (just enter 'cachegroups;' and hit return) what do you see?
What message do you get back if you load the cache group in ttIsql:
load cache group <cgname> commit every 100 rows; -
Primary key index not working in a select statment
Hi ,
I'm doing a :
select *
from my_table
where B = v1 and
A = v2 ;
where A and B are the primary key of the table, in that table the primary key index is there and the order of the primary key definition is A first and then B.
While testing this statment in my database the Explain Plan shows that it is using the index ok but when
runninng in client database it is not using it becasue of the order (i think), is this something configurable that I need to ask to my DBA ?
The solution I found was to do the select with a hint wich fix the problem , but I'm curious about why is working in my dadabase and not in the client database
thanks in advance .
oracle version 11gThis is the forum for SQL Developer (Not for general SQL/PLSQL questions). Your question would be better asked in the SQL and PL/SQL forum.
Short answer: The execution plan used will depend on optimizer settings and table/index statistics. For example if the table has very few rows it may not bother using the index. -
Hi Support,
I am trying to use FMLE to encode and stream video from an Axis P1346 IP camera, via Axis' Streaming Assistant software, to a Wowza server.
Everyting appears to be working perfectly and the encoding and resultant stream quality is excellent. Sometimes after a few hours and sometimes after just a few minutes, the encoding will stop with the following error:
Tue Mar 26 2013 11:47:18 : Session Stopped
Tue Mar 26 2013 11:47:18 : Problem with capture device. Incorrect samples given by the device. Stopping encoding session.
I have attached a recent log of a session that only lasted a few minutes - do you have any ideas on how to resolve this instability?
=================================================================
File: C:\Program Files (x86)\Adobe\Flash Media Live Encoder 3.2\FlashMediaLiveEncoder.exe
Description: Adobe® Flash® Media Live Encoder
Copyright: © 2009 - 10 Adobe Systems Incorporated. All Rights Reserved. Adobe, the Adobe logo, and Flash are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. All other trademarks are the property of their respective owners. <AdobeIP#0000716>
Version: 3.2.0.9932
=================================================================
Tue Mar 26 2013 11:42:10 : Selected video input device: TowerBridge
Tue Mar 26 2013 11:42:10 : Failed with error 80040154:CoCreateInstance(CLSID_VideoMixingRenderer9, NULL, CLSCTX_INPROC, IID_IBaseFilter, pFilterVideoMixingRenderer.ppv())
Tue Mar 26 2013 11:42:10 : Display Color Quality Warning : Display color quality is currently lower than 32 bit. Colors in video display may be distorted when encoding is not on. To change the display color, open the Display Properties, Settings tab and change color quality to 32 bit.
Tue Mar 26 2013 11:42:12 : No audio capture devices detected. : Flash Media Live Encoder requires an audio capture device to be connected and properly installed.
Tue Mar 26 2013 11:42:24 : Primary - Connected to FMS/3,5,7,7009
Tue Mar 26 2013 11:42:24 : Primary - Network Command: onFCPublish
Tue Mar 26 2013 11:42:24 : Primary - Stream[fmlestream] Status: Success
Tue Mar 26 2013 11:42:24 : Primary - Stream[fmlestream] Status: NetStream.Publish.Start
==========================================================
<?xml version="1.0" encoding="UTF-16"?>
<flashmedialiveencoder_profile>
<preset>
<name>Custom</name>
<description></description>
</preset>
<capture>
<video>
<device>TowerBridge</device>
<crossbar_input>0</crossbar_input>
<frame_rate>30.00</frame_rate>
<size>
<width>640</width>
<height>360</height>
</size>
</video>
<timecode>
<frame_rate>15</frame_rate>
<systemtimecode>true</systemtimecode>
<devicetimecode>
<enable>false</enable>
<vertical_line_no>16</vertical_line_no>
<burn>false</burn>
<row>Bottom</row>
<column>Left</column>
</devicetimecode>
</timecode>
</capture>
<encode>
<video>
<format>H.264</format>
<datarate>1000;</datarate>
<outputsize>640x360;</outputsize>
<advanced>
<profile>Baseline</profile>
<level>3.1</level>
<keyframe_frequency>1 Second</keyframe_frequency>
</advanced>
<autoadjust>
<enable>false</enable>
<maxbuffersize>1</maxbuffersize>
<dropframes>
<enable>false</enable>
</dropframes>
<degradequality>
<enable>false</enable>
<minvideobitrate></minvideobitrate>
<preservepfq>false</preservepfq>
</degradequality>
</autoadjust>
</video>
</encode>
<restartinterval>
<days></days>
<hours></hours>
<minutes></minutes>
</restartinterval>
<reconnectinterval>
<attempts></attempts>
<interval></interval>
</reconnectinterval>
<output>
<rtmp>
<url>rtmp://localhost/live</url>
<backup_url></backup_url>
<stream>fmlestream</stream>
</rtmp>
</output>
<metadata>
<entry>
<key>author</key>
<value>Octopus MT</value>
</entry>
<entry>
<key>copyright</key>
<value>Octopus MT</value>
</entry>
<entry>
<key>description</key>
<value>Tower Bridge - London, UK</value>
</entry>
<entry>
<key>keywords</key>
<value>"Tower Bridge", London</value>
</entry>
<entry>
<key>rating</key>
<value></value>
</entry>
<entry>
<key>title</key>
<value>Tower Bridge - LIVE</value>
</entry>
</metadata>
<preview>
<video>
<input>
<zoom>100%</zoom>
</input>
<output>
<zoom>100%</zoom>
</output>
</video>
<audio></audio>
</preview>
<log>
<level>100</level>
<directory>C:\Users\Administrator\Videos</directory>
</log>
</flashmedialiveencoder_profile>
==========================================================
DumpGraph [00CA91F8]
Filter [00CABFDC] Output Video Renderer
Pin [00CAC3B4] Input [Input] Connected to pin [00CACE1C]
Filter [00CA9C8C] Input Video Renderer
Pin [00CAA064] Input [Input] Connected to pin [03BA33A4]
Filter [02F6AF10] Mux
Pin [02F6AF70] FLV7 [Input] Connected to pin [02F6FC00]
Pin [02F6B790] audio [ Input] This pin is not Connected
Pin [02F6BA08] out [ Output] This pin is not Connected
Filter [00CAEADC] AVI Decompressor 0003
Pin [00CAEC14] XForm In [Input] Connected to pin [02F70D88]
Pin [00CACE1C] XForm Out [Output] Connected to pin [00CAC3B4]
Filter [03BA326C] AVI Decompressor
Pin [00CAACD4] XForm In [Input] Connected to pin [02F68BF8]
Pin [03BA33A4] XForm Out [Output] Connected to pin [00CAA064]
Filter [02F70048] H264 Compressor
Pin [02F70070] Input [Input] Connected to pin [02F6F898]
Pin [02F70D88] Preview [Output] Connected to pin [00CAEC14]
Pin [02F6FC00] Output1 [Output] Connected to pin [02F6AF70]
Pin [02F71228] Output2 [ Output] This pin is not Connected
Filter [02F68AF0] Input RGB
Pin [02F68B08] Input [Input] Connected to pin [02F60178]
Pin [02F68BF8] Output [Output] Connected to pin [00CAACD4]
Filter [02F6F118] FPS Controller Encoder
Pin [02F6F128] Input [Input] Connected to pin [02F6E880]
Pin [02F6F898] Output [Output] Connected to pin [02F70070]
Filter [02F5FAB8] YV12
Pin [02F5FAD0] Input [Input] Connected to pin [03BA3F24]
Pin [02F60178] Output [Output] Connected to pin [02F68B08]
Filter [02F6E778] Resize
Pin [02F6E790] Input [Input] Connected to pin [02F6E620]
Pin [02F6E880] Output [Output] Connected to pin [02F6F128]
Filter [02F6DF60] YV12 0002
Pin [02F6DF78] Input [Input] Connected to pin [02F6DE00]
Pin [02F6E620] Output [Output] Connected to pin [02F6E790]
Filter [02F6D680] FPS Controller Resize
Pin [02F6D690] Input [Input] Connected to pin [00CA9B6C]
Pin [02F6DE00] Output [Output] Connected to pin [02F6DF78]
Filter [00CAB9CC] Video Tee
Pin [00CABA34] Input [Input] Connected to pin [03B9EE9C]
Pin [03BA3F24] Output1 [Output] Connected to pin [02F5FAD0]
Pin [00CA9B6C] Output2 [Output] Connected to pin [02F6D690]
Pin [03BA3454] Output3 [ Output] This pin is not Connected
Filter [00CA99C4] Smart Tee
Pin [00CA9A2C] Input [Input] Connected to pin [00C0974C]
Pin [03B9EE9C] Capture [Output] Connected to pin [00CABA34]
Pin [00CAE204] Preview [ Output] This pin is not Connected
Filter [00C0A6DC] SOURCE
Pin [00C0974C] Video [Output] Connected to pin [00CA9A2C]
DumpGraph [00CA91F8]
Filter [00CABFDC] Output Video Renderer
Pin [00CAC3B4] Input [Input] Connected to pin [00CACE1C]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {E436EB7A-524F-11CE-9F53-0020AF0BA770} MEDIASUBTYPE_RGB8
Not temporally compressed
Sample size 230400
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 8 bpp c:0
Image size 230400
Planes 1
Pels per metre (0, 0)
Colours used 256
AvgTimePerFrame 333333, 30 fps
Filter [00CA9C8C] Input Video Renderer
Pin [00CAA064] Input [Input] Connected to pin [03BA33A4]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {E436EB7A-524F-11CE-9F53-0020AF0BA770} MEDIASUBTYPE_RGB8
Not temporally compressed
Sample size 230400
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 8 bpp c:0
Image size 230400
Planes 1
Pels per metre (0, 0)
Colours used 256
AvgTimePerFrame 333333, 30 fps
Filter [02F6AF10] Mux
Pin [02F6AF70] FLV7 [Input] Connected to pin [02F6FC00]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {37564C46-0000-0010-8000-00AA00389B71} Unknown GUID Name
Temporally compressed
Variable size samples
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 12 bpp c:37564c46
Image size 345600
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Pin [02F6B790] audio [ Input] This pin is not Connected
Pin [02F6BA08] out [ Output] This pin is not Connected
Filter [00CAEADC] AVI Decompressor 0003
Pin [00CAEC14] XForm In [Input] Connected to pin [02F70D88]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {30323449-0000-0010-8000-00AA00389B71} Unknown GUID Name
Not temporally compressed
Sample size 345600
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 12 bpp c:30323449
Image size 345600
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Pin [00CACE1C] XForm Out [Output] Connected to pin [00CAC3B4]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {E436EB7A-524F-11CE-9F53-0020AF0BA770} MEDIASUBTYPE_RGB8
Not temporally compressed
Sample size 230400
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 8 bpp c:0
Image size 230400
Planes 1
Pels per metre (0, 0)
Colours used 256
AvgTimePerFrame 333333, 30 fps
Filter [03BA326C] AVI Decompressor
Pin [00CAACD4] XForm In [Input] Connected to pin [02F68BF8]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {56555949-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_IYUV
Not temporally compressed
Sample size 345600
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 12 bpp c:56555949
Image size 345600
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Pin [03BA33A4] XForm Out [Output] Connected to pin [00CAA064]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {E436EB7A-524F-11CE-9F53-0020AF0BA770} MEDIASUBTYPE_RGB8
Not temporally compressed
Sample size 230400
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 8 bpp c:0
Image size 230400
Planes 1
Pels per metre (0, 0)
Colours used 256
AvgTimePerFrame 333333, 30 fps
Filter [02F70048] H264 Compressor
Pin [02F70070] Input [Input] Connected to pin [02F6F898]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {32315659-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_YV12
Not temporally compressed
Sample size 345600
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 12 bpp c:32315659
Image size 345600
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Pin [02F70D88] Preview [Output] Connected to pin [00CAEC14]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {30323449-0000-0010-8000-00AA00389B71} Unknown GUID Name
Not temporally compressed
Sample size 345600
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 12 bpp c:30323449
Image size 345600
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Pin [02F6FC00] Output1 [Output] Connected to pin [02F6AF70]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {37564C46-0000-0010-8000-00AA00389B71} Unknown GUID Name
Temporally compressed
Variable size samples
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 12 bpp c:37564c46
Image size 345600
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Pin [02F71228] Output2 [ Output] This pin is not Connected
Filter [02F68AF0] Input RGB
Pin [02F68B08] Input [Input] Connected to pin [02F60178]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {32315659-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_YV12
Not temporally compressed
Sample size 345600
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 12 bpp c:32315659
Image size 345600
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Pin [02F68BF8] Output [Output] Connected to pin [00CAACD4]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {56555949-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_IYUV
Not temporally compressed
Sample size 345600
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 12 bpp c:56555949
Image size 345600
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Filter [02F6F118] FPS Controller Encoder
Pin [02F6F128] Input [Input] Connected to pin [02F6E880]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {32315659-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_YV12
Not temporally compressed
Sample size 345600
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 12 bpp c:32315659
Image size 345600
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Pin [02F6F898] Output [Output] Connected to pin [02F70070]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {32315659-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_YV12
Not temporally compressed
Sample size 345600
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 12 bpp c:32315659
Image size 345600
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Filter [02F5FAB8] YV12
Pin [02F5FAD0] Input [Input] Connected to pin [03BA3F24]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {32595559-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_YUY2
Not temporally compressed
Sample size 460800
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 16 bpp c:32595559
Image size 460800
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Pin [02F60178] Output [Output] Connected to pin [02F68B08]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {32315659-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_YV12
Not temporally compressed
Sample size 345600
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 12 bpp c:32315659
Image size 345600
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Filter [02F6E778] Resize
Pin [02F6E790] Input [Input] Connected to pin [02F6E620]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {32315659-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_YV12
Not temporally compressed
Sample size 345600
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 12 bpp c:32315659
Image size 345600
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Pin [02F6E880] Output [Output] Connected to pin [02F6F128]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {32315659-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_YV12
Not temporally compressed
Sample size 345600
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 12 bpp c:32315659
Image size 345600
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Filter [02F6DF60] YV12 0002
Pin [02F6DF78] Input [Input] Connected to pin [02F6DE00]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {32595559-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_YUY2
Not temporally compressed
Sample size 460800
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 16 bpp c:32595559
Image size 460800
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Pin [02F6E620] Output [Output] Connected to pin [02F6E790]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {32315659-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_YV12
Not temporally compressed
Sample size 345600
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 12 bpp c:32315659
Image size 345600
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Filter [02F6D680] FPS Controller Resize
Pin [02F6D690] Input [Input] Connected to pin [00CA9B6C]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {32595559-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_YUY2
Not temporally compressed
Sample size 460800
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 16 bpp c:32595559
Image size 460800
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Pin [02F6DE00] Output [Output] Connected to pin [02F6DF78]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {32595559-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_YUY2
Not temporally compressed
Sample size 460800
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 16 bpp c:32595559
Image size 460800
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Filter [00CAB9CC] Video Tee
Pin [00CABA34] Input [Input] Connected to pin [03B9EE9C]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {32595559-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_YUY2
Not temporally compressed
Sample size 460800
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 16 bpp c:32595559
Image size 460800
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Pin [03BA3F24] Output1 [Output] Connected to pin [02F5FAD0]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {32595559-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_YUY2
Not temporally compressed
Sample size 460800
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 16 bpp c:32595559
Image size 460800
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Pin [00CA9B6C] Output2 [Output] Connected to pin [02F6D690]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {32595559-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_YUY2
Not temporally compressed
Sample size 460800
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 16 bpp c:32595559
Image size 460800
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Pin [03BA3454] Output3 [ Output] This pin is not Connected
Filter [00CA99C4] Smart Tee
Pin [00CA9A2C] Input [Input] Connected to pin [00C0974C]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {32595559-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_YUY2
Not temporally compressed
Sample size 460800
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 16 bpp c:32595559
Image size 460800
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Pin [03B9EE9C] Capture [Output] Connected to pin [00CABA34]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {32595559-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_YUY2
Not temporally compressed
Sample size 460800
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 16 bpp c:32595559
Image size 460800
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Pin [00CAE204] Preview [ Output] This pin is not Connected
Filter [00C0A6DC] SOURCE
Pin [00C0974C] Video [Output] Connected to pin [00CA9A2C]
Major type {73646976-0000-0010-8000-00AA00389B71} MEDIATYPE_Video
Sub type {32595559-0000-0010-8000-00AA00389B71} MEDIASUBTYPE_YUY2
Not temporally compressed
Sample size 460800
Source rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Target rectangle ( Left 0 Top 0 Right 0 Bottom 0)
Size of BITMAPINFO structure 40
640 x 360, 16 bpp c:32595559
Image size 460800
Planes 1
Pels per metre (0, 0)
Colours used 0
AvgTimePerFrame 333333, 30 fps
Tue Mar 26 2013 11:42:24 : Session Started
Tue Mar 26 2013 11:42:24 : Video Encoding Started
Tue Mar 26 2013 11:47:18 : Video Encoding Stopped
Tue Mar 26 2013 11:47:18 : Session Stopped
Tue Mar 26 2013 11:47:18 : Problem with capture device. Incorrect samples given by the device. Stopping encoding session.
Tue Mar 26 2013 11:47:18 : Primary - Network Command: onFCUnpublish
Tue Mar 26 2013 11:47:18 : Primary - Stream[fmlestream] Status: NetStream.Unpublish.Success
Tue Mar 26 2013 11:47:18 :
================== Encoding Statistics ====================
Current
Input Output
Time Bit Rate Drops fps Drops fps
Audio :
Video 1: 0:04:50 644 Kbps 72 74.00 0 15.00
Average
Input Output
Time Bit Rate Drops fps Drops fps
Audio :
Video 1: 0:04:50 983 Kbps 75 29.40 0 29.36
===========================================================
================= Publishing Statistics ===================
Bandwidth Buffer Frame Drops
Primary: 824 Kbps 0.00 Sec 0
Backup : 0 Kbps 0.00 Sec 0
===========================================================
Tue Mar 26 2013 11:47:18 : Failed with error 80040273:CoCreateInstance(CLSID_VideoMixingRenderer9, NULL, CLSCTX_INPROC, IID_IBaseFilter, pFilterVideoMixingRenderer.ppv())
Tue Mar 26 2013 11:47:56 : Primary - Network Status: NetConnection.Connect.Closed status
Tue Mar 26 2013 11:47:56 : Primary - Disconnected
Thank you for your assistance
RichardPlease attach the session log file.
-
Hi,
Iam trying to create a Primary Index on Large table and Iam using the Parallelism to make it fast. I have used the following script to create a Primary key Index.
CREATE UNIQUE INDEX FLX_ARCH.FUND_SEC_RESULT_STAT_ARCH_PK
ON FLX_ARCH.FUND_SEC_RESULT_STAT_ARCH
(FUND_SEC_RESULT_MAP_INST,RATES_RULE_ID,BASE_LOCAL_FLAG,EFFECTIVE_DATE)
TABLESPACE FLX_PERF_I
parallel;
Index created.
Elapsed: 01:43:37.37
Index got created in 1 hour 43 minutes. But when Iam adding constarint to those columns, it is taking almost 12hours with or without parallelism.
ALTER TABLE FLX_ARCH.FUND_SEC_RESULT_STAT_ARCH
ADD CONSTRAINT FUND_SEC_RESULT_STAT_ARCH_PK
PRIMARY KEY
(FUND_SEC_RESULT_MAP_INST,RATES_RULE_ID,BASE_LOCAL_FLAG,EFFECTIVE_DATE)
parallel
Would you please let me know what could be the problem and how can we add the Primary constraint fast.
Your early response is much appreciated.
Thanks and Regards
Suresh. DWould you please let me know what could be the problem and You have presented no details that indicate any problem exists.
how can we add the Primary constraint fast. Fast is relative.
If I asked you to make my snail fast, could you do so?
ALTER SESSION SET SQL_TRACE=TRUE;
ALTER TABLE FLX_ARCH.FUND_SEC_RESULT_STAT_ARCH
ADD CONSTRAINT FUND_SEC_RESULT_STAT_ARCH_PK
PRIMARY KEY
(FUND_SEC_RESULT_MAP_INST,RATES_RULE_ID,BASE_LOCAL_FLAG,EFFECTIVE_DATE)
parallel
ALTER SESSION SET SQL_TRACE=FALSE;
now find the trace file within ./udump folder
tkprof <trace_file.trc> trace_results.txt explain=<username>/<password>
By inspecting the trace file you will be able to see where time is being spent.
With this knowledge, you may or may not be able to determine the bottleneck & therefore improve it -
Insert values of form on a table with compound primary keys in APEX
Good evening,
I have a table with compoud primay keys. On ER model I had a many to many relation and when I coverted to relational model I've got a table with the primary keys of the two entities.
My problem now is that I am trying to build an APEX application with a Form/Report and I want to insert a tuple both on the "entity" and on the table with two primary keys.
I created a trigger with
CREATE OR REPLACE TRIGGER ins_key_elem
INSTEAD OF INSERT
ON v_key_elem
REFERENCING NEW AS NEW
FOR EACH ROW
BEGIN
INSERT INTO elem_type (elem_key, type_key)
VALUES (:NEW.elem_key, :NEW.type_key);
INSERT INTO elem(elem_key, name)
VALUES (:NEW.elem_key, :NEW.name);
END;
Is that ok? If it is, now how I can use that trigger to do what I need? i.e. insert the tuple on the two tables when I use the create button of the form
Edited by: 934530 on May 15, 2012 2:36 PMNevermind...figured it out. Was able to set the value on the Report Attributes page.
-
Updating a table with no Primary key
What I am trying to find out is if you can uniquely update a single record in a table that has no primary key. I see no way to reference the record I want, other than specifying all the field values in a where clause. This is a problem though, because if I have another record with the same field values, that will get updated too. (I know its a bad database design, but some people do it and I need to work around it!!!), there are some situations where you would have identical records as far as a where clause is concerned, for example, you cant use a blob in a where clause so that might be where your records differ...
In SQLServer 2000, Enterprise manager throws an error if you have a table with no primary key and duplicate records that you try to update through the GUI. EM uses stored procedures to execute updates, and it rolls back ones which result in more than one update result.
Im not too familiar with Cursors in SQL, only that they are quite slow and not implemented on all DB products. But I think that they might be able to solve the problem (but I dont logically see how).
Can anybody explain this to me?another record with the same field valuesIf you have two records and all the field values are the same then the records are logically the same anyways, so it shouldn't matter if you update both (one would question why there are two records in the first place.) In other words there is no way, either computationally or manually to tell them apart.
I suspect that that is rather rare. Instead what is more likely is that you are only using some of the fields. So just keep adding fields until it is unique. -
DBMS_CDC find only the columns that are changed along with the primary key in the table
Hello,
We are having a requirement to find the change data in the production environment.
We are planning to use the DBMS_CDC utility.
But for example in the create change table 1 picked emp_id,ename, address, salary,dob.
I have a sample data of
empid
ename
address
salary
DOB
1
test1
24 test street
2000
20-Jan-98
2
test2
25 test street
2500
15-Aug-97
if ename for empid 1 is changed to test1_test3 from test1.
My CDC is capturing the values in the old and new values in the 5 columns.
But i need to get only the empid (primary key of the source table) and the ename column as only that's been updated not the rest of the 3 columns.
Can i accomplish this.
Please advice.Hello,
Thanks for the information.
but if i change the change table then i will miss the other columns right?
I want to get the columns( empid and ename) only if ename is changed. i.e when ever any column in emp table changes i need to get all the columns where the data is changed along with the primary key columns empid.
Is there any way i can tweak the parameters so that i can achieve this or is there any other way using the cdc i can get this data.
Thanks -
How to Work with Composite Primary Key
Hi All,
I'm working with Toplink JPA. Here I have A problem with inserting into database table which have composite Primary Key.
What I'm doing is, I have two tables. to maintain many to many relation between these two tables I created another intermediate table which consists of foreign Keys (reference) of above two tables.
Now these two foreign Keys in the Intermediate table made as composite Primary Keys.
When I'm trying to the data in the Intermediate table I'm getting the foreign Keys values are null..
could anyone suggest me how to work with composite Primary Keys
Thanks,
SatishI have the same problem, I have 3 tables with a join table joining them all. I have created an intermediate table entity. When I go to create a an entry, it says that I cannot enter null into "ID". Here is the SQl toplink generates:
INSERT INTO Z_AUTH_USER_AUTHORIZATION (CONTEXT_ID, AUTHORIZATION_ID, USER_ID) VALUES (?, ?, ?)
bind => [null, null, null]
Here are the classes:
-----------------------Join Table-----------------------------------------------
@Entity()
@Table(name = "Z_AUTH_USER_AUTHORIZATION")
public class AuthUserAuthorization implements Serializable{
@EmbeddedId
private AuthUserAuthorizationPK compId;
// bi-directional many-to-one association to AuthAuthorization
@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "AUTHORIZATION_ID", referencedColumnName = "ID", nullable = false, insertable = false, updatable = false)
private AuthAuthorization authAuthorization;
// bi-directional many-to-one association to AuthContext
@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "CONTEXT_ID", referencedColumnName = "ID", nullable = false, insertable = false, updatable = false)
private AuthContext authContext;
// bi-directional many-to-one association to AuthUser
@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "USER_ID", referencedColumnName = "ID", nullable = false, insertable = false, updatable = false)
private AuthUser authUser;
---------------------------------------User table--------------------------------------------------------------
@Entity()
@Table(name = "Z_AUTH_USER")
public class AuthUser implements Serializable, IUser{
@Id()
@SequenceGenerator(name = "AUTH_USER_ID_SEQ", sequenceName = "Z_AUTH_USER_ID_SEQ")
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "AUTH_USER_ID_SEQ")
@Column(name = "ID", unique = true, nullable = false, precision = 10)
private Integer id;
// bi-directional many-to-one association to AuthUserAuthorization
@OneToMany(mappedBy = "authUser", fetch = FetchType.EAGER)
private java.util.Set<AuthUserAuthorization> authUserAuthorizations;
-----------------------------------Context table-----------------------------------------------------------------
@Entity()
@Table(name = "Z_AUTH_CONTEXT")
public class AuthContext implements Serializable, IContext{
@Id()
@SequenceGenerator(name = "AUTH_CONTEXT_ID_SEQ", sequenceName = "Z_AUTH_CONTEXT_ID_SEQ")
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "AUTH_CONTEXT_ID_SEQ")
@Column(name = "ID", unique = true, nullable = false, precision = 8)
private Integer id;
// bi-directional many-to-one association to AuthUserAuthorization
@OneToMany(mappedBy = "authContext", fetch = FetchType.EAGER)
private java.util.Set<AuthUserAuthorization> authUserAuthorizations;
----------------------------Authorization table-------------------------------------------------
@Entity()
@Table(name = "Z_AUTH_AUTHORIZATION")
public class AuthAuthorization implements Serializable, IAuthorization{
@Id()
@SequenceGenerator(name = "AUTH_AUTHORIZATION_ID_SEQ", sequenceName = "Z_AUTH_AUTHORIZATION_ID_SEQ")
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "AUTH_AUTHORIZATION_ID_SEQ")
@Column(name = "ID", unique = true, nullable = false, precision = 8)
private Integer id;
// bi-directional many-to-one association to AuthUserAuthorization
@OneToMany(mappedBy = "authAuthorization", fetch = FetchType.EAGER)
private java.util.Set<AuthUserAuthorization> authUserAuthorizations;
I have tried to create the new entity several ways. I have tried to create one with the default constructor then set this entity on each of the other entities, I have also tried to pass in the entities to the join entity and set them there, but this doesn't work. Any help would be very appreciated!
Thanks,
Bill -
How to see wether the index is a primary key index or not
hi,
can anybody let me know how to get wether the index is made on the primary key (i.e primary key index)
can we do by querying the user_constriants table.
plz let me know..Maran.Viswarayar wrote:
Vijay,
Was that different from Anurag's reply?Yes it was. Anurag didn't include the index_name in his query.
It is possible for the index name to be different from the constraint_name, so if you listed just the primary key constraint names you might decide that a given index was not a "primary key" index because you couldn't find a constraint with the matching name.
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk
To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
"Science is more than a body of knowledge; it is a way of thinking"
Carl Sagan
Maybe you are looking for
-
How to use two different boot images in the same task sequence
I have a need to use Two boot images in the same task sequence. The reason is I'm deploying ZTI to McAfee encrypted devices which I have already done with McAfee v6 Encryption successfully. Here's where my problem comes in. We are about to deploy McA
-
Macbook Pro 2012 backplate screws
Hey everybody. I recently purchased a mid year 2012 macbook pro. It's the 13 inch i5. I noticed after purchasing it (USED) that some of the screws on the back plate were missing. Does anybody know where to get these screws? Or what size the scews are
-
Adobe dng Converter 8.7.1 problem
My camera is a Panasonic FZ200 which takes Rw2 images as listed under 8.7.1. I have Adobe PSE 10 but the Converter is set as a Windows default program for converting Rw2 to Dng formats and works independently of PSE. The Converter does not recognise
-
How do I get Exchange email convos to link together in one feed?
In outlook on the pc I can get email conversations to link together and look like one email with a drop down option. On my iphone I do not find that option. Can i do it and how?
-
Running snow leopard and cs3 works great but freezes when trying to save the photo.
I am running CS3 on snow leopard, I can edit photos great but when all is said and done...... the wheel spins continuously after selecting either save.... or save as..... and the application quits responding. it keeps spinning? I am at a loss. Can't