Enforcing use of class word as naming standard via data modeler preferences

Using data model preferences, I have set both the "attribute" and "column" naming standards to have mandatory name parts of both "prime word" and "class word". I have also used data model preferences to specify a glossary that has several terms of type "class word" defined.
My assumption is that if I set a column naming standard preference to have class word as a mandatory name part, then I can apply the default design rules in my relational model and it will list an error "column with wrong naming standards" if any of my column names don't have a name part that is on the list of class words in the specified glossary. Is that assumption correct? If so, it doesn't seem to be working for me...
How does SDDM determine if a class word is missing? I.e., how can I enforce a naming standard that all attribute/column names must have a class word from our approved list of class words?
Thanks!

My assumption is that if I set a column naming standard preference to have class word as a mandatory name part, then I can apply the default design rules in my relational model and it will list an error "column with wrong naming standards" if any of my column names don't have a >name part that is on the list of class words in the specified glossary. Is that assumption correct? yes it's correct.
If so, it doesn't seem to be working for me...one of the settings cannot be changed - it's "Abbreviated only" in "Preferences>Data Modeler>Naming Standard". So only abbreviated part from glossary is taken into account - I logged bug for that.
You can change it - it's in dl_settings.xml file in your design's directory - find - abbreviated_only="true".
How does SDDM determine if a class word is missingIt needs glossary and separator setting.
You can read more here http://www.oracle.com/technetwork/developer-tools/datamodeler/datamodelernamingstandards-167685.pdf
Also can look at examples here Data Modeler: Naming
Philip

