home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.vms      DEC's VAX* line of computers & VMS.      264,096 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 262,903 of 264,096   
   Lawrence D'Oliveiro to All   
   Re: VMS x86-64 database server   
   23 Jul 25 00:54:01   
   
   From: ldo@nz.invalid   
      
   On Wed, 16 Jul 2025 20:26:46 -0400, Arne Vajhøj wrote:   
      
   > You have misunderstood what an ORM provide.   
   >   
   > You need to define your object model.   
   >   
   > You need to specify logical what queries or updates you want to do.   
   >   
   > What the ORM does (as the name implies!) is to handle the mapping   
   > between the object model and the SQL statements.   
   >   
   > You give it a query and it translate that into one or more SELECT   
   > statements, read the result and stuff it into the object model.   
   >   
   > You tell it to persist an object and it translate that into one or more   
   > INSERT statements.   
   >   
   > For complex object models having that stuff done automatically save a   
   > ton of code.   
   >   
   > It is cutting 50-75% of the database access code. And most business   
   > applications has a lot of database access code.   
      
   The trouble is, SQL is already a very concise language. So the idea that   
   you can add some kind of ORM to, say, Java, a language not known for its   
   conciseness, in order to save code overall, is just absurd.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca