RE: [Andromda-user] [Hibernate cartridge] [Many2Many association with link parameters]

2005-06-17 Thread Wojciech Ciesielski
||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 ;-) ---

Re: [Andromda-user] [Hibernate cartridge] [Many2Many association with link parameters]

2005-06-17 Thread Wouter Zoons
Wojciech Ciesielski wrote: ||> "Funny" idea... What about something like this: ||> ||> User <-- User2Role --> Role ||> | ||> | ||> | ||> V ||> User <--- User2Office ---> Office ||> ||> ||> User.primaryOffice -

RE: [Andromda-user] [Hibernate cartridge] [Many2Many association with link parameters]

2005-06-17 Thread Wojciech Ciesielski
||> "Funny" idea... What about something like this: ||> ||> User <-- User2Role --> Role ||> | ||> | ||> | ||> V ||> User <--- User2Office ---> Office ||> ||> ||> User.primaryOffice --> User2Role ||> ||>

Re: [Andromda-user] [Hibernate cartridge] [Many2Many association with link parameters]

2005-06-17 Thread Wouter Zoons
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

RE: [Andromda-user] [Hibernate cartridge] [Many2Many association with link parameters]

2005-06-17 Thread Wojciech Ciesielski
||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

Re: [Andromda-user] [Hibernate cartridge] [Many2Many association with link parameters]

2005-06-17 Thread Wouter Zoons
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

RE: [Andromda-user] [Hibernate cartridge] [Many2Many association with link parameters]

2005-06-17 Thread Wojciech Ciesielski
||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'

Re: [Andromda-user] [Hibernate cartridge] [Many2Many association with link parameters]

2005-06-17 Thread Wouter Zoons
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

RE: [Andromda-user] [Hibernate cartridge] [Many2Many association with link parameters]

2005-06-17 Thread Wojciech Ciesielski
||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 ... ?

Re: [Andromda-user] [Hibernate cartridge] [Many2Many association with link parameters]

2005-06-17 Thread Wouter Zoons
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

RE: [Andromda-user] [Hibernate cartridge] [Many2Many association with link parameters]

2005-06-17 Thread Wojciech Ciesielski
||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

RE: [Andromda-user] [Hibernate cartridge] [ON DELETE/ON UPDATE behaviour]

2005-06-16 Thread Wojciech Ciesielski
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

Re: [Andromda-user] Hibernate 3

2005-05-20 Thread Chad Brandon
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

Re: [Andromda-user] Hibernate 3

2005-05-20 Thread Chad Brandon
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

Re: [Andromda-user] Hibernate 3

2005-05-20 Thread Nayan Hajratwala
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

Re: [Andromda-user] [Hibernate Catridge] Roles + Interfases

2005-05-05 Thread javier . adorno
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..

Re: [Andromda-user] [Hibernate Catridge] Roles + Interfases

2005-05-05 Thread Chad Brandon
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

Re: [Andromda-user] [Hibernate Catridge] Roles + Interfases

2005-05-04 Thread javier . adorno
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

Re: [Andromda-user] [Hibernate Catridge] Roles + Interfases

2005-05-04 Thread Carlos Cuenca
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

Re: [Andromda-user] Hibernate POJOs

2005-04-28 Thread javier . adorno
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

Re: [Andromda-user] Hibernate POJOs

2005-04-28 Thread Chad Brandon
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

Re: [Andromda-user] [Hibernate] Lazy collections/relationships?

2005-04-26 Thread Chad Brandon
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

Re: [Andromda-user] [Hibernate] Lazy collections/relationships?

2005-04-26 Thread Tim Dysinger
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

Re: [Andromda-user] [Hibernate] Lazy collections/relationships?

2005-04-26 Thread Chad Brandon
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'

Re: [Andromda-user] Hibernate Cartridge: Generalisation of Services

2005-04-26 Thread Chad Brandon
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

Re: [Andromda-user] hibernate 3.X

2005-04-26 Thread Wouter Zoons
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

Re: [Andromda-user] Hibernate Catridge and hibernate

2005-04-21 Thread Matthias Bohlen
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

Re: [Andromda-user] Hibernate / many-to-one always not-null="false"?

2005-04-17 Thread Wouter Zoons
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

Re: [Andromda-user] Hibernate: MySQL mappings, VARCHAR BINARY

