﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Business Object using Multiple Tables</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 08 Jun 2026 23:48:19 GMT</lastBuildDate><ttl>20</ttl><item><title>Business Object using Multiple Tables</title><link>http://forum.strataframe.net/FindPost2714.aspx</link><description>What is the best way to structure a Business Object, Customer, that uses data from multiple tables, say BusinessEntity and Address? I gather that a Business Object = 1 table. If this is correct, then I will probably need to get into transactions in order to ensure that adds, deletes, and updates to Customer are consistent in the database.&lt;/P&gt;&lt;P&gt;If I use a view, then should I build the stored procedures in the database for insert, delete, and update, or should I use transactions against the source table in the Business Object?&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Flavelle</description><pubDate>Mon, 02 Oct 2006 10:24:10 GMT</pubDate><dc:creator>Flavelle Ballem</dc:creator></item><item><title>RE: Business Object using Multiple Tables</title><link>http://forum.strataframe.net/FindPost3221.aspx</link><description>Ben,&lt;BR&gt;&lt;BR&gt;would you explain a little bit the idea of "wrapper" business object?&lt;/P&gt;&lt;P&gt;The BusinessObject = 1&amp;nbsp;table is &lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;slightly &lt;/SPAN&gt;problematic in the case when you would need to create&amp;nbsp;a object that would&amp;nbsp;include columns from several tables (a SQL join) &amp;nbsp;and perhaps some computed fields (some computation rather done in the database than in the application). &lt;/P&gt;&lt;P&gt;In a Oracle environment would DDT bring any help on this issue?&amp;nbsp;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: 'Verdana','sans-serif'"&gt;Lastly, is this true: the data structure of the business object is just a place holder and the query populating the data structure can be whatever, e.g any SQL-statement?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="BACKGROUND: white"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #1f5080; FONT-FAMILY: 'Verdana','sans-serif'"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;Kari&lt;/o:p&gt;&lt;/SPAN&gt;</description><pubDate>Mon, 02 Oct 2006 10:24:10 GMT</pubDate><dc:creator>Kari Paukku</dc:creator></item><item><title>RE: Business Object using Multiple Tables</title><link>http://forum.strataframe.net/FindPost2746.aspx</link><description>So, ask away... we've got lots of the answers, and Google has the rest :)</description><pubDate>Tue, 12 Sep 2006 08:04:36 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Business Object using Multiple Tables</title><link>http://forum.strataframe.net/FindPost2742.aspx</link><description>Ben:&lt;/P&gt;&lt;P&gt;Thanks - I suspect the wrapper will be the way I go. As a new user, I have a long way to go, so crawl, walk, run, and many questions to be answered over time.&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Flavelle</description><pubDate>Mon, 11 Sep 2006 18:30:26 GMT</pubDate><dc:creator>Flavelle Ballem</dc:creator></item><item><title>RE: Business Object using Multiple Tables</title><link>http://forum.strataframe.net/FindPost2723.aspx</link><description>You can either build a "wrapper" business object that contains the other 3 business objects, or you can map the business object to an updatable view.&amp;nbsp; We are making some changes to the Database Deployment Toolkit right now that will allow you to specify the primary key for a view, thereby allowing a business object to update it through the "instead of" stored procedures.</description><pubDate>Mon, 11 Sep 2006 08:14:11 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>