Similar Messages

  • Data Modeler - applying naming standards to relational model

    Hi,
    first of all thanks for the new data modeler build (584) - it really fixed some issues (e.g. unique keys with non mandatory referenced ids are now persistent) ...
    BUT ... why is there an option to disable foreign key names when applying naming rule although it does not work?
    I like my primary key names etc. to follow some naming rules, but I don't like foreign keys to follow rules, just because neither "Benutzer_Id3" follows the company internal naming rules nor is it very easy to understand at all.
    Steps taken:
    * logical model is complete
    * generate relational model
    * foreign key names are as intended (e.g. "User_Id_Modifier")
    * right click the relational model
    * click "Apply Naming Standards ..."
    * remove the check mark from "Column Foreign Key"
    * click "OK"
    The foreign key column is changed regardless of checkbox state :-( - even deselecting all check boxes still applies naming rules to the foreign key columns.
    Is there a fix/workaround for that or need I to go back to build 570?
    Thanks god I still have my 570 compatible model ins SVN
    regards stueckl

    Hi,
    unfortunately that functionality for all tables in relational model is broken - you still can use it at table level - "Naming rules" button in table dialog.
    Philip

  • Naming Standardization (SQL Data Modeler)??

    Hi ,
    Thanks in responding to my posting.
    I am using SQL DM 3.0.0.665. I need your thoughs on following.
    I find a Oracle white paper on Oracle SQL Developer Data Modeler
    Naming Standardization (2009).
    It suggests us to get to Tools > General Options menu. Expand Naming Standard.
    I am not able to find it in my SQLDM. How do we get there?
    Thanks in helping us out.

    Hi,
    For DM 3.0 it is Tools->Preferences->Data Modeler->Naming Standard

  • Using cl_gui_alv_grid class in report , but when no data , entire session closed ?

    Hi ,
    I am using cl_gui_alv_grid for one of my report . It is working fine when there are reocords , but when there is no record
    entire session will be closed from selection screen itself.
    Having class with data /method declaration and an event class ..
    Appreciate your help..
    Kind regards
    Rama

    Hello Siva ,
    Code an EVENT for NO DATA in the main class. I guess you have already done the same
    Having class with data /method declaration and an event class ..
    Now while implementing the method for that event , don't forget to write LEAVE LIST-PROCESSING also.
    For eg :
    Now RAISE this event when SY-SUBRC is NE 0 for the SELECT statement i.e no data found.

  • Datamodeler - Naming Standards - technical white paper no longer available?

    Hi,
    I am wondering, is this document no longer available?
    http://www.oracle.com/technology/products/database/datamodeler/pdf/DataModelerNamingStandards.pdf
    I a m trying to learn how to apply Naming standards in data modeler but i cannot retrieve this document.
    On the datamodeler homepage, on tab "Documentation"
    clicking "Naming Standards (Technical White paper - pdf)"
    keeps me redirecting into the tab "Overview"
    regards,
    E.
    As I look at the content description of this document(i found that content description somewhere on the www), i believe i would find it very helpfull
    Contents of this Oracle SQL Developer Data Modeler Naming Standardization reference guide
    Introduction ............ 1
    Overview . 2
    Defining Templates for Keys, Indexes and Constraints....... 3
    Applying the Templates to the Relational Model ............. 5
    Prefix Management ........... 6
    Setting Name Patterns for Elements..... 7
    Defining Word Classification Types .. 8
    Supporting Naming Patterns with SQL Developer Data Modeler ... 8
    Reviewing Separator Settings for Elements in a Logical Model ..... 9
    Reviewing Additional Settings for Elements in a Relational Model . 9
    Using a Glossary .. 10
    Defining Glossaries ......... 10
    Using the Glossary Editor 10
    Importing Glossaries........ 12
    Importing a CA Erwin Data Modeler Naming Standard Glossary . 13
    Using Abbreviations............. 13
    Using the Name Abbreviations Utility............. 14
    Name Translation . 16
    Setting Model Level Name Restrictions ............. 18
    Using Design Rules Validation Related to Naming Standards ......... 19
    Conclusion ........... 20
    Resources ............ 20

    it's temporary problem and document will be available soon.
    Meanwhile you can look at this thread Data Modeler: Naming
    Philip

  • Creation of Disctribution Model view using Distribution using object classe

    Hi All ,
             Can anybody tell me how to create distribution model through  Distribution using object classes option in SALE transaction(Path : SALE - > Modelling and implementing Business processes - > master data Distribution - > Distribution using object classes).What is the difference between normal distribution model creation through BD64 and creating in the above way?
    Please help me its urgent.Thanks in advance.
    Regards,
    Rakesh.

    Hi All ,
             Can anybody tell me how to create distribution model through  Distribution using object classes option in SALE transaction(Path : SALE - > Modelling and implementing Business processes - > master data Distribution - > Distribution using object classes).What is the difference between normal distribution model creation through BD64 and creating in the above way?
    Please help me its urgent.Thanks in advance.
    Regards,
    Rakesh.

  • Read infotype records using the classes

    Hi All,
    In my system i can see many classes with cl_hrpa*
    Here i want to read a infotype record using these classes. I want finally the data in PA0008 or a record in P0008 format.
    i tried using the various classes like
    cl_hrpa_masterdata_factory
    if_hrpa_infty_bl
    hrpad_infty_container_tab
    I tried using the sevaral calsses passing one class type to other. finally i get is the class cl_hrpa_infotype_0008_in.
    can any one suggest how i should be reading the data for any infotype.
    Pls do not suggest the function module HR_READ_INFOTYPE. I want to use these classes to read the data.
    Pls suggest
    Regards,
    Umesh Chaudhari.

    Hi,
    Did you get any replies to this or have you found an answer on your own?
    Regards,
    LC

  • Naming Standards: What are you using?

    I'd like to hear what different organizations are using for naming standards to manage their XI environment.
    When you have a new interface or need to call up an existing interface, how do you know where to find them?  
    Do you break out your interfaces by Sender SC, XI SC and receiver SC?
    How do you organize namespaces?

    Hi Mark,
        Well, The name space itself it means that it used for unique identifier.Normally in realtime business cases lot  of process would be involved..when you are developing the interface and when you start up with namespace..The name space should give you the what exactly the scenario..for which type of scenarios..
      Let me take an example suppose if u are implementing the all sales order scenario you can probably implement a name space such that it should reflect the all sales order related objects.
      <b>Ex: http://xyzcompany.com./salesorders</b>
      The above namespace tell you that the vendor is xyzcompany and the corresponding objects of slaes orders.
    Hope I am clear.
    Thanks and Regards,
    Chandu.

  • How to set naming standard that sets max number of words in column name?

    Hi all,
    Is it possible to set naming standard that sets max number of words in colum (or table) name?
    I was looking video (1:08min)
    http://download.oracle.com/otn_hosted_doc/sqldev/UserDefinedDesignRules/UserDefinedDesignRules.html
    And here you can see how rule is triggered.
    "...Name has 2 words; Max permitted - 1".
    Thanks a lot

    Hi,
    you need to create glossary and set it in naming standards for your design.
    This document is still valid - http://www.oracle.com/technetwork/developer-tools/datamodeler/datamodelernamingstandards-167685.pdf
    Naming standard settings are located :
    - DM 3.x - "Preferences>Data Modeler>Naming Standard"
    - DM 4.0 - Design dialog>Settings>Naming Standard
    If you want only check on number of words then glossary can be empty and you can set "Incomplete modifiers" option in that glossary.
    Philip

  • Oracle Object Naming Standards/Conventions

    I did a search on the Inet regarding recommended object (table, column, keys, ..., audit columns) naming conventions. I found different approaches, but I would like to know if there's a document with the naming conventions Oracle recommends/is using?
    Thanks.

    I have visited http://www.dba-oracle.com/standards_schema_object_names.htm
    Oracle column naming Standards
    Column Naming Standards
    Column names should be spelled out whenever possible.
    If a column name should exceed 30 characters, reduce the size of the column name in this order:
    From the left of the column name, remove vowels from each word in the table name except for the first vowel of each word.
    If the column name is still greater than 30 characters, use standardized shorthand indicators. Record this standard for consistent use.
    I agree with the author that column names should be spelled out whenever possible. Some Oracle official database examples use abbreviations for column names but
    I would prefer to user long Column Name that spells out the actual name.
    For example, in Scott/tiger sample database, for EMP table, it is better to spell out the full name of column name so that UI design could be easier for the programmers.
    EMPNO Employee_No
    ENAME Employee_Name
    JOB Job
    MGR Manager_Employee_No
    HIREDATE Hire_Date
    SAL Salary
    COMM Commision
    DEPTNO Departmen_No
    Since Forms Builder 10g and JDeveloper ADF can generate forms/applications using wizards, using a full column name will be better than an abbreviation, as the prompt for Item is automatically converted by Forms,
    e.g. The prompt for Customer_Number becomes "Customer Number"
    If you use abbreviation in column names, you need to change the prompts of generated forms manually.
    Message was edited by:
    wyfwong

  • Does the Class Word always have to be the last word in column name? What about Units?

    Sometimes we are required to store both a US and a metric column in the same table.  Is it ok to use the unit type as a suffix to the class word like AreaSqMi and AreaSqkm in the case of watersheds which cross both the US and Canadian borders?
    Before everyone jumps on me let me explain.  The software environment we are using is from ESRI's (Geographic Information System) for displaying maps.  The popups for displaying attribute data can only display existing columns so no derived columns.

    Use columns standarts
    http://www.codeproject.com/Articles/22947/A-Naming-Scheme-for-Database-Tables-and-Fields
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Not able to get group name by using memberof class, getting Total groups as 0 even I am member of that group.

    Not able to get group name by using memberof class, getting Total groups as 0 even I am member of that group. Through this memberof class I am trying to find full qualified name(DN) of my group.
    code I have used:
    //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(CN=Username))";
                   //Specify the Base for the search
                   String searchBase = "";
    Also I have used,
                 String searchFilter = "(&(objectClass=user)(CN=Username))";
                   //Specify the Base for the search
                   String searchBase = "ou=ibmgroups,o=ibm.com";
    But in both cases I am getting value for Total groups as 0.
    Code Reference:
    * memberof.java
    * December 2004
    * Sample JNDI application to determine what groups a user belongs to
    import java.util.Hashtable;
    import javax.naming.*;
    import javax.naming.ldap.*;
    import javax.naming.directory.*;
    public class memberof     {
         public static void main (String[] args)     {
              Hashtable env = new Hashtable();
              String adminName = "CN=Administrator,CN=Users,DC=ANTIPODES,DC=COM";
              String adminPassword = "XXXXXXX";
              String ldapURL = "ldap://mydc.antipodes.com:389";
              env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
              //set security credentials, note using simple cleartext authentication
              env.put(Context.SECURITY_AUTHENTICATION,"simple");
              env.put(Context.SECURITY_PRINCIPAL,adminName);
              env.put(Context.SECURITY_CREDENTIALS,adminPassword);
              //connect to my domain controller
              env.put(Context.PROVIDER_URL,ldapURL);
              try {
                   //Create the initial directory context
                   LdapContext ctx = new InitialLdapContext(env,null);
                   //Create the search controls          
                   SearchControls searchCtls = new SearchControls();
                   //Specify the search scope
                   searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
                   //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(CN=Andrew Anderson))";
                   //Specify the Base for the search
                   String searchBase = "DC=antipodes,DC=com";
                   //initialize counter to total the group members
                   int totalResults = 0;
                   //Specify the attributes to return
                   String returnedAtts[]={"memberOf"};
                   searchCtls.setReturningAttributes(returnedAtts);
                   //Search for objects using the filter
                   NamingEnumeration answer = ctx.search(searchBase, searchFilter, searchCtls);
                   //Loop through the search results
                   while (answer.hasMoreElements()) {
                        SearchResult sr = (SearchResult)answer.next();
                        System.out.println(">>>" + sr.getName());
                        //Print out the groups
                        Attributes attrs = sr.getAttributes();
                        if (attrs != null) {
                             try {
                                  for (NamingEnumeration ae = attrs.getAll();ae.hasMore();) {
                                       Attribute attr = (Attribute)ae.next();
                                       System.out.println("Attribute: " + attr.getID());
                                       for (NamingEnumeration e = attr.getAll();e.hasMore();totalResults++) {
                                            System.out.println(" " +  totalResults + ". " +  e.next());
                             catch (NamingException e)     {
                                  System.err.println("Problem listing membership: " + e);
                   System.out.println("Total groups: " + totalResults);
                   ctx.close();
              catch (NamingException e) {
                   System.err.println("Problem searching directory: " + e);
    Any help will be highly appreciated.

    Not able to get group name by using memberof class, getting Total groups as 0 even I am member of that group. Through this memberof class I am trying to find full qualified name(DN) of my group.
    code I have used:
    //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(CN=Username))";
                   //Specify the Base for the search
                   String searchBase = "";
    Also I have used,
                 String searchFilter = "(&(objectClass=user)(CN=Username))";
                   //Specify the Base for the search
                   String searchBase = "ou=ibmgroups,o=ibm.com";
    But in both cases I am getting value for Total groups as 0.
    Code Reference:
    * memberof.java
    * December 2004
    * Sample JNDI application to determine what groups a user belongs to
    import java.util.Hashtable;
    import javax.naming.*;
    import javax.naming.ldap.*;
    import javax.naming.directory.*;
    public class memberof     {
         public static void main (String[] args)     {
              Hashtable env = new Hashtable();
              String adminName = "CN=Administrator,CN=Users,DC=ANTIPODES,DC=COM";
              String adminPassword = "XXXXXXX";
              String ldapURL = "ldap://mydc.antipodes.com:389";
              env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
              //set security credentials, note using simple cleartext authentication
              env.put(Context.SECURITY_AUTHENTICATION,"simple");
              env.put(Context.SECURITY_PRINCIPAL,adminName);
              env.put(Context.SECURITY_CREDENTIALS,adminPassword);
              //connect to my domain controller
              env.put(Context.PROVIDER_URL,ldapURL);
              try {
                   //Create the initial directory context
                   LdapContext ctx = new InitialLdapContext(env,null);
                   //Create the search controls          
                   SearchControls searchCtls = new SearchControls();
                   //Specify the search scope
                   searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
                   //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(CN=Andrew Anderson))";
                   //Specify the Base for the search
                   String searchBase = "DC=antipodes,DC=com";
                   //initialize counter to total the group members
                   int totalResults = 0;
                   //Specify the attributes to return
                   String returnedAtts[]={"memberOf"};
                   searchCtls.setReturningAttributes(returnedAtts);
                   //Search for objects using the filter
                   NamingEnumeration answer = ctx.search(searchBase, searchFilter, searchCtls);
                   //Loop through the search results
                   while (answer.hasMoreElements()) {
                        SearchResult sr = (SearchResult)answer.next();
                        System.out.println(">>>" + sr.getName());
                        //Print out the groups
                        Attributes attrs = sr.getAttributes();
                        if (attrs != null) {
                             try {
                                  for (NamingEnumeration ae = attrs.getAll();ae.hasMore();) {
                                       Attribute attr = (Attribute)ae.next();
                                       System.out.println("Attribute: " + attr.getID());
                                       for (NamingEnumeration e = attr.getAll();e.hasMore();totalResults++) {
                                            System.out.println(" " +  totalResults + ". " +  e.next());
                             catch (NamingException e)     {
                                  System.err.println("Problem listing membership: " + e);
                   System.out.println("Total groups: " + totalResults);
                   ctx.close();
              catch (NamingException e) {
                   System.err.println("Problem searching directory: " + e);
    Any help will be highly appreciated.

  • End of Page event in ALV report using SALV class[cl_salv_hierseq_table]

    Hi ,
    have been working on a ALV report using the class SALV cl_salv_hierseq_table
    I am facing few issues pertaining to two things:
    1. Displaying some subtotal text along with the subtotals.
    Example refer the standard demo example: SALV_DEMO_HIERSEQ_FORM_EVENTS
    Now instead of A 17 and A26 I would like to show text like Subtotal for the Carrid.for subtotals and grand totals
    Like   Subtotal for A 17 is :      XXXXXXX
              GrandTotal is         :      YYYYYY
    2. We have a page break and a new page for every purchasing group as in the standard example SALV_DEMO_HIERSEQ_FORM_EVENTS for CARRID.
    I need to display some variable values as number of documents ,total number of records etc at the end of each CARRID group before a new page starts for the next CARRID.Please note i do not want it on every page.it should only be diaplyed at the end of page whose next page would be for next CARRID.[basically at end of every carrid]Example:after displaying all details for AA need to display the number of records for that carrid at the end of the page[as page break is based on CARRID]/
    Thanks
    Jyotsna

    at end of page event, for CL_SALV_EVENTS_HIERSEQ, has some useful parameters allowing to know where you are at the time of event
    parameter VALUE is of type CL_SALV_FORM which contains public attribute IF_SALV_FORM~ACCDESCRIPTION; you can slo get contents of it
    about text of total/subtotal, this is normally set in the layout

  • How can I use excel and word on the IPAD2

    How can I use excel and word documents on my Ipad 2

    There are apps such as Documents To Go which support reading/editting/creating those sorts of documents :
    standard version  -  http://itunes.apple.com/us/app/documents-to-go-office-suite/id317117961?mt=8
    premium version  -  http://itunes.apple.com/us/app/documents-to-go-premium-office/id317107309?mt=8

  • How to set naming standards for SQL Developer

    I am using SQL Developer version 3.0.04.
    In the newly integrated and very useful Data Modeler, we can set preferences for the naming standards to be applied when creating logical and relational model objects ( primary keys, foreign keys, et cetera). I would like to know if there is a way to set naming standards for the relational objects we create in SQL Developer on existing tables ( ( primary keys, foreign keys, et cetera).
    Any help in setting such preferences would be appreciated.

    Hi,
    If you want to set up a diagram for an existing database, you can use File/Data Modeler/Import/Data Dictionary to import its definitions.
    Alternatively you can open a Data Modeler Browser (using View/Data Modeler/Browser), expand the node for Design "Untitled_1",
    expand the node for Relational Models, and select Show from the Right-click drop-down menu for "Relational_1" to create a Relational Model diagram.
    You can then drag Tables from SQL Developer's Connections tree onto the diagram.
    Once you have a Relational Model you can reverse engineer it to an Entity-Relationship model using the << button in the button bar
    (or by selecting "Engineer to Logical Model" from the drop-down menu for the Relational Model).
    Note that there is now a separate forum for SQL Developer Data Modeler topics: SQL Developer Data Modeler
    David

Maybe you are looking for