Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - deboeck

Pages: [1] 2
1
Suggestions and Requests / Table Name - FK Name
« on: April 19, 2005, 05:37:00 am »
Hi,

 It seems that a table with name TableName and a FK constraint on TableName with name TableName is allowed in EA. The generated DDL, however, is not correct.
 Does there exist a "check this scheme" function in EA ?

Regards,
Bart

2
Suggestions and Requests / DDL File Generation
« on: April 19, 2005, 05:24:16 am »
Hi,

 Is it possible to store the "Use Database" value in "Generate DDL" ?

Thanks,
Bart

3
General Board / Re: Application_Development_with_EA.pdf
« on: April 05, 2006, 02:12:00 am »
tanx Bill!  :)

4
General Board / Re: Application_Development_with_EA.pdf
« on: April 04, 2006, 04:24:46 pm »
Indeed - Sparx, please react !

If there are no plans to update this document, please be so kind to point me to another (similar) document

:'(

5
General Board / Re: Application_Development_with_EA.pdf
« on: April 04, 2006, 04:37:45 am »
1)
- chapter 4 is the last chapter in the document, it is unfinished, this becomes obvious by looking at pp 89
- in the document itself, for instance on the top of pp 87, the author mentions that there will be more on table layouts for creating custom reports, there is no more after pp 89

2) I agree that there are different approaches, I don't expect a "the many ways to develop applications" document - I like this document cause it promises to give *an* overview of application development with EA and at the same time gives an overview of EA without having to search in threads, different whitepapers, etc The document lives up to its promises were it not for the abrupt end at chapter 4

This type of documents helps to reduce traffic on boards like this one; that is, for the ones who want to read it  ;D

6
General Board / Re: Application_Development_with_EA.pdf
« on: April 03, 2006, 02:00:12 pm »
a bit more complete would be nice  :D

7
General Board / Application_Development_with_EA.pdf
« on: April 03, 2006, 11:01:32 am »
Hi,

 Is it correct that the http://sparxsystems.com.au/downloads/whitepapers/Application_Development_with_EA.pdf document is unfinished ? Does there exist a complete "Application development with EA" document ?

Thanks,
Bart

8
General Board / Exception Handler - Interruptible Activity Region
« on: March 23, 2006, 05:54:16 am »
Hi,

 I have an action A in an activity diagram which outputs several documents (files). The documents are modeled as objects.
 When this action A fails, another action B has to be started. When action A fails, all documents generated by action A are invalid.
 Is it correct that these documents should be contained in an interruptible activity region with an exception handler ? I don't succeed adding these documents "under" the interruptible activity region node in the "project view pane". So, I'm probably doing something wrong.
 Your comments are highly appreciated !

Thanks,
Bart

9
General Board / Re: C# generics
« on: February 19, 2006, 03:55:16 pm »
Thanks !!  :D
Quote
http://www.sparxsystems.com/EAUserGuide/index.html?csharp_conventions.htm says to use a tagged value "genericConstraints".  Just put the entire constraint ("where T:struct") into the value.  


10
General Board / C# generics
« on: February 19, 2006, 06:51:40 am »
Hi,

 Is it possible to define constraints on C# generics with EA ? For instance,

public class A<T> where T:struct

Thanks,
Bart

11
General Board / Re: SQL Server 2000 Trigger Problem
« on: August 23, 2005, 09:44:49 am »
Hi John,

 Thanks for the tip. It seems to me that this functionality should be present whenever SQL Server is selected. What do you think ?

Regards,
Bart

Quote
I had the same problem, though I had it with "CREATE PROCEDURE" commands. I was in the process of sending a support request about this, when I realized that the DDL commands were separated by "\n;\n", and that there is a text box in the "GENERATE DDL" dialog which says "Use ; as SQL Separator".

If I replace the ";" with "GO", then I get the right DDL. Perhaps this will help you.


12
General Board / SQL Server 2000 Trigger Problem
« on: April 19, 2005, 08:34:40 am »
Hi,

 Adding a trigger on a table (with Operations in the context menu of a table) generates a "create trigger" statement in the DDL which has no "GO" statement in front. SQL Server 2000 does not accept a "create trigger" statement which is not the first line in a batch.
 Does there exist a work around for this behaviour ?

Thanks,
Bart

13
General Board / Re: Generate DDL Bug
« on: April 18, 2005, 08:24:29 am »
Dear,

 I have the same problem with SQL Server 2000. Changing the column names does not help at all. Does there exist a work around for this problem ?
 EA version : 4.51.751

Thanks,
Bart

14
General Board / Re: Aggregation of Tables
« on: April 19, 2005, 03:19:27 pm »
tanx for your reply
I'm not trying to add a foreign key, luckily I know how to do that  :D, I'm trying to add a composition, you know, the compose arrow in the Toolbox - Structure  ;)
The generated DDL after adding a composition is not ok ...

15
General Board / Re: Aggregation of Tables
« on: April 19, 2005, 04:30:20 am »
I've made two tables, Table1 and Table2. Each table contains a primary key. The primary key of Table1 is ref1 and the primary key of Table2 is ref2.
After adding a composition and specifying the Source Role (ref1) and Target Role (PK_Table2), the project view shows a foreign key.
After generating the DDL, I find the following :


-- Drop Foreign Key Constraints
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id('FK_ref1') AND OBJECTPROPERTY(id, 'IsForeignKey') = 1)
ALTER TABLE Table1 DROP CONSTRAINT FK_ref1
;


-- Drop Tables
IF EXISTS (SELECT * FROM dbo.SYSOBJECTS WHERE id = object_id('Table1') AND  OBJECTPROPERTY(id, 'IsUserTable') = 1)
DROP TABLE Table1
;

IF EXISTS (SELECT * FROM dbo.SYSOBJECTS WHERE id = object_id('Table2') AND  OBJECTPROPERTY(id, 'IsUserTable') = 1)
DROP TABLE Table2
;


-- Create Tables
CREATE TABLE Table1 (

ref1 int NOT NULL
)
;

CREATE TABLE Table2 (

ref2 int NOT NULL
)
;


-- Create Primary Key Constraints
ALTER TABLE Table1 ADD CONSTRAINT PK_Table1
PRIMARY KEY (re)
;

ALTER TABLE Table2 ADD CONSTRAINT PK_Table2
PRIMARY KEY (ref2)
;


I do not understand why there is a "drop foreign key constraint" but no "create foreign key constraint". Is anything wrong in my model or is this an EA bug ?
I'm using EA version 4.51.751.

Regards,
Bart

Pages: [1] 2