Domain and  Types

Hi,
I'm using Data Modeler 3.1.4.
I created a logical model with entities. Each entities has a primary key named 'Numero'. I want to have the same type for all these columns .
So I created a domain with Integer as logical type (no precision).
Since Integer datatype is translated in Number(38) in Oracle, I have modified, via Types Administration menu, the mapping between Integer and my Oracle database 11g. Integer is mapped now with Number, precision 38.
When I run a forward engineering, my columns have not Number(38) but Number only.
The precision is lost during forward engineering.
However, if I assign directly Integer on an other attribut, without domain, the column im my table after forward engineering has the correct datatype (Number(38)) !
What can I do ? Did I make a mistake ?
Thanks,
regards

Hi,
Did I make a mistake ?No it doesn't work for domains in current releases. It's fixed for next release of Data Modeler 3.3. No such luck for DM 3.1.
I'm curious - why do you need to map it to Number(38) if default database mapping is to Number(38). I'd expect Integer to be mapped to Number(10). The power of defaults for logical type is to tune better data types when work on several databases:
DB2 Integer - Oracle Number(10)
DB2 Shortint - Oracle Number(5)
Well they can be used for other purposes as well
Philip

Similar Messages

  • Domains and Logical Types in Data Modeler

    Been out of serious design work for a long time. Can someone provide a good pointer to descriptions on Domains and Logical Types and presented in the Data Modeling tool?
    For instance I am having trouble tracking the following distinctions:
    Domain Logical Type
    LongText Varchar
    ShortText Char
    Text Char
    NText NTEXT
    NVarchar NVARCHAR
    CHAR and VARCHAR are listed as Logical Types but not Domains. There is a TEXT logical type, but ironically, it does not correspond to the Text Domain. Varchar2 appears in neither list. I believe I ready the N* domains/types are for international characters (multi-byte?), but basically see no pattern here so was hoping someone could straighten me out.
    Thanks,
    Robert Kuropkat

    Hi Robert,
    Logical types are abstraction for native data types in supported databases. You need logical types if you want to import from database or DDL script (mapping of native to logical is important here) or want to generate DDL script (mapping of logical to native). You can delete all logical types (only "unknown" has importance) and create your own logical types. In this case you have to map them to native database types. If you use only Oracle database then you can delete types related to other databases. Of course you can rename existing logical types if you don't like how they are named.
    Domains are based on logical types - you need logical type in order to have valid domain definition. Provided domains are just sample. You can delete them - the only important here is "unknown". You can create two types of domains (it's usage point of view) - 1) per installation - common for all designs; 2) per design - they appear only for design they are defined. You also can import domains.
    Also domains are automatically created during import of DDL script - it's kind of data type aggregation - domain is created for each used data type.
    Best regards,
    Philip

  • Issue when SelectOneChoice is used with Domain data type in JDev 11.1.2.0.0

    Hi,
    I am facing one issue while working with SelectOneChoice along with Custom Domain data type. Sample app to simulate the issue is available at http://www.filejumbo.com/Download/6FDF6ECF2922BD24
    Issue Details.
    Base view object’s attribute is of type CustomString, for which another static VO’s attribute is attached as LOV. LOV attribute is of type String. Because of this data type mismatch between LOV VO attribute and Base VO attribute, while working in screen, initially we were facing Class cast exception.
    Cannot convert <<LOV Attr. Val.>> of type class java.lang.String to class model.domain.common.CustomString This is not only for this type of SelectOneChoice but also for InputText field whose underlying VO attribute is of type CustomString (i.e. any Custom Domain type)
    On raising this in Jdeveloper forum, I came to know that adding a default oracle converter against the UI Component will take care of converting to respective data type. After added the converter for InputText and SelectOneChoice components, this issue got resolved. This was our lesson while working in Jdeveloper version 11.1.1.3.0. Converter we used,
    <f:converter converterId="oracle.genericDomain"/> When we try the same scenario in Jdev Version 11.1.1.4.0, without having the oracle converter itself, SelectOneChoice started working fine!! (i.e. it is able to set the base attribute with LOV attribute’s value but with proper base attribute’s domain data type). Anyhow, converter is required for InputText.
    When we try the same scenario in Jdeveloper new version 11.1.2.0.0, it started giving class cast exception when we don’t have oracle converter for SelectOneChoice. But by adding it, though it didn’t give such class cast exception message, though a selection is made in SelectOneChoice, VO attribute has not been updated with the new value. Instead it is updated with null value (Checked the setter method of view row impl by having break point) . Because of this, after a selection is made, when we try to read the attribute value from VO on button click, VO attribute always returns null.
    We have also tried our own converters but there is no change in the behavior.
    The above misbehavior can be tested either by having SOP programmatically or by refreshing the SelectOneChoice by giving its id as Partial trigger to itself with autosubmit set to true, so that the selected value will be reset to null irrespective of the selection made.
    For convenience, Issue details with Sample application is shared. Shared link : http://www.filejumbo.com/Download/6FDF6ECF2922BD24
    Shared folder contains
    1. Sample App developed on Jdev 11.1.1.4.0 to ensure it didn’t give this error.
    2. Sample App developed on Jdev 11.1.2.0.0 to simulate this error.
    3. Error details in a document.
    Can anybody have a look at this and tell me why this misbehavior and is it a bug? If so, any workaround available to continue the development?
    Thanks in Advance.
    Raghu
    Edited by: Raguraman on Sep 10, 2011 10:31 AM

    Sorry for the late reply John and Frank. Ya i did. Thank you.
    One more detail:
    I tested the behavior in Jdeveloper 11.1.2.0.0. The recent surprise is Select One Choice is behaving perfectly when it used in Grid layout and fail to work when it is form layout. I am getting surprised why behavior of component varies based on the way it refers the binding.
    for form layout,
    value=#{bindings.
    for grid layout,
    value=#{row.bindings.
    The bug details (#/title) are Bug 12968871 - RUNTIME CONVERSION FAILURE WHEN USING CUSTOM DOMAIN OBJECT VALIDATION IN EO
    Edited by: Raguraman on Sep 12, 2011 8:23 PM
    Edited by: Raguraman on Sep 12, 2011 8:31 PM

  • Getting Error The trust relationship between the primary domain and the trusted domain failed in SharePoint 2010

    Hi,
    SharePoint 2010 Backup has been taken from production and restored through Semantic Tool in one of the server.The wepapplication of which the backup was taken is working fine.
    But the problem is that the SharePoint is not working correctly.We cannot create any new webapplication ,cannot navigate to the ServiceApplications.aspx page it shows error.Even the Search and UserProfile Services of the existing Web Application is not working.Checking
    the SharePoint Logs I found out the below exception
    11/30/2011 12:14:53.78  WebAnalyticsService.exe (0x06D4)         0x2D24 SharePoint Foundation          Database                     
     8u1d High     Flushing connection pool 'Data Source=urasvr139;Initial Catalog=SharePoint_Config;Integrated Security=True;Enlist=False;Connect Timeout=15' 
    11/30/2011 12:14:53.78  WebAnalyticsService.exe (0x06D4)         0x2D24 SharePoint Foundation          Topology                     
     2myf Medium   Enabling the configuration filesystem and memory caches. 
    11/30/2011 12:14:53.79  WebAnalyticsService.exe (0x06D4)         0x12AC SharePoint Foundation          Database                     
     8u1d High     Flushing connection pool 'Data Source=urasvr139;Initial Catalog=SharePoint_Config;Integrated Security=True;Enlist=False;Connect Timeout=15' 
    11/30/2011 12:14:53.79  WebAnalyticsService.exe (0x06D4)         0x12AC SharePoint Foundation          Topology                     
     2myf Medium   Enabling the configuration filesystem and memory caches. 
    11/30/2011 12:14:55.54  mssearch.exe (0x0864)                    0x2B24 SharePoint Server Search       Propagation Manager          
     fo2s Medium   [3b3-c-0 An] aborting all propagation tasks and propagation-owned transactions after waiting 300 seconds (0 indexes)  [indexpropagator.cxx:1607]  d:\office\source\search\native\ytrip\tripoli\propagation\indexpropagator.cxx 
    11/30/2011 12:14:55.99  OWSTIMER.EXE (0x1DF4)                    0x1994 SharePoint Foundation          Topology                     
     75dz High     The SPPersistedObject with
    Name User Profile Service Application, Id 9577a6aa-33ec-498e-b198-56651b53bf27, Parent 13e1ef7d-40c2-4bcb-906c-a080866ca9bd failed to initialize with the following error: System.SystemException: The trust relationship between the primary domain and the trusted
    domain failed.       at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection sourceSids, Boolean& someFailed)     at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection
    sourceSids, Type targetType, Boolean forceSuccess)     at System.Security.Principal.SecurityIdentifier.Translate(Type targetType)     at Microsoft.SharePoint.Administration.SPAce`1.get_PrincipalName()    
    at Microsoft.SharePoint.Administration.SPAcl`1.Add(String princip... 
    11/30/2011 12:14:55.99* OWSTIMER.EXE (0x1DF4)                    0x1994 SharePoint Foundation          Topology                     
     75dz High     ...alName, String displayName, Byte[] securityIdentifier, T grantRightsMask, T denyRightsMask)     at Microsoft.SharePoint.Administration.SPAcl`1..ctor(String persistedAcl)    
    at Microsoft.SharePoint.Administration.SPServiceApplication.OnDeserialization()     at Microsoft.SharePoint.Administration.SPIisWebServiceApplication.OnDeserialization()     at Microsoft.SharePoint.Administration.SPPersistedObject.Initialize(ISPPersistedStoreProvider
    persistedStoreProvider, Guid id, Guid parentId, String name, SPObjectStatus status, Int64 version, XmlDocument state) 
    11/30/2011 12:14:56.00  OWSTIMER.EXE (0x1DF4)                    0x1994 SharePoint Foundation          Topology                     
     8xqx High     Exception in RefreshCache. Exception message :The trust relationship between the primary domain and the trusted domain failed.   
    11/30/2011 12:14:56.00  OWSTIMER.EXE (0x1DF4)                    0x1994 SharePoint Foundation          Timer                        
     2n2p Monitorable The following error occured while trying to initialize the timer: System.SystemException: The trust relationship between the primary domain and the trusted domain failed.       at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection
    sourceSids, Boolean& someFailed)     at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess)     at System.Security.Principal.SecurityIdentifier.Translate(Type
    targetType)     at Microsoft.SharePoint.Administration.SPAce`1.get_PrincipalName()     at Microsoft.SharePoint.Administration.SPAcl`1.Add(String principalName, String displayName, Byte[] securityIdentifier, T grantRightsMask,
    T denyRightsMask)     at Microsoft.SharePoint.Administrati... 
    11/30/2011 12:14:56.00* OWSTIMER.EXE (0x1DF4)                    0x1994 SharePoint Foundation          Timer                        
     2n2p Monitorable ...on.SPAcl`1..ctor(String persistedAcl)     at Microsoft.SharePoint.Administration.SPServiceApplication.OnDeserialization()     at Microsoft.SharePoint.Administration.SPIisWebServiceApplication.OnDeserialization()    
    at Microsoft.SharePoint.Administration.SPPersistedObject.Initialize(ISPPersistedStoreProvider persistedStoreProvider, Guid id, Guid parentId, String name, SPObjectStatus status, Int64 version, XmlDocument state)     at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(Guid
    id, Guid parentId, Guid type, String name, SPObjectStatus status, Byte[] versionBuffer, String xml)     at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(SqlDataReader dr)     at Microsoft.SharePoint.Administration.SPConfigurationDatabase.RefreshCache(Int64
    currentVe...
    Please guide me on the above issue ,this will be of great help
    Thanks.

    I have same error. Verified for trust , ports , cleaned up cache.. nothing has helped. 
    The problem is caused by User profile Synch Service:
    UserProfileProperty_WCFLogging :: ProfilePropertyService.GetProfileProperties Exception: System.SystemException:
    The trust relationship between the primary domain and the trusted domain failed.       at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection sourceSids,
    Boolean& someFailed)     at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess)     at System.Security.Principal.SecurityIdentifier.Translate(Type
    targetType)     at Microsoft.SharePoint.Administration.SPAce`1.get_PrincipalName()     at Microsoft.SharePoint.Administration.SPAcl`1.Add(String principalName, String displayName, SPIdentifierType identifierType, Byte[]
    identifier, T grantRightsMask, T denyRigh...        
    08/23/2014 13:00:20.96*        w3wp.exe (0x2204)                      
            0x293C        SharePoint Portal Server              User Profiles                
            eh0u        Unexpected        ...tsMask)     at Microsoft.SharePoint.Administration.SPAcl`1..ctor(String persistedAcl)    
    at Microsoft.Office.Server.Administration.UserProfileApplication.get_SerializedAdministratorAcl()     at Microsoft.Office.Server.Administration.UserProfileApplication.GetProperties()     at Microsoft.Office.Server.UserProfiles.ProfilePropertyService.GetProfileProperties()
    Please let me know if you any solution found for this?
    Regards,
    Kunal  

  • What is domain and dataelement.....diff b/w domain and data element

    dear all
    what is domain?
    what is data element?
    In one domain how many data elements are possible to used?
    with out data element how can u create a table? explain briefly.

    To clarify it little further the Data element and Domains are used in combination where similiar type of data fields are to be used with some more additional characteristics to each Data element.
    For example consider creating a table which contains Employee details. The Columns Name1 and Name2 are to be of type char and length 40. There are 2 ways to do this,
    1. You can assign the fields Name1 and Name2 directly to CHAR40(as the data element) in SE11. But this will make both the fields to have same characteristics with no difference among them.
    2. The other way is to assign the columns Name1 and Name2 to seperate Data elements say DE_NAME1 and DE_NAME2. This method has tha advantage of adding further charectristics and labels to the data element. Hence in this case you can add a label "Name1" for the data element DE_NAME1 and "Name2" for data element DE_NAME2. And both these data element will point to the same domain CHAR40, hence length and type is same.
    Hope this helps.
    Thanks,
    Prasath N

  • Data Modeler 3.0 EA1: Importing domains and 2.0 model doesn't work

    If I import (or open) a relational model from Modeler 2.0 which refers to domains, Modeler 3.0EA will not recognize the domains. I end up with a model full of "UNKNOWN" column types. I tried importing the domains first then importing the model, opening (or importing) the model and then the domains, and even importing the domains into the default domains set before opening the model. Nothing works; the column types will always be marked as UNKNOWN.
    Is it me or a "known bug"?
    Bert Laverman

    Hi Bert,
    Version 3.0 doesn't know anything about your domains - just copy defaultdomains.xml file from 2.0 installation (it's in datamodeler\domains directory) into 3.0 directory datamodeler\datamodeler\types.
    Philip

  • AutoPopulate Domain and OU when applying a base to a collection of CVD's

    Mirage Version - 4.3.0.24687
    Not a huge issue, but would be a "Feature Enhancement"
    Hi,
         our standard procedure for migrating computers is the following
    Deploy Mirage Client
    Centralize Devices spread over several Volumes.
    Create Collections Based on the Volumes and OS of win XP
    Use the Migration Wizard to Push the Base Layer to the CVD's based on the Collections created in the previous step to spread the load and keep track of which computers have had the base pushed.
    Once all CVD's have had the base pushed to them, then Apply the Base
    If I use the migration wizard and manually select multiple (or single) CVD's to push the base to, the drop downs for Domain and OU are populated
    If I use the migration wizard and choose a collection of CVD's to push the base to, the drop downs are empty and I need to manually type the entries in. 
    It would be handy if drop downs for OU and domain worked for collections in the same way as it does for manually selected CVD's.

    No worries!
    PS I've recently fixed a couple of bugs in ComboBox related
    to the selectedItem. You can have a look at the fixes:
    http://mitek.id.au/blog/2008/08/18/combobox-selecteditem-problem/

  • C3 'Touch And Type' IMAP Woes

    Hi all,
    Got a C3 Touch And Type and actually really like the phone. However, major shock came when I tried to configure IMAP email for my custom IMAP email account. Just can't get it to work.
    After starting Nokia Mail, I selected 'Other' from the emial service provider list - and proceeded to type in my email address and password. I'm assuming that the phone does some sort of DNS query in order to get the mail server details, however - can't be too clever as this didn't work - 'signing in' resulted in 'Comminication Error' each time. I checked Internet via the Browser and that was fine. 
    After more attempts, rather than 'Communciation Error' I got another message saying it could not log in and then I get some text boxes asking me to enter the server / mail box  details. "Result!" I though - however - amazingly, when I try to type in the name of the user account on the screen, the phone wants to use predictive text - it won't let me use abc method!!! Hence it's impossible to type in a mail box / server / domain name that is not a dictionaty word. There is an 'options' short cut where you can turn predictive on, but it's set here to off. It still wants to use predictice for this text field.
    I tried to update the mail app - it says 'The latest version is avalaible' however, I'm not sure if that means the latest version is on the phone, or just avaliable. 
    When I go to 'about' and then upgrade, I again get 'Communication Error'. Arrggh!
    I have had Nokias before and it's been a matter of going to settings / Email / Accounts - and basically filling in the server / account details there - so much easier.
    I really really need IMAP to work on this phone - can anyone help?
    Cheers,

    herzlos:
    What firmwire do you currently have?
    Turn off your phone and then turn on your phone. Usually resetting the phone temporarily fixes the problem
    My Nokia C3-01 Software details:
    V 05.60
    06-10-10
    RM-640
    (c) Nokia
    Found this by: Menu>Settings>Phone>Phone updates>Curr. sw details

  • Users, domain and services logon problem

    Hi all. I'm having several issues related to users in my farm (mostly service accounts, as it isn't in production yet). The farm is based on W2003 servers (except SQL which uses Windows 2008) 
    Domain is named sp.test.com , but when I create a web application that doesn't share the same domain name, the users are prompted to type for username and password, first try is a error because it search the user on the other domain, and
    in the second one I'm able to type the correct domain.
    I'll try to summarize
    Domain name: sp.test.com
    Web Application name: shop.mall.net (I leave the host header in blank so I can access directly with that address)
    First try it only prompts for user/pass and returns an error no matter which combination of domain user and password I type. Second try by default I see the username by default is shop.mall.net\sharepointadmin , and not
    sp.test.com\sharepointadmin which is where the user is stored in AD. I think this is also related with the SSP as it says it cannot find the username for provisioning account despite it exists in AD, but SSP is on a Web Application that
    doesn't share domain name with the domain.
    Thank you all in advance.
    PS.- First time I posted on technet, sorry for not being clear or any mistake I could have made.

    The trouble is the browser thinks the URL is an internet site and as a security measure doesn't attempt to automatically log in.
    Add the URL to your user's local intranet or trusted sites zones in IE. 
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • I'm trying to add a new domain and I'm getting error message.

    Hi,
    I'm trying to add my new domain name and I'm getting error message that says: 'Cannot add domain because this domain already exists. Please delete the domain and I already deleted it along with all the 'A Records', 'CNAME Records (Alias)', MX Records',  and 'Advanced DNS Records'. I have a ton of new fans coming to the site tonight. Help!!!

    Did you ever setup another trial BC site before and attach that domain name?  I'm pretty sure that if the domain name is attached to BC's nameservers already even if it's under another account then it won't work.  Not 100% sure about it but it's a likely culprit.  Try to type the subdomain you are adding into a browser and add "/admin" and see if you can login to BC-- if it's an old site you had setup then you should remove the subdomain from that account first and then try to add it to your newer BC site.

  • How would I request skype for two sip domains and one edge

    I have a could logistic questions.
    scenario:
    1 edge server : lync-edge-access.domain1.com (fqdn of access server)
    2 sip domains: domain1.com and domain2.com
    public certificate with SN: lync-edge-access.domain1.com as well as all of the SAN's including sip.domain1.com and sip.domain2.com
    3 A records with the same IP: sip.domain1.com, sip.domain2.com, lync-edge-access.domain1.com.
    2 srv records pointing to sip.domain1.com and sip.domain2.com on port 5061. (since they have the same IP as lync-edge-access.domain1.com and that servers certificate has names for all of them I figure this is a correct method to set them up.
    My first question was when I requested my federation with Skype via Microsoft with my license agreement number it asked me for the fqdn of my access edge server. I figured this would be lync-edge-access.domain1.com. It then asked me for my sip domains and
    I added two, domain1.com and domain2.com. Did I do this correctly or should I have put in two requests, one for fqdn of sip.domain1.com and sip domain of domain1.com and one for sip.domain2.com and domain domain2.com. Or should I change my srv records to both
    point to lync-edge-access.domain1.com?
    Currently when I am looking for contacts in Skype I cant find my accounts and vice versa if I add an account in lync for Skype it just reports offline. so I figure I did something wrong with my logic above. I can easily request an update but I want to make
    sure I get it right this time.
    Thanks
    Loren
    Loren Hudson

    Hi Loren
    As far as I know, you could add one or more SIP domain names at the same time.
    To initiate the provisioning process for Lync-Skype connectivity:
    1.Sign in to the website, https://pic.lync.com, using your Microsoft Windows Live ID.
    2.Select the Microsoft licensing agreement type.
    3.Select the check box, verifying that you have read and accept the Product Use Rights for Lync Server.
    4.On the Initiate a Provisioning Request page, click the appropriate link to initiate a provisioning request:
    5.On the Specify Provisioning Information page, enter the Access Edge service FQDN. For example, accessedge.contoso.com.
    6.Enter at least one or more SIP domain names, and then click Add.
    7.In the list of
    Public IM Service providers, select
    Skype, and click
    Next to add contact information, and submit the provisioning request.
    Click the link below for more information.
    Accessing the Lync Server public IM connectivity provisioning site from Lync Server 2013
    http://technet.microsoft.com/en-us/library/dn440174.aspx
    Hope it can be helpful.
    Best regards,
    Eric

  • Search segregation - do I have to go to a sub-domain and separate paid IP?

    I've got a site that must keep the same domain but has two separate types of visitors (think customers and vendors) is creating a sub-domain and paying for a separate IP address the only way to completely segregate the search results (without going to private login features)?

    Save As was removed in Lion, but it has returned in Mountain Lion. I don't understand why you should need to access the help menu even once let alone each time. Hold down the Option/alt key while clicking on the File menu & you will see Save As along with its keyboard shortcut. If, like me, you don't want to have to do a four-finger keyboard shortcut, you can change it in System Preferences > Keyboard > Keyboard Shortcuts > Application Shortcuts.

  • Search Segregation - do I have to use a sub-domain and pay for a separate IP address?

    I've got a site that must keep the same domain but has two separate types of visitors (think customers and vendors) is creating a sub-domain and paying for a separate IP address the only way to completely segregate the search results (without going to private login features)?
    I really need to segregate the web content as both customers and vendors have similar questions but the content on their pages aren't helpful to each other. Currently my search results are heavy on Vendor content even when a it is a customer search topic.

    An iCloud email account is accessed with the iPhone's Mail app as an IMAP account. Contacts are synced with the Contacts app on your iPhone, calendar events are synced with the Calendar app, and notes are synced with the Notes app, etc.
    On your desktop, you can add a bookmark with your browser and/or add a webclip to your Desktop for the website if you plan on accessing the account via webmail, or the email account can be created/accessed as an IMAP account with an email client on your computer.

  • Is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?

    is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?

    No

  • Ive deleted contacts from my contacts list but they still pop up when i go to text and type in the name of a current contact. .  How can i delete them off my phones memory for good?

    Ive deleted contacts from my contacts list but they still pop up when i go to text and type in the name of a current contact. .  How can i delete them off my phones memory for good? iPhone 4S

    At the present time, the only way to clear that is to restore the phone as new.  Perhaps a future iOS update will give us the option to clear that cache.

Maybe you are looking for