||hmm.. very nice idea! never actually considered that
||
||I'll think I'm gonna refactor .. have to think about it a little bit
||first, but yeah, this is nice
||
||thanks!
[Ciesielski] Glad that I could help with some small issue - you've helped
many people with some big ones ;-)
---
Wojciech Ciesielski wrote:
||> "Funny" idea... What about something like this:
||>
||> User <-- User2Role --> Role
||> |
||> |
||> |
||> V
||> User <--- User2Office ---> Office
||>
||>
||> User.primaryOffice -
||> "Funny" idea... What about something like this:
||>
||> User <-- User2Role --> Role
||> |
||> |
||> |
||> V
||> User <--- User2Office ---> Office
||>
||>
||> User.primaryOffice --> User2Role
||>
||>
Wojciech Ciesielski wrote:
||except for the fact that the latter office /must/ be present in the
||other relationships as well
||
||(the primary office must be an office where the user has a role)
||
||that's indeed what I'm doing now .. I guess it's the nicest way to
||currently do it
[Ciesiels
||except for the fact that the latter office /must/ be present in the
||other relationships as well
||
||(the primary office must be an office where the user has a role)
||
||that's indeed what I'm doing now .. I guess it's the nicest way to
||currently do it
[Ciesielski]
"Funny" idea... What ab
Wojciech Ciesielski wrote:
||conceptually you are correct, but technically it's hard to maintain
||these relationships, for example, which of all offices is the 'primary'
||one ?
[Ciesielski]
I would add isPrimary:boolean to User2OfficeAssignment with constraint to
enforce only one primary per
||conceptually you are correct, but technically it's hard to maintain
||these relationships, for example, which of all offices is the 'primary'
||one ?
[Ciesielski]
I would add isPrimary:boolean to User2OfficeAssignment with constraint to
enforce only one primary per user. Or - completely 'object'
Wojciech Ciesielski wrote:
||it's a little bit different:
||
||between user and office there's no many2many
[Ciesielski]
How come? You said that user may have different roles in different offices -
therefore user may be associated to more than one office. And I suppose that
office may have more
||it's a little bit different:
||
||between user and office there's no many2many
[Ciesielski]
How come? You said that user may have different roles in different offices -
therefore user may be associated to more than one office. And I suppose that
office may have more than one user ;-) - so ... ?
Wojciech Ciesielski wrote:
||I hope I make sense here, .. I think association classes are extremely
||well suited in this case (just need to draw an association from this
||association class to 'regional office' and we're done), but I don't see an
||equally well-designed alternative without using
||I hope I make sense here, .. I think association classes are extremely
||well suited in this case (just need to draw an association from this
||association class to 'regional office' and we're done), but I don't see an
||equally well-designed alternative without using such class
[Ciesielski] You
Thanks, that is what I was looking for! Why this attribute
(hibernate.cascade) is not listed at
http://www.andromda.org/andromda-hibernate-cartridge/modeling.html page ??
---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategi
Please post your questions to the forum in the future:
http://forum.andromda.org.As to the status, a user provided us a
patch a while back for the support, we're applying it right now.
Nayan Hajratwala wrote:
Folks,
Just wondering what the status of Hibernate 3 support is ... I saw a few
pos
Nayan Hajratwala wrote:
Thanks for the update ... If the user list is no longer being used, the
subscribe link should probably be removed from the website.
It is being used, it's just the forum is preferred (it's posted to the
user list).
Thanks for a great product!
Glad you like it! :)
On
Thanks for the update ... If the user list is no longer being used, the
subscribe link should probably be removed from the website.
Thanks for a great product!
On 5/20/05 4:22 PM, "Chad Brandon" <[EMAIL PROTECTED]> wrote:
> Please post your questions to the forum in the future:
> http://forum.a
ent by: [EMAIL PROTECTED]
05/05/2005 10:22
Please respond to andromda-user
To: Javier Adorno/PY/GTS/[EMAIL PROTECTED]
cc: "'Andromda User'"
Subject: Re: [Andromda-user] [Hibernate Catridge] Roles + Interfases
Thanks Javior..
Adorno/PY/GTS/[EMAIL PROTECTED]
cc:andromda-user@lists.sourceforge.net
Subject: Re: [Andromda-user] [Hibernate Catridge] Roles
+ Interfases
Hi Javier,
Can you send me your model that causes this rolesissue so I duplicate
and fix?
Thanks,
Chad
[EMAIL PROTECTED] wro
Thanks Carlos, I've allready changed the VSL.
Javier Adorno
Advisory
PricewaterhouseCoopers
Asunción - Paraguay
Phone : (595) 21 445 003 Ext. 1782
Fax : (595) 21 445 003 Ext 1206
Mobile: (595) 961 611213
_The information transmitted
Hi Javier,
the second bug is already fixed on CVS, you should try the lasted
version or if you prefer, you could just change that template
Carlos
[EMAIL PROTECTED] wrote:
It think that I've found 2 bugs in
ejb-jar.xml.vsl for the Hibernate Catridge that come to the ligth when
assigning Ro
Indeed, sorry for the dummy question.
Thanks!!
Javier
_The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransm
It sounds like you need that jar with your remote client as well then.
[EMAIL PROTECTED] wrote:
I'm developing a remote client and I want to use the hibernate POJOs
as domain Value Objects.
If my hibernate POJO does NOT contain another object (i.e. a
Collection or an Object of a related Class) it
Tim Dysinger wrote:
What I mean by "useless" may be too harsh. It's just not usable - you
always get the Hibernate session error if call the getter on some
relationship that was marked lazy.
I know from past projects with Hibernate that I always mark things lazy
whenever possible. But... I pro
What I mean by "useless" may be too harsh. It's just not usable - you
always get the Hibernate session error if call the getter on some
relationship that was marked lazy.
I know from past projects with Hibernate that I always mark things lazy
whenever possible. But... I provide an alternate me
Tim Dysinger wrote:
By default associations are lazy, but the DAOs do not expose the
hibernate session so they are useless. Am I right? I have always had
to set lazy to false if I wanted the relationship to actually mean
anything in the Java code.
Not sure what you mean by useless here...what'
Lars Ködderitzsch wrote:
Hi all,
I am trying to generalize a service with the hibernate cartridge.
By principle it seems to work, the only problem is that the Home
interface of the sub-service extends from the base class Home
interface. This leads to a clash with the create-Method of sub-service
someone filed a patch against RC1 a couple weeks back, we asked whether it
was possible to patch against the new RC2 (released today), but we haven't
heard since (so we did not do anything)
we will move soon though, the new hibernate version has too many
improvements, probably AndroMDA 3.0.1 will
Hi Régine,
Thursday, April 21, 2005, 12:24:02 PM, you wrote:
R> After building a project using AndroMDA, hibernate & java
R> cartridges, Maven and importing it into java. Do I need hibernate
R> ti be install inorder to use it or the dependencies in the cor and
R> app project.xml files are enough
Christian Seiler wrote:
Hello,
I noticed that with my current Andromda version (a RC1-snapshot from
March)
the foreign key in the many-to-one relationship is always
not-null="false",
even if I specify the multiplicity of the association end as "1".
This used to work some time ago (I noticed because
Greg Holmberg wrote:
I’m using MySQL, and I see that Strings get mapped to VARCHAR BINARY.
Reading the MySQL docs, I see that normally VARCHAR sorts and compares
by the collation of the character set assigned to the column (in my
case, UTF-8). With BINARY, it sorts numerically based on the bytes
Eddie Hsiung wrote:
hi list,
i'm wondering how i can change the default cascade generated by the
hibernate cartridge to "all." right now i'm always getting "none" and
don't see any tag that has anything to do with the cascade setting.
thanks a lot
these kinds of things (configurations on a global l
Am 9 Apr 2005 um 14:40 hat [EMAIL PROTECTED] geschrieben:
> Am 8 Apr 2005 um 16:36 hat Chad Brandon geschrieben:
>
> > [EMAIL PROTECTED] wrote:
> >
> > > Hi list,
> > >
> > > I have unfortunately no experience with spring and hibernate.
> > >
> > > Trying to lazy access to the roles of an user
Am 8 Apr 2005 um 16:36 hat Chad Brandon geschrieben:
> [EMAIL PROTECTED] wrote:
>
> > Hi list,
> >
> > I have unfortunately no experience with spring and hibernate.
> >
> > Trying to lazy access to the roles of an user causes the following
> > exception:
> >
> > net.sf.hibernate.LazyInitializati
[EMAIL PROTECTED] wrote:
Hi list,
I have unfortunately no experience with spring and hibernate.
Trying to lazy access to the roles of an user causes the following
exception:
net.sf.hibernate.LazyInitializationException: Failed to lazily
initialize a collection - no session or session was closed
Just specify the multiplicity as 0..1
[EMAIL PROTECTED] wrote:
Hello everyone,
does anyone know how to model nullable attributes on Spring-Entities?
Thanks in advance,
Stefan
---
SF email is sponsored by - The IT Product Guide
Read honest & candi
Chad Brandon wrote:
Greg Holmberg wrote:
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_increm
Greg Holmberg wrote:
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(51
Greg Holmberg wrote:
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/
> > 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
Greg Holmberg wrote:
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 J
/Sverker
- Original Message -
From: "Sverker Abrahamsson" <[EMAIL PROTECTED]>
To: ;
<[EMAIL PROTECTED]>
Sent: Sunday, March 13, 2005 3:13 AM
Subject: Re: [Andromda-user] Hibernate Cartridge doesn't generate Enitites
Hi Stefan
did you find any solution? I am faci
Hi Stefan
did you find any solution? I am facing the same issue, I was using
3.0M3-SNAPSHOT from early december which worked fine but now I updated to
3.0 RC1 and got the same problem you see. I then went back to 3.0M3 but the
problem remain.
I did some tests, the hibernate cartidge generate cl
Brandon
> Sent: Saturday, March 12, 2005 6:25 PM
> To: [EMAIL PROTECTED]; andromda-user@lists.sourceforge.net
> Subject: RE: [Andromda-user] Hibernate cartridge & resource refs
>
> We can add some merge points to the descriptors for you (there aren't any
> currently in there),
We can add some merge points to the descriptors for you (there aren't any
currently in there), and then you can use the mergeLocationUri to merge in
additional stuff.
http://team.andromda.org/docs/andromda-cartridges/index.html#mergeMappingsUr
i
Can you open a jira request to add these merge point
I guess we could add that. Why don't you file a JIRA request for the
hibernate project. http://jira.andromda.org
Chad.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, March 10, 2005 8:44 AM
To: andromda-user@lists.source
Message-
From: Matthias Küspert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 09, 2005 2:08 PM
To: Chad Brandon
Cc: andromda-user
Subject: RE: [Andromda-user] Hibernate cartridge: one-to-one relationship
Hey Chad,
so just to be shure: the two entities do have different
PrimaryKey's/ID'
ically it comes down to be able to define where the foreign key goes.
>
> Chad
>
> -Original Message-
> From: Matthias Küspert [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 09, 2005 12:24 PM
> To: Chad Brandon
> Subject: RE: [Andromda-user] Hibernate cartridge: one
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthias
Küspert
Sent: Wednesday, March 09, 2005 11:53 AM
To: andromda-user
Subject: [Andromda-user] Hibernate cartridge: one-to-one relationship
Hi guys,
and another question (hopefully the last one today
[CB] You need to let andromda know the location to look when finding the
shared modules, search for "moduleSearchPath" on this page:
http://team.andromda.org/docs/maven-andromda-plugin/properties.html
[F] That's what I did.
removing the "shared" project xml.zip file from the mda/uml/src from th
Chad Brandon wrote:
Hi Fabrice,
Do you use Magic Draw? If so you could treat your shared model as a
"module" the way that the andromda-profile is handled (that is your model
can be referenced as a read-only model from within other models, so someone
using your shared model doesn't need to worry ab
-Original Message-
From: skabeat [mailto:[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 8:08 AM
To: Chad Brandon
Cc: 'andromda-user'
Subject: Re: [Andromda-user] [hibernate-cartridge] feedback, packaging,
etc...
Thank Chad for the tip, I think that I finally will manage to
Thank Chad for the tip, I think that I finally will manage to build the
multi-users devel env that I need.
Anyway, I have two more questions :
1. I did a very simple diagram with 2 classes and 1 service using the
hibernate-cartridge. With MD I put the package as "shared".
In my second model with
you can simply make a "maven mda" in the project top-level directory and
it will generates files in the appropriates places, ie core/src/java,
core/target/src, etc...
Be sure to read this nice step_by_step documentation :
http://team.andromda.org/docs/starting.html#Step-by-step
Rahn wrote:
Hi,
Hi Fabrice,
Do you use Magic Draw? If so you could treat your shared model as a
"module" the way that the andromda-profile is handled (that is your model
can be referenced as a read-only model from within other models, so someone
using your shared model doesn't need to worry about updates). You
Hi,
currently you can create HSQL queries with OCL in the model (through
finder methods), if you want to create native sql's, you can model the
methods with no finder stereotype and then use the createSqlQuery
within it.
Carlos
[EMAIL PROTECTED] wrote:
Can I use the Hibernate Cartridge to
On Monday 28 February 2005 16.51, Chad Brandon wrote:
> As I understood, component mapping is not supported by AndroMDA for the
> moment. It would be quite usefull for the project we are working on ...
> That might become our contribution to AndroMDA.
>
> [CB] We definitely would welcome the cont
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Guillaume
Lederrey
Sent: Monday, February 28, 2005 8:30 AM
To: andromda-user@lists.sourceforge.net
Subject: [Andromda-user] Hibernate component mapping
One more question :
As I understood, component ma
If you generated a project using the RC1-SNAPSHOT version everything should
work just fine. Adding the hibernate section in /mda/project.xml is only
needed for existing project wanting to use the latest Spring build.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:andromda-user-
> [
Yes it should be automatically there if you use the andromdapp plugin...you
must have an old one installed.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bernard
Sirius
Sent: Sunday, February 27, 2005 11:18 AM
To: andromda-user@lists.sourceforge.net
Subj
But this is exactly what is generated, what is the problem ? How would you
like the code to be generated ?
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:andromda-user-
> [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: Saturday, February 19, 2005 11:00 AM
> To: andromda-us
OK, well... it seems to be fixed.
Chad asked me to send him my project, which, to save
our precious trade secrets, I couldn't reasonably
afford to do. So I decided to make a new test project
from scratch... and it worked!
I've then replaced the mock model by the genuine,
original one... and it wo
Can you send me your entire project, with the test you're trying to run?
I'd like to try it out.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bernard
Sirius
Sent: Tuesday, February 15, 2005 3:21 PM
To: andromda-user@lists.sourceforge.net
Subject: [Andro
Well, the fact is that you are mixing everything :-)
properties in andromda-cartridge.xml will be accesible from the velocity
templates.
properties in andromda-metafacades.xml will be accesible from the java
sources of the cartridge.
tagged values within andromda-profile will be accesible throug
Hi,
You are probably right, I thought this name shouldn't be the same... But
with more reflection the index name is not very repesentatif.
Yes I'm trying to access the tagged value with findTaggedValue, but it's
always null.
I'd like know if I all steps in my precedent mail are ok or if there're
Hi Pierre,
first I recommend you to not use a tagged value for this, but a
namespace property, since this name should be the same for all the
tables, as we are doing for the hibernate "version" field,
on the other hand, you are you trying to access the tagged value?
Carlos
Pierre-Yves ROGER wrot
; andromda-user@lists.sourceforge.net
Subject: RE: [Andromda-user] Hibernate cascade problem
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthias
Bohlen
Sent: Friday, February 11, 2005 4:25 PM
To: andromda-user@lists.sourceforge.net
Subject: [Andromda-user] Hi
Hi,
I'm doing it. But I've got a question :
I need a new tagged value (for the column name of the index) ,
I added my new tagged value in :
org.andromda.cartridges.hibernate.HibernateProfile.java
and in : andromda-profile.xml
I also added a property reference in andrometa-metafacades.xml to get
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthias
Bohlen
Sent: Friday, February 11, 2005 4:25 PM
To: andromda-user@lists.sourceforge.net
Subject: [Andromda-user] Hibernate cascade problem
Hi all,
in my model, there are two classes named "User" and
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wouter Zoons
Sent: Friday, February 11, 2005 4:49 PM
To: 'Matthias Bohlen'; andromda-user@lists.sourceforge.net
Subject: RE: [Andromda-user] Hibernate cascade problem
I had weird issues too with
I had weird issues too with this save-update thing .. per Chad's
recommendation I am now using cascade="none" and it works perfectly now, but
I guess nothing is cascade-deleted now :-)
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:andromda-user-
> [EMAIL PROTECTED] On Behalf Of Ma
Yeah we need an OCL constraint that checks the type, can you file a JIRA
issue Jan for this?
-Original Message-
From: Jan Heise [mailto:[EMAIL PROTECTED]
Sent: Friday, February 11, 2005 8:11 AM
To: Chad Brandon
Cc: [EMAIL PROTECTED]; 'Andromda User'
Subject: Re: [Andromda-user]
That was the problem. I chose the wrong type. My mistake. Now it works.
The small details...
Thx.
Jan
Am 11.02.2005 um 15:08 schrieb Chad Brandon:
Sounds like your text type isn't of UML DataType.
---
SF email is sponsored by - The IT Product Gui
Hi,
there is already a request for this at
"http://thecla.homeftp.net:8380/jira/browse/HIB-20";, but is was not done yet
please fell free to submit a patch for this and we could apply.
Thanks
Carlos
Chad Brandon wrote:
Yes, it's possible please submit a JIRA request.
-Original Message-
Fr
Yes, it's possible please submit a JIRA request.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pierre-Yves
ROGER
Sent: Friday, February 11, 2005 3:41 AM
To: andromda-user@lists.sourceforge.net
Subject: [Andromda-user] Hibernate cartridge and ordered coll
Sounds like your text type isn't of UML DataType.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jan Heise
Sent: Friday, February 11, 2005 4:27 AM
To: [EMAIL PROTECTED]
Cc: 'Andromda User'
Subject: Re: [Andromda-user] hibernate/new type
This is the part from the .hbm.xml. I think that sql-type="TEXT" tells
me, that my
changes work partially.
Am 11.02.2005 um 11:58 schrieb Wouter Zoons:
looks like your using hibernate on your project, did you also update
the
corresponding hibernate mapping file ?
Hi Wouter,
to be more specific: I use the Spring-Cartridge.
I changed the following files:
JdbcMappings.xml
JavaMappings.xml
PostgreSQLMappings.xml
I changed project.xml to pick up the changed files. (I verified this)
I added the following to PostgreSQLMappings.xml
datatype.Text
looks like your using hibernate on your project, did you also update the
corresponding hibernate mapping file ?
can you file an issue in jira for a better error message if this solves
the problem ?
thanks
-- Wouter
> Hi,
>
> I introduced a new datatype, datatype.Text , into my model.
> I changed
ch is bad
in my opinion).
Chad
-Original Message-
From: Bernard Sirius [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 10, 2005 2:43 PM
To: Chad Brandon
Subject: RE: [Andromda-user] hibernate queries don't work anymore
yep. works! Had never specified packages before.
Apparent
I guess you did show me one :) Does AccessRights have a package?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bernard
Sirius
Sent: Thursday, February 10, 2005 2:12 PM
To: andromda-user@lists.sourceforge.net
Subject: [Andromda-user] hibernate queries do
Can I see one of your queries (all queries here work fine for me and lots of
other people using the cartridge).
Chad
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bernard
Sirius
Sent: Thursday, February 10, 2005 2:12 PM
To: andromda-user@lists.sourcefor
. Thanks again and I hope to get
this resolved soon.
-Kiran
-Original Message-
From: Chad Brandon [mailto:[EMAIL PROTECTED]
Sent: Sat 2/5/2005 9:03 AM
To: 'Matthias Bohlen'
Cc: Kiran Keshav; andromda-user@lists.sourceforge.net
Subject: RE: [Andromda-user] Hibernate with
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthias
Bohlen
Sent: Saturday, February 05, 2005 4:40 AM
To: Matthias Bohlen
Cc: Kiran Keshav; andromda-user@lists.sourceforge.net
Subject: Re: [Andromda-user] Hibernate with no output
Hello Kiran
Hello Kiran,
Thursday, February 3, 2005, 11:45:09 PM, you wrote:
KK>> Sorry for the hasstle, Matthias but I have looked at your September thread
KK>> regarding the Hibernate cartidge and I am wondering if you were able to
just
KK>> take an existing .xmi file (from Poseidon or the like) and run a
Nevermind :) I fixed it :) Gabriela Chiribau <[EMAIL PROTECTED]> wrote:
Did anyone get the "Hibernate not bound" error ?
javax.naming.NameNotFoundException: hibernate not bound
I have the HibernateUtils and the latest code to retrieve the Hibernate session... why the session doesn't get bound in
On Wed, 2005-01-26 at 14:22, Chad Brandon wrote:
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Martin West
> Sent: Wednesday, January 26, 2005 1:40 AM
> To: Gabriela Chiribau
> Cc: andromda_users
> Subject: Re: [Andromda-us
I noticed that the hbm files and database update scripts weren't created corectly. I have looked at the hibernate source and there they are just doing an "unprotected" getEntity(entityname).getIdType, assuming that the entity is loaded. As I was getting "entity not mapped" class all over the place
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin West
Sent: Wednesday, January 26, 2005 1:40 AM
To: Gabriela Chiribau
Cc: andromda_users
Subject: Re: [Andromda-user] Hibernate mapping error
Looks like a bug , can you please jira
[CB] If it
Looks like a bug , can you please jira
On Tue, 2005-01-25 at 22:35, Gabriela Chiribau wrote:
> I think I am starting to figure it out:
> here is the test case:
>
> A
> ^
> |
> B--C
>
> That is B is a subclass of A and is associated with C. When A has the
> inheritance strategy "class" only th
Can you send me your model.
Thanks
On Tue, 2005-01-25 at 23:03, Gabriela Chiribau wrote:
> I got over the mapping errors now I get something I don't know where
> to search for...
>
> mayTest(my.class.Name)java.lang.NullPointerException
>
> at
> net.sf.hibernate.cfg.Configuration$1.getIdentifierT
I got over the mapping errors now I get something I don't know where to search for...
mayTest(my.class.Name)java.lang.NullPointerException
at net.sf.hibernate.cfg.Configuration$1.getIdentifierType(Configuration.java:112)
at net.sf.hibernate.type.ManyToOneType.getReferencedType(ManyToOneType.java:2
I think I am starting to figure it out:
here is the test case:
A
^
|
B--C
That is B is a subclass of A and is associated with C. When A has the inheritance strategy "class" only the Impl.hbm.xml is created. When I changed it to concrete then the .hbm.xml was created and the error dissapeared.
ok, thanks, I'll try it.
Cheers
Bruno
PD: ¿Eres español?
Carlos Cuenca dijo lo siguiente el 24/01/2005 2:50:
Hi Bruno,
I had just upload a fix for this, please give it a try and send any
feedback is something is missing.
regards
Carlos
Bruno Suárez Laffargue wrote:
ok.
I'll do it.
Cheers
Bruno
Ch
Hi Bruno,
I had just upload a fix for this, please give it a try and send any
feedback is something is missing.
regards
Carlos
Bruno Suárez Laffargue wrote:
ok.
I'll do it.
Cheers
Bruno
Chad Brandon dijo lo siguiente el 23/01/2005 22:26:
Yeah that would be great (if you
ok.
I'll do it.
Cheers
Bruno
Chad Brandon dijo lo siguiente el 23/01/2005 22:26:
Yeah that would be great (if you could submit a patch).
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Bruno Suárez
Laffargue
Sent: Sunday, January 23, 2005 2:24 P
Yeah that would be great (if you could submit a patch).
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bruno Suárez
Laffargue
Sent: Sunday, January 23, 2005 2:24 PM
To: Andromda-user@lists.sourceforge.net
Subject: [Andromda-user] hibernate version?
Hi,
Not unless hibernate 3.0 is final before that.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chan, Eddie
Sent: Friday, January 21, 2005 8:40 AM
To: 'andromda-user@lists.sourceforge.net'
Subject: [Andromda-user] Hibernate 3 support?
Hi,
I don't think so, but it is possible to create a template to do that.
---
Walter Itamar Mourão - Diretor de Tecnologia e Projetos - Arcadian S/A
www.arcadian.com.br
"Luciana Nunes Leal" <[EMAIL PROTECTED]> writes:
>Hi,
>
>
You could either modify the cartridge and jar it back up, or override the
template to include your timestamp columns:
http://www.andromda.org/andromda-cartridges/index.html#mergeLocation
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan McGowan
Sent: Tu
-Ursprungligt meddelande-
FrÃn: Chad Brandon [mailto:[EMAIL PROTECTED]
Skickat: ti 2004-12-21 14:56
Till: 'Matthias Bohlen'; Mikael Thorman
Kopia: andromda-user@lists.sourceforge.net
Ãmne: RE: [Andromda-user]
:55 AM
Cc:
andromda-user@lists.sourceforge.net
Subject: RE: [Andromda-user]
Hibernate serialization error
1 - 100 of 176 matches
Mail list logo