<< 16-July-2008 : hausbot on #groovy at codehaus [download] [back] >>
 
 
time nick message

12:08

<Steffen>

hello there, can someone help me with a mapping problem in grails?

12:08

<Steffen>

hello there, can someone help me with a mapping problem in grails?

12:12

<Steffen>

oops sry

12:14

<Steffen>

I mapped the id colum to a different column in my database by id column:'uuid', the select worked properly but the type was wrong .. id expected an integerm but uuid is saved as a string, so I added id type:'string' to the mapping but then grails ignores the mapping of the id column

13:13

<steffen>

hello again. I was disconnected while posting my question: In a grails app, I am mapping the id column to a uuid column in a different table with id column:'uuid'. the query is ok (select uuid from ....), but the datatype is wrong. when I add a second statement to the mapping (id type:'string') the query ignores my id mapping to uuid and creates a wrong query (select id from ...)

13:14

<steffen>

so is there any possibility to combine both properties: column redirection AND type assosication?

18:51

<mac_mario>

hi, i'm pretty new to groovy and i've got a question about variables: is it possible to define x="d"; text="abc{x}"; and then set x="f" so that text is now "abcf"? and if the answer is yes, how? ;-)

20:37

<brian_>

anyone alive?

Drone v1.4 © 2002-2005 Uwyn RIFE powered