How to show attributes column types on ERD
Hi,
I created a diagram in ERD but can't find how to show in the diagram the column types. It only shows the column names but doesn't show if this is a varchar2, integer,etc or if this can be null or not. Please help.
Thanks in advance.
the idea is that entities are logical objects. Although you can designate a "format" for an attribute, it's really more of a physical model/implentation concept.
So the answer to your question is No.
However, If you wanted to use a Server model Diagram there is a lot more information associated with it.
And since it is a actual model of the DB then you will have your foreign keys in the child tables.
Michael
Similar Messages
-
How to pass attribute of type java.util.ArrayList Property to a Tag
How do I pass an attribute of type, java.util.ArrayList<my.entity.Property> to a Tag implementation class?
Please advise!
Thanks,
Joe
package my.tags;
import java.io.IOException;
import java.util.ArrayList;
import javax.servlet.jsp.tagext.SimpleTagSupport;
import javax.servlet.jsp.JspException;
import my.entity.Property;
public class PropertiesTag extends SimpleTagSupport {
private ArrayList<Property> properties;
public void setProperties(ArrayList<Property> properties) {
this.properties = properties;
public void doTag() throws JspException, IOException {
<?xml version="1.0" encoding="utf-8" ?>
<taglib ...>
<tag>
<name>propertiesTag</name>
<tag-class>my.tags.PropertiesTag</tag-class>
<body-content>empty</body-content>
<description>Displays the product selection left menu</description>
<attribute>
<name>properties</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.util.ArrayList<my.entity.Property></type>
</attribute>
</tag>
</taglib>Here's the error message:
org.xml.sax.SAXParseException: The element type "my.entity.Property" must be terminated by the matching end-tag "</my.entity.Property>".802826 wrote:
How do I pass an attribute of type, java.util.ArrayList<my.entity.Property> to a Tag implementation class?
Please advise!
As already pointed out, there is no way to specify a generic type in a tag library descriptor. You may however specify an Object type in your tld and still have the variable in your tag as a parameterized generic type.
In your tld change the type to Object.
<type>java.lang.Object</type>.
The properties tag itself needs no change and can continue to use parameterized types.
cheers,
ram. -
How to retrieve view column type?
I know how to retrieve column names and comments from
table all_col_comments.But I don't know retrieving view column type.If somebody know please help.ALL_TAB_COLUMNS
ALL_TAB_COLUMNS describes the columns of the tables, views, and clusters accessible to the current user. To gather statistics for this view, use the SQL ANALYZE statement or the DBMS_STATS package.
Related Views
DBA_TAB_COLUMNS describes the columns of all tables, views, and clusters in the database.
USER_TAB_COLUMNS describes the columns of the tables, views, and clusters owned by the current user. This view does not display the OWNER column.
Column Datatype NULL Description
OWNER
VARCHAR2(30)
NOT NULL
Owner of the table, view, or cluster
TABLE_NAME
VARCHAR2(30)
NOT NULL
Name of the table, view, or cluster
COLUMN_NAME
VARCHAR2(30)
NOT NULL
Column name
DATA_TYPE
VARCHAR2(30)
Datatype of the column
DATA_TYPE_MOD
VARCHAR2(3)
Datatype modifier of the column
DATA_TYPE_OWNER
VARCHAR2(30)
Owner of the datatype of the column
DATA_LENGTH
NUMBER
NOT NULL
Length of the column in bytes
DATA_PRECISION
NUMBER
Decimal precision for NUMBER datatype; binary precision for FLOAT datatype, null for all other datatypes
DATA_SCALE
NUMBER
Digits to right of decimal point in a number
NULLABLE
VARCHAR2(1)
Specifies whether a column allows NULLs. Value is N if there is a NOT NULL constraint on the column or if the column is part of a PRIMARY KEY.
COLUMN_ID
NUMBER
NOT NULL
Sequence number of the column as created
DEFAULT_LENGTH
NUMBER
Length of default value for the column
DATA_DEFAULT
LONG
Default value for the column
NUM_DISTINCT
NUMBER
These columns remain for backward compatibility with Oracle7. This information is now in the TAB_COL_STATISTICS views. This view now picks up these values from HIST_HEAD$ rather than COL$.
LOW_VALUE
RAW(32)
HIGH_VALUE
RAW(32)
DENSITY
NUMBER
NUM_NULLS
NUMBER
Number of nulls in the column
NUM_BUCKETS
NUMBER
The number of buckets in histogram for the column
Note: The number of buckets in a histogram is specified in the SIZE parameter of the SQL statement ANALYZE. However, Oracle does not create a histogram with more buckets than the number of rows in the sample. Also, if the sample contains any values that are very repetitious, Oracle creates the specified number of buckets, but the value indicated by this column may be smaller because of an internal compression algorithm.
LAST_ANALYZED
DATE
The date on which this column was most recently analyzed
SAMPLE_SIZE
The sample size used in analyzing this column
CHARACTER_SET_NAME
VARCHAR2(44)
The name of the character set: CHAR_CS or NCHAR_CS
CHAR_COL_DECL_LENGTH
NUMBER
The length
GLOBAL_STATS
VARCHAR2(3)
For partitioned tables, indicates whether column statistics were collected for the table as a whole (YES) or were estimated from statistics on underlying partitions and subpartitions (NO).
USER_STATS
VARCHAR2(3)
Were the statistics entered directly by the user?
AVG_COL_LEN
NUMBER
Average length of the column (in bytes)
CHAR_LENGTH
NUMBER
Displays the length of the column in characters. This value only applies to the following datatypes:
CHAR
VARCHAR2
NCHAR
NVARCHAR
CHAR_USED
VARCHAR2(1)
B | C. B indicates that the column uses BYTE length semantics. C indicates that the column uses CHAR length semantics. NULL indicates the datatype is not any of the following:
CHAR
VARCHAR2
NCHAR
NVARCHAR2
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96536/ch2143.htm#1302694
Joel P�rez -
How to create attribute & set types with customer namespace COMM_ATTRSET?
Hi CRM Gurus,
I want to create some attributes and set types on CRM system with
`/FITGL/` namespace but system is not allowed to create objects
according. After debugging derives that SAP standart coding given below
on LCOM_ATTRIBUTE_NEWF19 include.
IF ( lv_systemname <> gc_sap_system ) AND
( iv_object_name(1) <> 'Y' AND iv_object_name(1) <> 'Z' ).
Should we make an enhancement on this include? Is there any side
efffects of this enhancement creating attribute & set types on CRM
system during the packaging in terms of related with other attribute & set types objects?
Kind Regards,
FahrettinHi CRM Gurus,
I want to create some attributes and set types on CRM system with
`/FITGL/` namespace but system is not allowed to create objects
according. After debugging derives that SAP standart coding given below
on LCOM_ATTRIBUTE_NEWF19 include.
IF ( lv_systemname <> gc_sap_system ) AND
( iv_object_name(1) <> 'Y' AND iv_object_name(1) <> 'Z' ).
Should we make an enhancement on this include? Is there any side
efffects of this enhancement creating attribute & set types on CRM
system during the packaging in terms of related with other attribute & set types objects?
Kind Regards,
Fahrettin -
How to show attributes only in query panel but not in Add fields.
Hi,
Jdev - 11.1.1.7.0
I have a requirement where I need to show attribute only in search panel but not in Add Fields list which is available in advanced section.
Thanks for your time and help.
Regards,
Dileep.Hi,
Is it really possible implement this kind of scenario, I could not find any property to disable the attribute only 'Add Fields' but not in query panel.
Please some one confirm me this behavior.
Thanks,
Dileep. -
How to show author column in document properties for pdf
Hi,
I save all document of PDF in one folder. Then i click choose details i choose 'Author'
i need to add name in the author column and showed the author name in document properties.
so i open the pdf file ---- properties -- at description (key name at author column) then save it.
BUT , when i back into the list of document, it doesnt show author name . it only showed Name, date modified, type, size. and blank info under author.
Please advise . thank you.
MyraHi!
Set the block property Query Data Source Type Property to FROM clause query .
In the Query Data Source Name Property write
select distinct col1 from table1May set the order by block property to col1.
Set the Primary Key (Item) Property of item col1 to Yes.
That's it.
Regards -
How to show Attribute name in Single line in ADF-JSPX pages
Hi,
I am having a issue , attribute name like "Name Of Catalog" in Brazilian-Portuguese Lang. is displaying in two lines instead of showing in one line, but it is correctly showing in English language.
And also this issue reproducible on IE 7 browser only. Please let me know your comments on above issue.
Thanks
ChandrakantHi John,
I have seen some solutions like using horizontal layout, where child components are arranged in a horizontal line. No wrapping is provided when contents exceed the amount of browser space available. Is this OK to use?
One more question is, how to enable Portuguese - Brazil Lang for pages in Jdev ? in other words, I want to see Label Text in Portuguese - Brazil Lang instead of English ?
Thanks.
Chandrakant -
How to show the columns dynamically in OBIEE report based on the selection?
Hi,
I have a requirement where the columns should be dynamically shown in report based on what we select in propmt page.
I'm creating a report in OBIEE where i want to give an option to the end user to select the columns whichever he wants to see in the report.
For example I have the following columns in the report already:
Customer Name,
Customer Number,
Bank Account,
Address
I want to give an option to the user to select 'Customer Mail ID' dynamically and see the column to be displyed in the report along with the existing columns.
Through 'Column Selector' user can select a single column at a time, but if he want to select more than one column, how can we do this ?
Please help me out in resolving this issue.
Thanks,
Chaithanya.Hi Chaithanya,
there's not a straight solution for this. You can create different analysis containing different number of columns and then directing the user to this analysis using Action Links or you can also use View Selector to switch from one view (analysis) to the other. But it's not going to be very flexible nor dynamic.
J. -
How to show the columns (and sequence and sort order) of an INDEX?
Assume I have an INDEX for an existing TABLE.
How can I find out the columns covered by this INDEX (and the sequence and sort order)?
Which table contains this information?
all_indexes does not.
Peteruser559463 wrote:
Assume I have an INDEX for an existing TABLE.
How can I find out the columns covered by this INDEX (and the sequence and sort order)?
Which table contains this information?
all_indexes does not.
Peter--
select table_name, index_name, column_name, column_position
from user_ind_columns
order by table_name, index_name, column_position; -
How to show additional column in the Query searchby field selection window?
Hi Experts,
I have a simple query as below:
select * from ocrd where cardcode between '[%0]' and '[%1]'
Now, it is evident that the searchby field is the cardcode, so when I click on the browse button, all cardcodes will be displayed for me to choose on a separate selection window. Now, on this separate selection window, can I also show an additional column "customer name"?? This is because I cannot really identify every customer code, and need to depend on customer name instead.
Thanks!
Warmest Regards,
Chinho
note: please dont ask me to use the below query instead, that is not what I want to achieve.
select * from ocrd where cardname between '[%0]' and '[%1]'Hi!
It's not possible i belive. You can use Filter Option instead on Selection Parameter. -
How to show Blob column in APEX application
I have table with blob. The images are loaded through a scheduled night process. These are not the images uploaded using APEX. How can I show these images using APEX?
Thank you,Hello user,
Although the purpouse of this blog post bij Dimitri is quite different, you can see in the 3th and 4th picture what you need to do: http://dgielis.blogspot.com/2008/07/show-blob-of-other-table-in-apex-form.html
Greetings,
Rutger
http://rutgerderuiter.blogspot.com/
===============================================================================
You can reward this reply by marking it as either Helpful or Correct ;-) -
EH&S-WWI: How to show the ID type description's?
Hi,
I'm working with an WWI Template for substance, and i want to print the ID type code and description, i could print the code but not its description.
Thanks in advance,
AlbioShaik,
Did you find any solution to come over this? We are facing similar issue.
I would appreciate if you can share some information on this issue.
THanks,
THirumala -
How to show a column containing seconds duration in integer format as HH:MM:SS?
Folks,
I need some advice on the best way to show seconds in the HH:MM:SS format in a PowerPivot model (it will be imported as SSAS Tabular later).
I have been reading some good stuff around the Internet, but I have a couple of issues:
I know we have the time dataset in SQL but the fact is that PowerPivot and SSAS Tabular does not have time-only fields. So even if I had a field like 21:12:00, this field would become effectively 30/12/1899 (or another date), followed by the time 21:12:00.
Even if I format the field to not show the date but only the time, I can foresee issues with this. I really need only the time.
Another issue with the time dataset is that it represents a time of the day. What I really want is a duration, not the time of the day. So I would like to allow users to specify parameters concerning the duration such as less than 5 minutes, more than 30
minutes and so forth and not necessarily the time of the day. There is also the issue that a time field could only go as far as 24 hours -- but it is improbable that we will ever have such duration.
So I am torn between what I can do concerning the formating of the field and the parametrisation that users could do.
Any suggestions? Thank you all for your help!
Best regards,
P.Power View view filters will fill your need. Just put [DurationInMinutes] or [DurationInSeconds] on the page as a view filter and the users will have a slider bar of durations.
On the tables/charts, put the [DurationFormatted] on as your label.
If you need to find, for example an average call duration, you'll do something like the following:
AverageDuration:=
AVG( Table[DurationInSeconds] )
AverageFormatted:=
RIGHT(
'0' & FORMAT( INT( [AverageDuration] / 3600 ), 0 )
, 2
& RIGHT(
'0'
& FORMAT(
INT( MOD( [AverageDuration] / 60, 60 ) )
, 0
, 2
& RIGHT(
'0' & FORMAT( MOD( [AverageDuration], 60 ), 0 )
, 2
This will start to get cumbersome. You could implement a disconnected slicer to put different measures into that formatted measure, but even still it will be hairy, and that string processing is not desirable in my mind.
I would argue that displaying these things as total minutes (with or without decimals displayed) is your best bet, especially since you claim most will be under an hour. Most people do not have a problem interpreting 30.5 minutes, for example. -
How to show hidden columns list
Hi,
I got one requirement,
when user hide comuns using actions in IR,
when he log out and log in next time, have to display column names, which columns are hidden(if any)?
Thanks in advanceYou can only achieve this by using custom task forms. Check below links for creating custom task forms.
http://office.microsoft.com/en-us/office365-sharepoint-online-enterprise-help/customize-a-task-details-page-HA103858063.aspx
http://msdn.microsoft.com/en-us/library/office/dn518136(v=office.15).aspx
Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer. -
View does not show column type
I have two views containing a column, which is defined exactly in the same way. One view shows the column type as VARCHAR2 (200 CHAR) and the other does not show anything as the type.
Here is the screen shot:
http://public.ceving.de/2012050900/postaladdress.png
First question: why is there a difference?
Second question: why is the type VARCHAR2 although the modeler does not know VARCHAR2 but only VARCHAR as a column type?
Here are the definitions of the views:
This is "user_status":
WITH user_status_data AS
(SELECT work_user_status_data.person_id,
MAX(work_user_status_data.startdate) AS startdate
FROM work_user_status_data
GROUP BY work_user_status_data.person_id
SELECT person.id AS tmdid,
person_a.lastname,
person_a.firstname,
person_a.email AS emailaddress,
person_a.address
|| ', '
|| person_a.zipcode
|| ' '
|| person_a.city
|| ' '
|| person_a.country AS postaladdress,
person_a.phone,
person_a.mobile,
person_a.company AS organization,
person_a.orgunit_abbr AS orgunit,
work_user_status_data.pwdresetflag,
work_user_status_data.lockaccount,
work_user_status_data.primarypwd,
work_user_status_data.expdate,
work_user_status_data.iamtid,
work_user_status_data.startdate,
work_user_status_data.stopdate,
'IN PROGRESS' AS status
FROM person_a
INNER JOIN ts
ON ts.id = person_a.ts_id
INNER JOIN person
ON person.id = person_a.person_id
INNER JOIN user_status_data
ON person.id = user_status_data.person_id
INNER JOIN work_user_status_data
ON user_status_data.person_id = work_user_status_data.person_id
AND user_status_data.startdate = work_user_status_data.startdate
WHERE ts."until" IS NULL
And this is "work_user_status":
SELECT person.id AS tmdid,
person_a.lastname,
person_a.firstname,
person_a.email AS emailaddress,
person_a.address
|| ', '
|| person_a.zipcode
|| ' '
|| person_a.city
|| ' '
|| person_a.country AS postaladdress,
person_a.phone,
person_a.mobile,
person_a.company AS organization,
person_a.orgunit_abbr AS orgunit,
work_user_status_data.pwdresetflag,
work_user_status_data.lockaccount,
work_user_status_data.primarypwd,
work_user_status_data.expdate,
work_user_status_data.iamtid,
work_user_status_data.startdate,
work_user_status_data.stopdate,
work_user_status_data.action,
work_user_status_data.progress
FROM person
INNER JOIN person_a
ON person.id = person_a.person_id
INNER JOIN work_user_status_data
ON person.id = work_user_status_data.person_id
INNER JOIN ts
ON ts.id = person_a.ts_id
WHERE ts."until" IS NULL
Edited by: 931739 on 09.05.2012 06:37I just found out that the engineered version (10g) is also quite strange:
http://public.ceving.de/2012050900/postaladdress_10g.png
It shows the values in the columns for the types.
This looks very buggy.
Is it not recommended to create views with the data modeler?
Edited by: 931739 on 09.05.2012 06:38
Maybe you are looking for
-
Help required to resolve -200022 error
Hi all, I have a VI that is throwing the -200022 error (after the DAQ mx). This has got 5 data acquisition channels out of which 2 of them (THERMOCOUPLE Channel1 & Pressure sensors - Channel 1 commented on the left inside the program) are throwing th
-
I want to keep one item in my shot in color and the rest of the clip in black and white. I know this is possible, but I don't know what tools or filters to use for it. *Any help would be awesome.*
-
Hi all, I have been doing a lot of reading and have been trying to resist making a new topic, but I think I can't help it anymore, so here it goes. I previously got a crash course in exporting from within Premiere to Encore here - http://forums.adobe
-
Why is my file cache increasing
What could be causing my inactive memory to expand. It does eveb when no apps running. iMac running 10.8 now 10.9
-
What does symbol ! stand for in the following code?
What does symbol *!* stand for in the following code? What does SYSTEM mean? <! DOCTYPE report-group SYSTEM "report-group.dtd"> Edited by: user11337968 on Jul 3, 2009 4:53 PM