Re: [transfer-dev] AssertEquals on string failing for some reason.

2012-04-17 Thread Robert Rawlins
Bolocks - wrong list - sorry everyone. On 17 Apr 2012, at 20:37, Sir Rawlins wrote: > Hello Guys, > > I'm getting a failure message when comparing two strings, that are for > all intents and purposes, the same. > > :: Expected [quoted & placed by robert rawlins] BUT

[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 sometimes

[transfer-dev] Help with TQL Join

2011-10-11 Thread Robert Rawlins
Hello Guys, I have the following TQL query, which runs as expected: from inventory.Stock As Stock join order.item As Item where Stock.StockNumber = :StockNumber Now, I want to create an additional join, this time from the Item object to the 'Order' object.

[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
> > Personally for me it seems to work fine, which is good enough for legacy apps. > > Thanks, > -sg > > > 10.10.11 12:37, Robert Rawlins написав(ла): >> >> Hi SG, >> >> Thanks for posting this work around. >> >> People who impalement

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 wil

[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 hand

[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 ac

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 nu

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

2011-08-31 Thread Robert Rawlins
Hello Guys, I have a couple of objects, for arguments sake let's call them Foo and Bar. I have a relationship defined that says Foo has many Bars. Now, Transfer gives me a bunch of generated methods on Foo to get an array of Bars, add Bars, remove Bars etc. However, say I have a Bar object and

Re: [transfer-dev] listByProperty() and NULL values

2011-08-29 Thread Robert Rawlins
ou will need to use TQL for this. > > Mark > > On Fri, Aug 26, 2011 at 7:34 PM, Robert Rawlins > wrote: > 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

[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 t

[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 Goog

[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 please

[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 easi

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

2011-06-17 Thread Robert Rawlins
en.name > Twitter: @CFJamesAllen (Coldfusion / Web development) > 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:21 > To:

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

2011-06-17 Thread Robert Rawlins
: http://jamesallen.name > Twitter: @CFJamesAllen (Coldfusion / Web development) > Twitter: @jamesallenuk (General) > Twitter: @JamesAllenVoice (Voiceover) > > From: transfer-dev@googlegroups.com [mailto:transfer-dev@googlegroups.com] On > Behalf Of Robert Rawlins > Sent

[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 gro

[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
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 ORM

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 gener

[transfer-dev] View the underlying SQL

2011-03-18 Thread Robert Rawlins
Hello Guys, Is there any way for me to see the SQL which is generated by methods like readByProperty() I've got a strange issue where Railo is throwing an exception by ACF seems happy with things. I wanted to compare the SQL generated by the two. Thanks, Robert -- Before posting questions t

[transfer-dev] Re: ANN: Transfer 1.1 Now available for download

2008-10-17 Thread Robert Rawlins
Cha'mone Mark! Well done, I'll suck down the latest build ASAP, look forward to using it, those new proxy objects are an excellent concept! Rob -Original Message- From: transfer-dev@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Mandel Sent: 17 October 2008 02:13 To: [EMAI