model and generate both a rich
GUI and a web app.
Greg Holmberg
value.
Does anyone know why numeric sorting would be desirable
with Hibernate? That is, why does AndroMDA set BINARY as the default for
MySQL?
Thanks,
Greg Holmberg
When building with Maven, I’m getting “Forbidden”
when trying to download the AndroMDA jars for RC2-SNAPSHOT.
http://team.andromda.org/maven/andromda/distributions
also says “Access forbidden!”.
or just result in a “directory not found” exception.
Does anyone have any other ideas?
Thanks,
Greg Holmberg
the command-line
argument there. Find the entry for SchemaExport (about line 20), and
add this line:
--format is also a good one to add (makes the SQL easier to read):
Greg Holmberg
---
SF email is sponsored by - The IT Product Gui
Security, and
Hibernate 3, we will finally have a really nice stack for enterprise web apps.
And
of course, AndroMDA makes everything just so much easier.
Greg Holmberg
FYI, this must be changed in two places: core/project.xml and
app/project.xml.
If you only change it in core, then maven will still bundle the old
version into the .ear file.
Greg Holmberg
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:andromda-user-
> [EMAIL PROT
kage “java.util”, which generated:
public class
Foo extends java.util.TreeSet
Which I think will work with a JSP tag,
but isn’t quite as nice as “implements java.util.List”.
I think the JAVA-6 enhancement will allow
this.
Greg Holmberg
or just result in a “directory not found” exception.
Does anyone have any other ideas?
Thanks,
Greg Holmberg
How independent are the cartridges supposed to be?
I’m using the Spring and Hibernate cartridges, and
when I removed the WebService cartridge dependency from mda/project.xml, my
generated code stopped compiling. I discovered it wasn’t generating
code in target/src for ValueObjects anym
When I have an Entity Class with a Unique attribute of
type datatype.String with tagged value @andromda.persistence.column.length >
255, it causes AndroMDA/SchemaExport to generate this SQL for MySQL:
create table WHATEVER (
ID bigint not
null auto_increment,
NAME
VARCHAR(512) B
> > cannot resolve symbol
> > symbol : method valueOf (java.lang.Object)
> > location: class com.inxight.smartsearch.metadata.PropertyType
> >
> > statement.setObject(index,
java.lang.String.valueOf(String.valueOf(value)));
> >
> That's odd, the method does exist on 1.4.2:
> http://java.sun.com/j2
Here’s another regression I found today, which
generates uncompilable code.
I have an <> Class for
Hibernate. All the attributes are of type datatype.String, public,
frozen, classifier scope.
This generates two files:
one under common\target\src (xxx.java
generated by the Java car
I was up to date with RC1-SNAPSHOT on Friday, and when I
updated today, I now get generated code that doesn’t compile.
In my UML class diagram (MagicDrw 9), I have a
<> Class, “QueryService”, with a Usage
association to an <> Class, “Collection”.
This generates QueryServiceBase.java
How can I cause AndroMDA to generate a class that
implements an interface?
For example, I’ve tried having a <>
with a <>Abstraction to an Interface (Set, package
java.util), and the generated class didn’t implement the interface.
I’ve also tried a <> with
a Generalization of a class
I see that the Java cartridge can generate Services (operations,
no attributes) and ValueObjects (attributes, no operations), but how do I
generate a simple Java class with operations and attributes?
I’ve found that if I use no stereotype at all,
nothing gets generated.
Similarly, h
Title: Message
I also had that problem for a few days last
week, accessing from work. I was able to find http://thecla.homeftp.net, but not the 8380
port.
When I tried from home it worked (still
works). I figured it was something at work, not on the Jira end.
From: [EMAI
I have an <> class, Document, with this operation:
findEntitiesByDefinitions(
definitions : List ) : List
Visibility: public
Query: true
Scope: classifier
This generates this code:
public
java.util.List findEntitiesByDefinitions(final int transform, final
java.lang.String
In yesterday's build (3.0-RC1-20050304063126), I now get this exception
when building:
Main Exception .: Error performing
Cartridge.processTemplateWithModelElements
Root Exception .:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'isExceptionsPresent' in class
org.a
Chad--
Cool--it worked!
> No problemo. Actually the id is created by default if you don't have
one
> specified, it's an option that's on by default
"allowDefaultIdentifiers".
> It probably can't find the type because I'm assuming you don't have
> "datatype.Long" defined in your model do you (tha
cks.
It appears to be a problem with HibernateEntity.vsl, line 5. But I
can't find this file, so I'm not sure what the cause of the problem is,
or what I'm doing wrong.
Can anyone help me?
Thank you,
Greg Holmberg
Software Architect
Inxight Software, Inc.
Include below is the
21 matches
Mail list logo