Re: [Andromda-user] Primary Key length issues

2005-04-20 Thread Katta
Which Catrdige/Template being used to generate DDL files (schema-initialize-scripts) and where is that located as I could not find that in jar files. Please help. Thank you --- Oemer Guersoy <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I am using JBoss & Hibernate & PostgreSQL. > > Andromda gen

[Andromda-user] Primary Key length issues

2005-04-18 Thread Katta
Hi,   I am using JBoss & Hibernate & PostgreSQL. Andromda generates VARCHAR (255) for almost all the key fields in database, including ID, CLASS, _FK.   Is this the right size? When I inserted records into database using Hibernate session.save(), it used only 32 characters for the primary-key.

[Andromda-user] Relationships between Entities generated from Andromda & Hibernate

2004-10-17 Thread Katta
xecute that method, does it also internally fetch 'ACCOUNT objects' under that CUSTOMER object? Or should I execute a separate query for fetching the ACCOUNT objects of each CUSTOMER object?   Please help out.   Thank you.   -Katta Do you Yahoo!?vote.yahoo.com - Register online to vote today!

[Andromda-user] Unable to deploy & getting 'ReflectHelper' disabled error

2004-10-13 Thread Katta
sure that my beans are deployed in JBoss and how can I see the data from Hipersonic Thank you very much. -Katta ___ Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. http://messenger.yahoo.com

Re: [Andromda-user] Unable to generate new app.

2004-10-13 Thread Katta
Thank you for the information. --- Frederic Chapuis <[EMAIL PROTECTED]> wrote: > Having troubles with normal text messages (client > removes carriage returns) so here is the > html-formated > version of the answer...hope it's readable. > > Hi Katta, > > You

[Andromda-user] Build failed with bmp4struts errors (need help soon)

2004-10-12 Thread Katta
I am using 'andromda-bin-3.0M3-SNAPSHOT' and also downloaded maven plugins. I created a UML and used to generate the code. When I typed 'maven', it gives the following errors and build failed: Please help : ERROR [AndroMDA:VALIDATION:ERROR] 1) org.andromda.cartridges.bpm4struts.metafacades.Struts

[Andromda-user] Unable to generate new app.

2004-10-11 Thread Katta
[EMAIL PROTECTED]> wrote: > You can just download a later version of the > 3.0M3-SNAPSHOT from here: > http://team.andromda.org/maven/andromda/distributions/ > > Thats currently the latest. > > Chad > - Original Message - > From: "Katta" <[EMA

[Andromda-user] Any new version than 3.0M3-SNAPSHOT ?

2004-10-11 Thread Katta
I was using '3.0M3-SNAPSHOT' and wondering if there is any newer version than that which has more support and bug-fixes. Please let me know where I can download that from. Thank you. -Katta __ Do you Yahoo!? Read only the mail you wa

[Andromda-user] http://team.andromda.org/ website is DOWN?

2004-09-19 Thread Katta
Realized that http://team.andromda.org/ website is down for the last 1 day. Is it being under maintenance? Thanks __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---

[Andromda-user] What files to change & where to change the code-generation syntax?

2004-09-19 Thread Katta
Thanks to all of you for your continued support. I have andromda-303-snapshot (binary version) and wondering which files should I change in order to change some of the code that is generated. For example, if I wanted to put more comments in the code, etc. Where these files are located in binary ve

Re: [Andromda-user] Null Pointer Exception while generating Code

2004-09-18 Thread Katta
roperties, unchek hide operations.. Check that > there is not a "entry/" > within the State Action > > Carlos > > Katta wrote: > > >Can you please be more specific? I was not able to > >find the solution. > > > >Thank you very much. > &

[Andromda-user] Null Pointer Exception while generating Code

2004-09-18 Thread Katta
teEngine.java:201) at org.andromda.core.cartridge.Cartridge.processWithTemplate(Cartridge.java:390) ... 68 more ERROR [AndroMDA:VALIDATION:ERROR] 1) org.andromda.metafacades.uml14.ClassifierFacadeLogicImpl[null]: Each classifier must have a non-empty name. INFO [AndroMDA] completed mo

[Andromda-user] Populating Seed Data into Database

