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 - rfarmelo

Pages: [1]
1
General Board / Need way to generate C++ for Database/ERD Tables
« on: December 16, 2010, 08:03:12 am »
Hi,

I'm working on a C++/ORM solution (my first) which requires me to write C++ to describe each of the tables in my DB schema. I'm trying to figure out if there is a way to get EA to do that for me.

It seems like many of the pieces are there, but I can't figure out a way to transform ERD tables into something that EA will generate C++ for.

Is there a simple stereotype or other change I can do? Any other suggestions that don't necessarily use EA?

Thanks!

2
General Board / Re: Database not defined
« on: September 15, 2010, 05:39:02 am »
Thanks Mike...

I got help from sparxsupport via email... What I was missing was where to define a target DB. Here's the response:

This error means that the table has not had a database configured. If you wish to configure a database...
 
1. Double click on the table to invoke the properties dialog.
2. Select a database from the "Database" section.
3. "OK".
 
To configure a default database...
 
1. "Tools | Options".
2. Within the "Options" dialog select Source Code Engineering > Code Editors from the tree hierarchy.
3. Select the appropriate database from the "Default Database" section.

3
General Board / Database not defined
« on: September 13, 2010, 08:16:23 am »
Hi,

I'm a DB newbie and am trying to export a table in an entity relationship diagram to DDL.  I get "Database not defined." error and am able to find info necessary to fix the problem.

I have the sqlite3 odbc driver installed on my pc. I'm unclear if this is needed for this operation or if EA should be able to do this independent of any specific DB target. This is not one of the supported DBs so perhaps that's the problem.

Any suggestions?

Thanks!

Pages: [1]