[transfer-dev] Accessing underlying data structure.

2012-01-31 Thread Robert Rawlins
Hello Guys, I have a property on an object which is type='numeric' - it stores the price of a product. The problem I have at the moment is that the generated setter method has an argument of type 'numeric' too. When dynamically populating the bean from a form ready to be validated I

[transfer-dev] Re: Query Of Queries runtime error.

2011-10-11 Thread Robert Rawlins
I appear to have solved this issue. It looks to be something to do with me using type=numeric in transfer, but actually having the column datatype as varchar. It appears that CF has some clever auto data-type recognition stuff going on behind of QofQ's and this was confusing it. Robert --

Re: [transfer-dev] Re: Fixing wasNull() in Railo (3.3.0.027)

2011-10-10 Thread Robert Rawlins
Hi SG, Thanks for posting this work around. People who impalement this will still need to do lots of testing on their app, as although no exceptions were thrown by older versions of Railo the NULL functionality of transfer was _not_ working properly. So, even with this fix in place, people

[transfer-dev] Query Of Queries runtime error.

2011-10-04 Thread Robert Rawlins
Hell Guys, I'm getting the following exception when calling addRelationship() name on an object that has a many-to-many with another. Comparison exception while executing =. Unsupported Type Comparison Exception: The = operator does not support comparison between the following types: Left

[transfer-dev] Maintaining Cache w/ Framework Reload

2011-09-16 Thread Robert Rawlins
Hello Guys, I've got an application using Transfer along with MG and CS that runs a fairly substantial cache on it, which is really very important to performance. One thing I've been finding ever so frustrating is that if I make a small change to a service layer object, a bug fix for instance

[transfer-dev] Re: TQL Many-To-Many Bidirectional Relationship

2011-09-14 Thread Robert Rawlins
Hi Pedro, Thanks. On re-reading my question I realize I wasn't very clear. What I have is a many-to-many relationship. Defined on the Foo object. Transfer generates methods on Foo for getting and changing the collection of bars. However, I want some TQL so given a specific Bar object, I can

Re: [transfer-dev] Fixing wasNull() in Railo (3.3.0.027)

2011-09-03 Thread Robert Rawlins
HI Sergi, I was the one that opened the initial ticket with Railo, I was hoping they'd fix it properly but they don't have any immediate plans too which is a shame, I have a bunch of Transfer based apps I'm itching to migrate but they're all broken on Railo at the moment as it doesn't handle

[transfer-dev] listByProperty() and NULL values

2011-08-26 Thread Robert Rawlins
Hello Guys, I want to use listByProperty() to find all instance of a class who's particular property is NULL, or NOT NULL How can I do this? I know I can search for specific values, but what about NULL? Is that possible? Or do I need a TQL query? Thanks. Robert -- Before posting questions

[transfer-dev] Re: Struggling with null values on an object

2011-07-28 Thread Robert Rawlins
Hey EJ, I'm running into these same issues today. Did you ever find a solution / work around for them? Robert -- Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer Try out the new Transfer ORM Custom

[transfer-dev] Observer Events CascadeSave

2011-07-15 Thread Robert Rawlins
Hello Guys, Does anyone know if the observer events (beforeUpdate etc) are called for every object in a collection as part of a cascade save? Or is it only fired the once for the main object for which the save is being requested? Thanks, Robert -- Before posting questions to the group

[transfer-dev] Custom ID Generation

2011-06-23 Thread Robert Rawlins
Hello All, I've got a use case which requires me to generate unique ID's for records, based on an augmented incrementing numerical ID. This is for a purchasing system and will generate ID's like: PO-0002 PO-0003 PO-0004 PO-0005 I can't find any details in the documents about being able to

[transfer-dev] Order / Sort on 12M Struct

2011-06-17 Thread Robert Rawlins
Hello Guys, I have a 12M relationship between to classes with the struct collection type. It seems from the docs, that when using array collections, I can specify a sort or order property. How can I do this with 'struct'? Is it possible? Thanks, Robert -- Before posting questions to the

Re: [transfer-dev] Order / Sort on 12M Struct

2011-06-17 Thread Robert Rawlins
) Twitter: @jamesallenuk (General) Twitter: @JamesAllenVoice (Voiceover) From: transfer-dev@googlegroups.com [mailto:transfer-dev@googlegroups.com] On Behalf Of Robert Rawlins Sent: 17 June 2011 15:10 To: transfer-dev@googlegroups.com Subject: [transfer-dev] Order / Sort on 12M Struct

Re: [transfer-dev] Order / Sort on 12M Struct

2011-06-17 Thread Robert Rawlins
: @jamesallenuk (General) Twitter: @JamesAllenVoice (Voiceover) From: transfer-dev@googlegroups.com [mailto:transfer-dev@googlegroups.com] On Behalf Of Robert Rawlins Sent: 17 June 2011 15:21 To: transfer-dev@googlegroups.com Subject: Re: [transfer-dev] Order / Sort on 12M Struct Hey J, Thanks

[transfer-dev] Event Model - Define Methods in Decorator

2011-05-17 Thread Robert Rawlins
Hello Guys, I'm looking to use some of the event hooks, like beforeUpdate() and afterNew() but only on a specific object rather than application wide. Ideally I'd add a method into my decorator called afterNew or beforeUpdate which would get trigger at the appropriate time when that particular

Re: [transfer-dev] View the underlying SQL

2011-03-19 Thread Robert Rawlins
HI John, Thanks for the suggestion buddy. I did try the latest trunk as a matter of course before coming here and it didn't seem to make much difference. I think I may well be beaten on this one, might just have to invest the time in porting to the native ORM or something. Thanks, Robert --

Re: [transfer-dev] View the underlying SQL

2011-03-18 Thread Robert Rawlins
O.k thanks guys, @Quack - I understand. That's a real shame, I was keen to get this project migrated. @John - thanks for this. Just in case this is something minor, I'd like to run the specific problem past you. I'm getting an error: Ambiguous column name 'name'. The SQL which is being

Re: [transfer-dev] View the underlying SQL

2011-03-18 Thread Robert Rawlins
Yeah, after watching the profiler, it seems it's only displayed once in ACF. :-) Which would by it's not throwing an error. -- Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer Try out the new Transfer