The ORM Foundation

Get the facts!

Search

Page 6 of 16 (151 items) « First ... < Previous 4 5 6 7 8 Next > ... Last »
  • Re: Population validation on a join subset constraint

    Hi Karl Sorry. The join subset constraint verbalizes correctly, but we do not yet check for sample population violations of that constraint. At this stage, we check sample population violations for only basic constraints. Adding population checks for advanced constraints is on our to-do list for a future release. Cheers Terry
    Posted to NORMA (Forum) by Terry Halpin on Fri, Aug 9 2013
  • Re: Feature request: Generate Insert Statements from Sample Population

    Hi Katya Thanks for the sugegstion to generate a sample database&nbsp;from the sample data in an ORM model. &nbsp;This has been on our list of to-dos for quite some time. In addition, we plan to let you enter counterexamples, and use that to automatically generate tests to&nbsp;check whether the relevant constraints are mapped correctly to the ...
    Posted to Open Discussion & Feature Requests (Forum) by Terry Halpin on Thu, Apr 5 2012
  • Re: How can I enter counter-examples? Display of sample data in diagram possible?

    Good questions, Ralf. Support for counterexamples, including automatic generation of test cases, is something that we&#39;ve planned for years, but unfortunately we still haven&#39;t got around to implementing it. Hopefully we&nbsp;will do that in that not too distant future. Although you can&#39;t display fact tables on the diagram page like in ...
    Posted to Open Discussion & Feature Requests (Forum) by Terry Halpin on Mon, Jan 30 2012
  • Re: Semantics of subtyping value types

    Hi Clifford Though rarely encountered, I think it&#39;s OK&nbsp;for a value type that is a subtype of another value type to have a &quot;more restrictive data type&quot;,&nbsp;in the sense used in the following example, but not an incompatible data type.&nbsp; Consider ISO2CountryCode as a subtype of ISOCountryCode, where the former permits only ...
    Posted to ORM Techniques (Forum) by Terry Halpin on Thu, Jun 2 2011
  • Re: Semantics of subtyping value types

    I just spotted a typo in my previous post. Please replace &nbsp;&nbsp; the character string &#39;u&quot; by &nbsp;&nbsp;the character string &quot;us&quot; Cheers &nbsp;Terry
    Posted to ORM Techniques (Forum) by Terry Halpin on Thu, Jun 2 2011
  • Re: Semantics of subtyping value types

    Here&#39;s a&nbsp;simple, concrete&nbsp;example that will hopefully clarify the distinction&nbsp;between value types&nbsp;and data types in ORM, at least from my perspective.&nbsp; Suppose we declare two value types CountryCode and Pronoun to store instances&nbsp;of&nbsp;pronouns and country codes respectively, and assign each of these a ...
    Posted to ORM Techniques (Forum) by Terry Halpin on Thu, Jun 2 2011
  • Re: Representing common consistency constraints

    Hi Roger The constraints you need are called join-subset constraints. These are discussed in Section 10.1 of &quot;The Big Brown Book&quot;. I&#39;ve tried to attach&nbsp;a diagram for&nbsp;the &quot;Employee works in Building&quot; example, but it doesn&#39;t appear in my Post window. If you can see the diagram,&nbsp;then&nbsp;notice that ...
    Posted to User experience (Forum) by Terry Halpin on Mon, Apr 25 2011
  • Re: How to represent a singleton value?

    Hi Clifford That&#39;s a neat trick, and it will work so long as (a)&nbsp;the CPI Authority itself is immutable, and (b) you know the CPI Authority. If either of those assumptions doesn&#39;t hold, then you are going to need a cardinality constraint. I&#39;d prefer to add support for cardinality constraints in the relevant ORM tool, as I think ...
    Posted to User experience (Forum) by Terry Halpin on Thu, Apr 21 2011
  • Re: How to represent a singleton value?

    Hi Clifford, that alternative won&#39;t work for the example posed because the value may change over time. The cardinality constraint does the job because it simply restricts the cardinality for the population (which may vary over time), not the type. Of course, you could use a value constraint if you were willing to change the constraint ...
    Posted to User experience (Forum) by Terry Halpin on Thu, Apr 21 2011
  • Re: How to represent a singleton value?

    Here are suggested verbalizations for the&nbsp;object cardinality constraint&nbsp;examples on p. 289, Fig. 22: (a)&nbsp;&nbsp;&nbsp; The number of instances in the population of JuryMember is 12. (b)&nbsp;&nbsp;&nbsp; The number of instances in the population of Senator is less than or equal to 100. Here&nbsp;is a&nbsp;suggested, ...
    Posted to User experience (Forum) by Terry Halpin on Wed, Apr 20 2011
Page 6 of 16 (151 items) « First ... < Previous 4 5 6 7 8 Next > ... Last »
© 2008-2024 ------- Terms of Service