2005-04-11 Thread Chad Brandon
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

Re: [Andromda-user] hibernate cartridge: default-cascade

2005-04-11 Thread Wouter Zoons
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

Re: [Andromda-user] Hibernate lazy access

2005-04-10 Thread oemer
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

Re: [Andromda-user] Hibernate lazy access

2005-04-09 Thread oemer
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

Re: [Andromda-user] Hibernate lazy access

2005-04-08 Thread Chad Brandon
[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

Re: [Andromda-user] Hibernate/Spring cartrige: Nullable attributes

2005-04-07 Thread Chad Brandon
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

Re: [Andromda-user] Hibernate: Unique String attributes on Entities and MySQL

2005-03-23 Thread Chad Brandon
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

Re: [Andromda-user] Hibernate: Unique String attributes on Entities and MySQL

2005-03-23 Thread Chad Brandon
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

Re: [Andromda-user] Hibernate: regression bug in RC1

2005-03-21 Thread Chad Brandon
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/

RE: [Andromda-user] Hibernate: regression bug in RC1

2005-03-21 Thread Greg Holmberg
> > 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

Re: [Andromda-user] Hibernate: regression bug in RC1

2005-03-21 Thread Chad Brandon
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

Re: [Andromda-user] Hibernate Cartridge doesn't generate Enitites

2005-03-13 Thread Sverker Abrahamsson
/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

Re: [Andromda-user] Hibernate Cartridge doesn't generate Enitites

2005-03-12 Thread Sverker Abrahamsson
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

RE: [Andromda-user] Hibernate cartridge & resource refs

2005-03-12 Thread Wouter Zoons
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),

RE: [Andromda-user] Hibernate cartridge & resource refs

2005-03-12 Thread Chad Brandon
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

RE: [Andromda-user] Hibernate Entities: final static declarations for constants on <>'s?

2005-03-10 Thread Chad Brandon
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

RE: [Andromda-user] Hibernate cartridge: one-to-one relationship

2005-03-09 Thread Chad Brandon
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'

RE: [Andromda-user] Hibernate cartridge: one-to-one relationship

2005-03-09 Thread Matthias Küspert
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

RE: [Andromda-user] Hibernate cartridge: one-to-one relationship

2005-03-09 Thread Chad Brandon
-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

Re: [Andromda-user] [hibernate-cartridge] feedback, packaging, etc...