2004-09-16 Thread Katta
Environment: (1) Andromda-303M SNAPSHOT (2) Hibernate (3) PostgreSQL (4) PrimaryKey is not setup on 'Entity' and it is automatically generated if not setup in Model. Question: How can we populate the database with some seed-data when we can not input the primary-key value (which is auto-generated)

Re: [Andromda-user] Setting up Datatype length & Foreign Keys

2004-09-15 Thread Katta
ike: > > > datatype.Email > VARCHAR(50) > > > in your SqlMappings file. You define your sql > mapping file using the > sqlMappingsUri namespace property. > > Walter > > Katta <[EMAIL PROTECTED]> wri

Re: [Andromda-user] Setting up Datatype length & Foreign Keys

2004-09-14 Thread Katta
OT. Thanks. --- Walter Mourão <[EMAIL PROTECTED]> wrote: > Hi Katta, comments below: > > Katta <[EMAIL PROTECTED]> writes: > >I have 2 questions: > > > >(1) Where can I set the datatype length (such as > >VARCHAR (30), etc) as I was just giving &#x

Re: [Andromda-user] Setting up Datatype length & Foreign Keys

2004-09-14 Thread Katta
Great. Thank you all for your replies. --- Walter Mourão <[EMAIL PROTECTED]> wrote: > Hi Katta, comments below: > > Katta <[EMAIL PROTECTED]> writes: > >I have 2 questions: > > > >(1) Where can I set the datatype length (such as > >VARCHAR (30),

[Andromda-user] Setting up Datatype length & Foreign Keys

2004-09-14 Thread Katta
I have 2 questions: (1) Where can I set the datatype length (such as VARCHAR (30), etc) as I was just giving 'String' as the datatype for any Attribute that I have added to the Entity? (2) How can I specify foreign-keys? For example, 'Account' should have a foreignkey pointing to 'Customer' prima

[Andromda-user] Error during 'generation' if I use 'Collection' datatype for any attribute

2004-09-12 Thread Katta
(1) I had 'Collection' as the datatype of few attributes on some 'Entity' (2) During the generation it displayed the following error: (3) Finally it shows that the build was successful though. [java] Sep 12, 2004 7:34:55 PM net.sf.hibernate.cfg.Configuration addFile [java] INFO: Mapping fi

Re: [Andromda-user] EntityFactory.create() doesn't seem to be working in Hibernate (Jboss)

2004-09-11 Thread Katta
Figured out. I realized that I need to use 'session.save' for the newly created object from Factory class. Thank you. --- Katta <[EMAIL PROTECTED]> wrote: > I feel that 'CustomerFactory.create()' doesn't seem > to > be working (I have Customer as Enti

[Andromda-user] EntityFactory.create() doesn't seem to be working in Hibernate (Jboss)

2004-09-11 Thread Katta
I feel that 'CustomerFactory.create()' doesn't seem to be working (I have Customer as Entity in model). Anything else, that I need to take care of? Thank you. --- Katta <[EMAIL PROTECTED]> wrote: > After removing and reinitialzing the db-commands, it > seems that

Re: [Andromda-user] java.sql.SQLException: Column not found: CLASS in statement

2004-09-11 Thread Katta
et me know what is wrong? Thank you. --- Katta <[EMAIL PROTECTED]> wrote: > Hi, > > (1) Installed andromda-bin-3.0M3-SNAPSHOT > (2) Built all 'samples' successfully > (3) Created a test app (hibernate) > (4) Had a test model and generated code

[Andromda-user] java.sql.SQLException: Column not found: CLASS in statement

2004-09-11 Thread Katta
Hi, (1) Installed andromda-bin-3.0M3-SNAPSHOT (2) Built all 'samples' successfully (3) Created a test app (hibernate) (4) Had a test model and generated code successfully (5) I have also executed 'initializeSchema.cmd' (JBoss is already running) (6) I changed couple of Impl.java files (Controller

[Andromda-user] Error while building temp app with andromda-bin-3.0M3-SNAPSHOT

2004-09-10 Thread Katta
Downloaded andromda-bin-3.0M3-SNAPSHOT. And when I tried to build the newly created temp app, it gives the following error: - C:\andromda-bin-3.0M3-SNAPSHOT\ant\katta5app>ant Buildfile: build.xml dist: mda: mda: [andromda] INFO [AndroMDA] [andromda] INFO [AndroMDA] A n d r o M D

RE: [Andromda-user] Error while building temp app with andromda-bin-3.0M3-SNAPSHOT

2004-09-10 Thread Katta
> generated Ant build > environment) > > > > > -Original Message- > > From: [EMAIL PROTECTED] > [mailto:andromda-user- > > [EMAIL PROTECTED] On Behalf Of Katta > > Sent: Friday, September 10, 2004 6:42 AM > > To: [EMAIL PROTECTED] > >

[Andromda-user] Where can I get list of StereoTypes and thier full description

2004-09-09 Thread Katta
I am looking for documentation on the list all StereoTypes and their usage, functionality and their clear role in code-generation. I browsed on andromda.org sites and couldn't find the right spot. Please help. Thanks. __ Do You Yahoo!? Tired of spa

[Andromda-user] Error while building temp app with andromda-bin-3.0M3-SNAPSHOT

2004-09-09 Thread Katta
(1) Installed: andromda-bin-3.0M3-SNAPSHOT. (2) Used 'Maven' to build all the samples successfully (3) Used 'ant' to create a new app (4) Used 'ant' to build the new app. (5) Got the following error: ...Duplicate 'compile' target in app/build.xml file (6) Removed duplicate 'compile' target from ejb

[Andromda-user] Can't see generated Java files for a simple Model

2004-09-08 Thread Katta
Hi, (1) I have C:\andromda-bin-3.0M2 installed, Ant 1.6.1 and JDK 1.4.2 installed. I was able to build sample apps. Also, I was able to create a new EJB application using Ant. (2) I have create a simple UML Model (attached as .zp file. Please rename that as '.zip' once downloaded. It was done beca

Re: [Andromda-user] How can I use MagicDraw's UML file in andromda?

2004-09-07 Thread Katta
ank you. --- Matthias Bohlen <[EMAIL PROTECTED]> wrote: > Hallo Katta, > > Monday, September 6, 2004, 7:58:05 PM, you wrote: > > K> I need help in feeding MagicDraw's XML file > output from model > K> into andromda for generating code. > K> > K>

Re: [Andromda-user] What UML diagrams to draw for generating EJBs,ValueObjects,DB-scripts,Deployment files,JSPs?

2004-09-07 Thread Katta
that. As I am in very quick need for this, any help and directions would be really really great. Sorry for bugging you experts. Your help is greatly appreciated. Thank you again. -Katta --- Chad Brandon <[EMAIL PROTECTED]> wrote: > > - Original Message - > Fro

Re: [Andromda-user] How can I see generated code for sample-car-rental app from andromda-bin?

2004-09-07 Thread Katta
I tried version 2.   Thank you for your help.Matthias Bohlen <[EMAIL PROTECTED]> wrote: Hallo Katta,Monday, September 6, 2004, 7:56:50 PM, you wrote:K> I downloaded andromda-bin and also downloaded car-rental-modelK> files and copied to andromda-bin directories and when I tried to doK

[Andromda-user] How can I use MagicDraw's UML file in andromda?

2004-09-06 Thread Katta
I need help in feeding MagicDraw's XML file output from model into andromda for generating code.   Please help me out.   Thank you very much. Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now.

[Andromda-user] What UML diagrams to draw for generating EJBs,ValueObjects,DB-scripts,Deployment files,JSPs?

2004-09-06 Thread Katta
Hi,   I need to have the code generated for all the below to have a complete application (basic version) which can be up and running in a snap. I heard that Andromda can do that for me. So, I need to generate the following code and anything else that is needed for my requirement. (a) EntityBeans,Se

[Andromda-user] How can I see generated code for sample-car-rental app from andromda-bin?

2004-09-06 Thread Katta
I downloaded andromda-bin and also downloaded car-rental-model files and copied to andromda-bin directories and when I tried to do a build, I am not able to see the generated java code files. What am I doing wrong?   I have read all the andromda-home pages and somehow still missing something. Pleas