yes, that sounds like the right approach... FYI, i am using
androMDA-3.0M1
On Jun 14, 2004, at 7:23 PM, Chad Brandon wrote:
Ah ...you're right Sherman the "sqlMappingsUri " mappings doesn't
control
that type valueI guess I shouild have read the message better
before
responding! Sorry abo
Hey Wouter,
Did you mean an incoming transition (when you said outgoing below)?
I have currently adding an incoming transition to the FrontEndView
called Display User List. I had not given any name to it based on the
example from the animal quiz which is the transition from "prompt the
user" to "
Yes, it does answer my question. Thanks!
Sunondo
-Original Message-
From: Chad Brandon
[mailto:[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 6:16
PM
To: Sunondo Ghosh;
[EMAIL PROTECTED]
Subject: Re: [Andromda-user] Added
controller method is not generated
I'm not su
Hey Wouter,
I just answered Sunodo's question, and I was
looking at your Controller implementation and it made me wonder: shouldn't
your Controller.getInstance() method return an instance of the
ControllerInterface (instead of the actual implementation) since you want to
hide any methods
I'm not sure what the steps are: I'll leave that to
Wouter (since its his cartridge). But about the method, yes you'll need to
add it manually to the controller implementation class (after the first
generation). If you'll notice, the controller implements an interface
(this is generated ea
It is the implementation class for the controller
with the stereotype. So if I add a method to that
and want to link up that method to a new action state in the activity graph, what
are the steps? I add the method to the FrontEndController, link that method to the
action state and then ma
Hi Sunondo,
Is it the controller implementation class? If
so, the controller impl is only generated once (since you have manual code
in there) and therefore any new methods you add to the model (after the
first time you generate) you'll need to manually add.
Chad
- Original Mess
I added a new method to my controller and re-generated the
code. The new method is not showing up in my controller and as a result I am
getting compilation errors. What do I need to do to generate the new method?
Thanks,
Sunondo
Hi Bernard,
See below for my comments:
- Original Message -
From:
Bernard Sirius
To: [EMAIL PROTECTED]
Sent: Monday, June 14, 2004 3:15 PM
Subject: [Andromda-user] broken
andromda:genapp
Hi,
My project's currently broken. I must admit I've
hacked a
Ah ...you're right Sherman the "sqlMappingsUri " mappings doesn't control
that type valueI guess I shouild have read the message better before
responding! Sorry about that. Nayan, ignore that response :). However I
guess the hibernate cartridge should really have another mappings file of
its
Chad,
The issue that Nayan is running into is that when AndroMDA is generating the
Hibernate classes, it is generating incorrect Hibernate XDoclet tags for
blobs in the Java source.
This it is looking like:
/**
* @hibernate.property
* column="Content" type="byte[]"
*/
This shou
Hi Nayan,
It looks like a bug somewhere in the hibernate cartridge...what version of
AndroMDA are you using?
Thanks,
Chad
- Original Message -
From: "Nayan Hajratwala" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 14, 2004 3:20 PM
Subject: Re: [Andromda-user] Postgres
Hi again !
It was something completely different :-) , the
commons-beanutils-1.6.1.jar was missing in the .war-file.
After copying it manually into the extracted app folder in Tomcat and
reloading the app it went fine.
Here's the respective part from the Tomcat-.log-file if thats important
for y
Hi Jose,
Are you saying that datatype.String is always generating java.lang.String
instead of translating it into VARCHAR (or some other SQL type mapping) for
database types?
Chad
- Original Message -
From: "Jose Carlos" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
S
- Original Message -
From: "Nayan Hajratwala" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 14, 2004 3:26 PM
Subject: [Andromda-user] hibernate table prefix
> Hello gang,
>
> It seems that by default, tables created with the hibernate cartridge have
a
> prefix of "HIB_"
Hi Nayan,
No you shouldn't do thatyou should use the postgres mappings to map the
datatype.Blob to your postgres type. Are you setting the sqlTypeMappingsUri
property? (i.e.
PostgreSQL)? The
'logical.' prefix is used when you have the mappings file stored in the
maven plugin and you want to
Chad,
I am working with the Ant in my project and task of andromda does not load the
TypeMappings when in execution, generating information missed for the XDoclet. Where
one datatype.String always is translated into java.lang.String.
since the "byte[]" is generated by androMDA, is your suggestion to
change the JavaMappings.xml from
datatype.Blob
byte[]
to
datatype.Blob
binary
??
This does not seem like the right path to go down
thanks Sunondo!
I can already give you a tip for displaying a list of users:
1. on the action state representing the page you must have an
outgoing transition
2. add a trigger to this transition and give it a good name
3. add a parameter (or more) to this trigger, let's say "users" which
no it is a design choice, we should be able to treat any possible return value
(java.lang.Object) but we need to compare it with a String value (the guard value
modeled in UML)
so I decided to do a String.valueOf(Object) and compare it with the guard value
not only java.lang.Object descendant
hi Torsten,
try exploding your WAR bundle in JBoss, my guess is you're using Windows
and the operating system cannot resolve paths longer than 255 characters
exploding the war will make it easier to resolve file paths because you
will make them shorter
just a guess but try it and let me know
Wou
there is a maven Ant goal .. did you try it ? it will generate build.xml files from
your project descriptors
the result is a little naive but might give a base to work from
in a multiproject environment you could try this:
maven -Dgoal=ant multiproject:goal
just an idea
-- Wouter
Franço
hi Torsten,
my comments are below:
>Hi,
>
>I modeled a small simple Login-Component and got 2 questions regarding that.
>It has a decision point to decide where to go in case of sucess (to the
>next use-case) and
>in case of failure (back to login).
>
>1. The transition going to the decision poi
hi Bernard,
I only saw you email by accident, strangely enough I did not receive it on my regular
account that I frequently check..weird
anyway, project.properties should be in the root of your project, not in userprofile,
project properties is specific to a project (as the name suggests)
abou
Hi,
I modeled a small simple Login-Component and got 2 questions regarding that.
It has a decision point to decide where to go in case of sucess (to the
next use-case) and
in case of failure (back to login).
1. The transition going to the decision point has a call-event which
calls the loginUser
type="byte[]"
is wrong for Hibernate.
In general in Hibernate, you would use:
type="blob"
However, the support for Blobs is patchy in the Postgres JDBC driver, and
the Hibernate Postgres mapping uses BYTEA underneath, not java.sql.Blob.
Make it a type="binary", which will map to a byte[] in J
Hello gang,
It seems that by default, tables created with the hibernate cartridge have a
prefix of "HIB_". Is there any good way of changing this?
I saw that it was specified in the HibernateEntity.vsl file, but is there a
way to override the values found within?
FYI... the reason for this is
OK, i have created a PostgreSQLMappings.xml file and attached it to this
email. I pulled the datatype information from the PostgreSQL website.
I still have one problem however. As you recall, I am trying to store a
"datatype.Blob". My hibernate mapping file shows up as:
...
Hi,
My project's currently broken. I must admit I've
hacked a bit everywhere as a genuine newbie, so I wanted to re-create a new
project from scratch. But even that is now broken:
BUILD FAILEDFile.. file:/C:/Documents and
Settings/Candide
Kemmler/.maven/plugins/maven-andromda-plugin-
Great to hear! You're welcome :)
--- Sunondo Ghosh <[EMAIL PROTECTED]> wrote:
> Thank you, that worked. I now have a working example
> where I can create
> a new user using the generated code. Thanks to you
> and Wouter for all
> your help. This is really cool stuff!
>
> Now I will try to add mo
Thank you, that worked. I now have a working example where I can create
a new user using the generated code. Thanks to you and Wouter for all
your help. This is really cool stuff!
Now I will try to add more action states to the activity diagram. I need
to display the list of users created by the p
Thanks for that quick info it helped :-) ,
although its not explicitley said in the Howto its important to give
every model-construct a good and clear
name ! I dont know which one it was but after I named eveything the
generation went fine. And for the
MagicDraw-Users, its important to name the e
Hi Nayan,
If you create the PostgreSQLMappings.xml mappings
file, I'll commit it (and it will be available to the
maven plugin).
Thanks,
Chad
--- Nayan Hajratwala <[EMAIL PROTECTED]> wrote:
> Hello folks,
>
> I've searched the archives and been unable to see
> this problem addressed
> anywher
Hello folks,
I've searched the archives and been unable to see this problem addressed
anywhere... I'm pretty new to AndroMDA, so would appreciate any help.
I'm using Hibernate & PostgreSQL.
I have a class modeled that has an attribute with a Blob datatype (defined as
a UML datatype).
AndroMD
Hi Wouter,
I double checked everything and now it works fine!.
Thanks again.
Stefan
|+>
|| [EMAIL PROTECTED]|
|| tscape.net|
|||
|| 14.06.2004|
|| 16:4
Hello,
I want to use ANT rather than MAVEN for andromda 3.0. The reason is
that my current project uses ANT and I want to call the andromda targets
to build the cartridges directly from my project. Right now, I have
done this by making my own build.xml under the cartridges and calling my
cust
yeah that's annoying in MagicDraw (you're using MagicDraw, right ?)
you need to set both the name and the condition in a guard, bpm4struts is taking the
conditionif I am not mistaken (I don't really remember and cannot check from here)
can you make sure all of that is okay ? just take a look at
Hello,
I'm still trying to get my bpm4struts (andromda 3.0m1) sample working (the
basic functionality allready works quite well...) and now I'm running in a
problem with guard outcomes.
I'm not sure if this issue was allready discussed here (please forgive me
in that case...), but I haven't found
Hi Sundondo,
This is probably because your HSSQL ds.xml file needs
to have the following things uncommented:
and:
So uncomment those things and it should work.
Chad
--- Sunondo Ghosh <[EMAIL PROTECTED]> wrote:
> Hi Chad,
>
> I have a question about creating the tables used in
>
Hi Stefan, sounds good, I'll integrate a new build into AndroMDA. Thanks!
Chad
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 14, 2004 2:42 AM
Subject: [Andromda-user] NetBeans MDR error messages
> Hi,
>
> due to the problems we had with ARIS
> Well not HypersonicQL ...HibernateQL...not sure what HypersonicQL is? :)
>
yeah sorry about that, a typo :-)
---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
on
41 matches
Mail list logo