2005-03-07 Thread skabeat
[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

Re: [Andromda-user] [hibernate-cartridge] feedback, packaging, etc...

2005-03-07 Thread skabeat
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

RE: [Andromda-user] [hibernate-cartridge] feedback, packaging, etc...

2005-03-07 Thread Chad Brandon
-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

Re: [Andromda-user] [hibernate-cartridge] feedback, packaging, etc...

2005-03-07 Thread skabeat
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

Re: [Andromda-user] Hibernate/strut

2005-03-07 Thread skabeat
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,

RE: [Andromda-user] [hibernate-cartridge] feedback, packaging, etc...

2005-03-06 Thread Chad Brandon
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

Re: [Andromda-user] Hibernate Native SQL?

2005-03-04 Thread Carlos Cuenca
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

Re: [Andromda-user] Hibernate component mapping

2005-03-01 Thread Guillaume Lederrey
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

RE: [Andromda-user] Hibernate component mapping

2005-02-28 Thread Chad Brandon
-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

RE: [Andromda-user] hibernate cartridge not triggered with spring cartridge

2005-02-27 Thread Wouter Zoons
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- > [

RE: [Andromda-user] hibernate cartridge not triggered with spring cartridge

2005-02-27 Thread Chad Brandon
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

RE: [Andromda-user] hibernate => FinderMethod

2005-02-20 Thread Wouter Zoons
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

Re: [Andromda-user] hibernate lazy-loading bottleneck

2005-02-15 Thread Bernard Sirius
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

RE: [Andromda-user] hibernate lazy-loading bottleneck

2005-02-15 Thread Chad Brandon
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

Re: [Andromda-user] Hibernate cartridge and ordered collections : List

2005-02-12 Thread Carlos Cuenca
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

Re: [Andromda-user] Hibernate cartridge and ordered collections : List

2005-02-12 Thread Pierre-Yves ROGER
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

Re: [Andromda-user] Hibernate cartridge and ordered collections : List

2005-02-12 Thread Carlos Cuenca
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

RE: [Andromda-user] Hibernate cascade problem

2005-02-12 Thread Chad Brandon
; 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

Re: [Andromda-user] Hibernate cartridge and ordered collections : List

2005-02-12 Thread Pierre-Yves ROGER
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

RE: [Andromda-user] Hibernate cascade problem

2005-02-12 Thread Chad Brandon
-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

RE: [Andromda-user] Hibernate cascade problem

2005-02-11 Thread Chad Brandon
-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

RE: [Andromda-user] Hibernate cascade problem

2005-02-11 Thread Wouter Zoons
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

RE: [Andromda-user] hibernate/new type mapping problem

2005-02-11 Thread Chad Brandon
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]

Re: [Andromda-user] hibernate/new type mapping problem

2005-02-11 Thread Jan Heise
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

Re: [Andromda-user] Hibernate cartridge and ordered collections : List

2005-02-11 Thread Carlos Cuenca
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

RE: [Andromda-user] Hibernate cartridge and ordered collections : List

2005-02-11 Thread Chad Brandon
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

RE: [Andromda-user] hibernate/new type mapping problem

2005-02-11 Thread Chad Brandon
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

Re: [Andromda-user] hibernate/new type mapping problem

2005-02-11 Thread Jan Heise
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 ?

Re: [Andromda-user] hibernate/new type mapping problem

2005-02-11 Thread Jan Heise
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

Re: [Andromda-user] hibernate/new type mapping problem

2005-02-11 Thread Wouter Zoons
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

RE: [Andromda-user] hibernate queries don't work anymore

2005-02-10 Thread Chad Brandon
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

RE: [Andromda-user] hibernate queries don't work anymore

2005-02-10 Thread Chad Brandon
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

RE: [Andromda-user] hibernate queries don't work anymore

2005-02-10 Thread Chad Brandon
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

RE: [Andromda-user] Hibernate with no output

2005-02-05 Thread Kiran Keshav
. 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

RE: [Andromda-user] Hibernate with no output

2005-02-05 Thread Chad Brandon
-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

Re: [Andromda-user] Hibernate with no output

2005-02-05 Thread Matthias Bohlen
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

Re: [Andromda-user] Hibernate not bound error

2005-01-27 Thread Gabriela Chiribau
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

RE: [Andromda-user] Hibernate mapping error

2005-01-26 Thread Martin West
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

Re: [Andromda-user] Hibernate mapping error

2005-01-26 Thread Gabriela Chiribau
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

RE: [Andromda-user] Hibernate mapping error

2005-01-26 Thread Chad Brandon
-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

Re: [Andromda-user] Hibernate mapping error

2005-01-26 Thread Martin West
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

Re: [Andromda-user] Hibernate mapping error

2005-01-26 Thread Martin West
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

Re: [Andromda-user] Hibernate mapping error

2005-01-25 Thread Gabriela Chiribau
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

Re: [Andromda-user] Hibernate mapping error

2005-01-25 Thread Gabriela Chiribau
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.  

Re: [Andromda-user] hibernate version?

2005-01-25 Thread Bruno Suárez Laffargue
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

Re: [Andromda-user] hibernate version?

2005-01-23 Thread Carlos Cuenca
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

Re: [Andromda-user] hibernate version?

2005-01-23 Thread Bruno Suárez Laffargue
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

RE: [Andromda-user] hibernate version?

2005-01-23 Thread Chad Brandon
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,

RE: [Andromda-user] Hibernate 3 support?

2005-01-21 Thread Chad Brandon
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,   

Re: [Andromda-user] Hibernate cartridge - Columns descriptions

2005-01-11 Thread Walter Mourão
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, > >

RE: [Andromda-user] hibernate timestamp mapping

2005-01-04 Thread Chad Brandon
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

RE: [Andromda-user] Hibernate serialization error

2005-01-02 Thread Mikael Thorman
-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]

RE: [Andromda-user] Hibernate serialization error

2004-12-28 Thread Wouter Zoons
:55 AM Cc: andromda-user@lists.sourceforge.net Subject: RE: [Andromda-user] Hibernate serialization error    

  1   2   >