Re: [Andromda-user] Newbie question: Using hibernate

2005-03-29 Thread Chad Brandon
Ed Powell wrote: Chad Brandon wrote: It looks like the factory template doesn't take into account primitives, it should and then wrap them with the corresponding wrapper class. Hibernate's Session#load method doesn't accept primitives for the primary key. So if you make your userId a datatype

Re: [Andromda-user] Newbie question: Using hibernate

2005-03-29 Thread Ed Powell
Chad Brandon wrote: It looks like the factory template doesn't take into account primitives, it should and then wrap them with the corresponding wrapper class. Hibernate's Session#load method doesn't accept primitives for the primary key. So if you make your userId a datatype.Long instead of a

Re: [Andromda-user] Newbie question: Using hibernate

2005-03-29 Thread Chad Brandon
Ed Powell wrote: Ok, so I have 'testproject', which is just a little project I'm using to figure out AndroMDA. Installed RC2 and did a andromdapp:generate. Set up the project to use hibernate for the persistance layer. I opened up the XMI file in MagicDraw, created the Java package tree under