Re: [transfer-dev] transfer.EmptyQueryException error

2009-12-14 Thread Dan O'Keefe
need more information, like your cf server, transfer version, etc. Mark On Mon, Dec 14, 2009 at 5:29 AM, Dan O'Keefe dan.oke...@gmail.com wrote: I am working on a small app where I started with some functionality from a previous app that had some of the same tables, but I am getting

[transfer-dev] transfer.EmptyQueryException error

2009-12-13 Thread Dan O'Keefe
I am working on a small app where I started with some functionality from a previous app that had some of the same tables, but I am getting this error whenever I do a: transfer.get(client.client,arguments.clientID) Arguments.clientID will be 0 for a new record otherwise the ID #. The error only

[transfer-dev] Transfer v.s. CF 9 ORM

2009-11-20 Thread Dan O'Keefe
After doing some searching around, I was wondering if anyone has posted a feature comparison between transfer and the new CF Hibernate ORM. Dan -- Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer You

[transfer-dev] Re: Convert array of transfer objects to query

2009-06-16 Thread Dan O'Keefe
refining over time the architecture of CB/CS/Transfer apps and what way I think it works best for me and performance and in a way that I can carry over from app to app, so this is one that popped up as something I would like to have. Thanks -- Dan O'Keefe On Mon, Jun 15, 2009 at 7:15 PM

[transfer-dev] Convert array of transfer objects to query

2009-06-15 Thread Dan O'Keefe
I am sure this must have been discussed already, but a search did not yield any results. I was looking for a UDF to convert an array of transfer objects to a query. I was looking at http://cflib.org/udf/arrayOfObjectsToQuery which uses the CF getMetaData() function and is looking for getter

[transfer-dev] Re: mySQL bit field using boolean property

2009-01-06 Thread Dan O'Keefe
What is your full config for the object? Looks like you may be using a property that is a reserved word. Uh-oh that might be (ignore) object name=offerType table=offertype decorator=model.decorator.offerType id name=offerTypeID type=numeric generate=false / property name=name

[transfer-dev] Re: mySQL bit field using boolean property

2009-01-06 Thread Dan O'Keefe
your right, its a mySQL reserved word, not MSSQL though. Thanks Mark, Dan On Tue, Jan 6, 2009 at 8:15 PM, Dan O'Keefe dan.oke...@gmail.com wrote: What is your full config for the object? Looks like you may be using a property that is a reserved word. Uh-oh that might be (ignore) object

[transfer-dev] Re: cross-database join question

2008-11-25 Thread Dan O'Keefe
Caveats: The databases have to be on the same physical server (or accessible using this dot notation from query analyzer anyway) I believe you can overcome this limitation by configuring a linked server, so you can then prepend the server name as in:

[transfer-dev] Re: Null default values

2008-11-23 Thread Dan O'Keefe
setLastLoginIsNull() to True. Thanks, Dan On Wed, Nov 12, 2008 at 4:29 PM, Mark Mandel [EMAIL PROTECTED] wrote: Either that or just set the update to null on config(), and then only change the update column when saving.. works too. Mark On Wed, Nov 12, 2008 at 9:52 PM, Dan O'Keefe [EMAIL PROTECTED

[transfer-dev] Re: Null default values

2008-11-23 Thread Dan O'Keefe
/Generated_Methods.cfm#Property_Element So: cfset setLastLoginNull() / will set it to the configured Null value. Mark On Mon, Nov 24, 2008 at 11:10 AM, Dan O'Keefe [EMAIL PROTECTED] wrote: Mark, I find myself needing to do as you suggest here, but what would be the syntax in my decorator

[transfer-dev] Re: generate transfer config files and multiple xml

2008-11-12 Thread Dan O'Keefe
, etc from there, but will have to look at it more closely when I do to see if it is accurate or not. Dan -- Dan O'Keefe On Wed, Nov 12, 2008 at 6:52 AM, AlanL [EMAIL PROTECTED] wrote: Finally using Transfer and so far so good. I found a tool from Roland Lopez to auto-generate

[transfer-dev] Re: generate transfer config files and multiple xml

2008-11-12 Thread Dan O'Keefe
I don't like Illudium for just that reason, Dan, and I'd much rather just start with a skeleton Transfer config and build as I go than try to use a generator that isn't perfect. Laterz, J Really? It does work perfectly, just omits the relationships. I would rather use the tool to do 90%

[transfer-dev] Re: Null default values

2008-11-12 Thread Dan O'Keefe
In some cases there are dates for recording when a table is last updated or first added. I am planning to use a decorator to set the dates on those columns. Should I also set the definition as ignore-insert and ignore-update in those cases? Setting it to ignore on insert or update