|
that would be my recommendation: if you are using diffrent technologies,one
of them should be encapsualted, so that nobody has to deal with both.But in
this case it would have drawbacks and I wouldn't do so. You would loosethe
ability for positioned updates, which are much faster than searchedupdates,
because the need no repositioning and if you need read stability withrecord
following updates, the update modules are useless, they won't get the
locks, they need. In my opinion transaction handling gets rather
complicated.
agreed, its possible (nearly nothing is impossible, its always aquestion of
effort), but I never saw commit used with RLA, ist even rarely used with
SQL, thow its rather easy to use with SQL; thats one point, where theRPG
community is far away from state of the art and it has something to dowith
RLA!?
nativeYou said "Using two concurrent technologies to do the same, (DDS and
DDL, or SQL and RLA) complicates application developments and the
readability of code is worse, then concentrating on one of the
technologies, so there is a decision to make between SQL and the
bothinterfaces". I'm sorry, I really don't see how the readability of code
is worse.
Same thing with mixing up RPG and Java, a programmer who has to do
maintenance in a programm using SQL and RLA has to have knowledge with
technologies. Encapsulation (as you mentioned before) would help, butthe
problem is not gone, if you are searching for bugs (caused by lock
contention for example).
huddle,You said "RLA transfers binary huddle between the database and the
application with higher risc of data corruption." How?
Data Structures are untyped storage description (I call this binary
since I've written ArdGate) . If a datastructure doesn't match therecord
format, you would transfer every nonsens to or from the database, usingSQL
the compiler will do more checking for you and at runtime the databasewill
do more checking at column level, even if you would use Datastructuresin
your programm. (BTW: IBM claims that DDL Tables would be faster than DDS
Tables and they claim a single database operation would be faster withSQL
than with RLA - in my opinion and experience both are marketing, SQL isa
little bit slower in real world and needs a little bit more ressources -you
don't get anything for nothing!!!!!!!)
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.