[transfer-dev] Re: Site Down

2008-10-13 Thread Mark Mandel
today to try it and it said it requires transfer 1.1. On Oct 13, 5:02 pm, Mark Mandel [EMAIL PROTECTED] wrote: 1.1 is still in RC, so it's not on the download page there. How long was the site down for? I need to have a good talking to with my host. Mark On Tue, Oct 14, 2008 at 6:19

[transfer-dev] Re: Site Down

2008-10-13 Thread Mark Mandel
protected by a firewall or proxy? Incorrect settings can interfere with Web browsing. On Oct 13, 5:22 pm, Mark Mandel [EMAIL PROTECTED] wrote: Works for me... ? This a problem for anyone else? Checking the server stats, it had a reboot maybe about 3 hours ago. Mark On Tue, Oct 14, 2008 at 8:18

[transfer-dev] Re: Site Down

2008-10-13 Thread Mark Mandel
Just rebooted the vm... should be back up shortly. Mark On Tue, Oct 14, 2008 at 10:32 AM, Mick [EMAIL PROTECTED] wrote: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. H:\tracert http://docs.transfer-orm.com/wiki/Persisting_and_Retrieving_Objects. cfm

[transfer-dev] Re: Once and for all - NULLABLE fields

2008-10-15 Thread Mark Mandel
Why write a decorator, when you could just obj.getFooIsNull() and it would do the value check for you? I tend to write nullable values that can be 0 or more to an incredibly large negative number Mark On Thu, Oct 16, 2008 at 5:50 AM, Steve Brownlee [EMAIL PROTECTED] wrote: I hate hacks, but

[transfer-dev] Re: Error when using MS SQL text and manytomany

2008-10-29 Thread Mark Mandel
Erk :P Basically in SQL2000...looks almost like you won't be able to use text columns.. http://support.microsoft.com/kb/888494 Mark On Thu, Oct 30, 2008 at 9:46 AM, Luis Majano [EMAIL PROTECTED] wrote: Hi Mark, I might have found something. Using latest 1.1 using MS SQL 2000. The

[transfer-dev] Re: Difficulty understanding ORM-SQL-old school db hacking connections...

2008-11-10 Thread Mark Mandel
You should probably look here: http://docs.transfer-orm.com/wiki/Persisting_and_Retrieving_Objects.cfm#Object_Retrieval Use get() to retrieve by primary key User readByProperty() to retrieve by unique index. Mark On Tue, Nov 11, 2008 at 9:57 AM, Ken Cummins [EMAIL PROTECTED] wrote: I feel

[transfer-dev] Re: Null default values

2008-11-11 Thread Mark Mandel
On Wed, Nov 12, 2008 at 12:03 AM, Kevin Roche [EMAIL PROTECTED] wrote: Hi, Thanks for answering my questions yesterday. Those problems are fixed now and I have new ones :-( I have some tables with dates on and I want to leave them in some cases set to Null. When I instantiate a new

[transfer-dev] Re: Ordering relationship by more than one column

2008-11-11 Thread Mark Mandel
Currently no, but there is already a ticket: http://tracker.transfer-orm.com/issue.cfm?p=89977683-A728-9CD3-ABD9545A91734422i=A942EECF-CEB6-F49A-46A0037A67D9DC2D Mark On Wed, Nov 12, 2008 at 4:05 AM, Matt [EMAIL PROTECTED] wrote: I have recently started working with Transfer and so far it

[transfer-dev] Re: Errors with PostgreSQL 8.3 UUID data type and Transfer 1.1

2008-11-11 Thread Mark Mandel
On Nov 11, 4:38 pm, Mark Mandel [EMAIL PROTECTED] wrote: There is an enhancement in the tracker to allow you to extend property definitions to use your own custom query params, with prefixes, suffixes, etc http://tracker.transfer-orm.com/issue.cfm?p=89977683-A728-9CD3-ABD954... It has yet

[transfer-dev] Re: ManyToMany on a compositeid?

2008-11-11 Thread Mark Mandel
Don't know why this isn't going to the google group. Mark On Wed, Nov 12, 2008 at 9:50 AM, Mark Mandel [EMAIL PROTECTED] wrote: Right - So, something like (very pseudo code): object name=cart id name=uuid / onetomany name=LineItems link to=LineItem / /onetomany /object object

[transfer-dev] Re: ManyToMany on a compositeid?

2008-11-12 Thread Mark Mandel
On Thu, Nov 13, 2008 at 4:53 AM, Ken Cummins [EMAIL PROTECTED] wrote: I *think* I understand now, but there's one problem: a compositeid can't contain a onetomany relationship. Only manytoone, parentonetomany, or property. But there is no way a o2m could be a compositeID. The FK could never

[transfer-dev] Re: ManyToMany on a compositeid?

2008-11-12 Thread Mark Mandel
saying about the o2m in a composite id. And I like referential integrity, I was just curious... :) On Nov 12, 3:26 pm, Mark Mandel [EMAIL PROTECTED] wrote: On Thu, Nov 13, 2008 at 4:53 AM, Ken Cummins [EMAIL PROTECTED] wrote: I *think* I understand now, but there's one problem: a compositeid

[transfer-dev] Re: ManyToMany on a compositeid?

2008-11-12 Thread Mark Mandel
the composite id of the LineItem. But m2m only recognizes two links, and I'd need three (the two parts to the line item composite id and the option id). Ken On Nov 12, 3:35 pm, Mark Mandel [EMAIL PROTECTED] wrote: Ooops! That should be manytoone! My Bad! (I did mention it was pseudo code

[transfer-dev] Re: Any volunteers to get keep the blog posts documentation up to date?

2008-11-12 Thread Mark Mandel
has stepped forward. Gimme a few days, maybe a week, and I'll get started on it. Bob On Wed, Nov 12, 2008 at 4:32 PM, Mark Mandel [EMAIL PROTECTED] wrote: So no takers for this then? Think of it this way - if someone commits the time to just add the blog posts to the wiki, then I have more

[transfer-dev] Re: BUG?: Flawed object state with observer

2008-11-13 Thread Mark Mandel
Silly question - is the account a clone() ? If so, that could be why, as the original (cached) object is what is sent out via the events after a sync, rather than the clone. Is that the case? I assume the data is getting to the DB fine? Mark On Fri, Nov 14, 2008 at 3:53 AM, Ryan Wood [EMAIL

[transfer-dev] Re: XML tool

2008-11-13 Thread Mark Mandel
Eclipse web tools: http://www.eclipse.org/webtools/ Comes with most of the latest downloads of Eclipse Mark On Fri, Nov 14, 2008 at 11:48 AM, David Harris [EMAIL PROTECTED] wrote: Hi Everyone, Mark gave us a presentation a couple of weeks ago and he mentioned the Eclipse plug he uses to

[transfer-dev] Re: Any volunteers to get keep the blog posts documentation up to date?

2008-11-14 Thread Mark Mandel
Accounts set up (offlist) Mark On Sat, Nov 15, 2008 at 4:22 PM, Bob Silverberg [EMAIL PROTECTED] wrote: Good thinking. Could you just set one up for each of them (unless Paul already has one)? Thanks, Bob On Sat, Nov 15, 2008 at 12:08 AM, Mark Mandel [EMAIL PROTECTED] wrote: Bob

[transfer-dev] Re: Keeping blog posts up to date

2008-11-17 Thread Mark Mandel
Replied off list. Mark On Mon, Nov 17, 2008 at 8:12 PM, Kevin Roche [EMAIL PROTECTED] wrote: Mark, Can you add me so I can help with the Blog Posts? Kevin -Original Message- From: transfer-dev@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bob Silverberg Sent: 15

[transfer-dev] Re: Escaping reserved column names

2008-11-19 Thread Mark Mandel
'Order' is just a reserved word in SQL, so it will throw an error when you attempt to use it without escaping it. By changing the XSD to allow back ticks (should be a small change), I'm surprised it didn't work out for you. Did you recreate Transfer between attempts, to ensure the meta data was

[transfer-dev] Re: readByProperty and readByPropertyMap always returning new object

2008-11-20 Thread Mark Mandel
If Transfer can't find the record that you are requesting, it will return a new object. Mark On Thu, Nov 20, 2008 at 8:33 PM, Chris H [EMAIL PROTECTED] wrote: just getting into Transfer and i'm running into my first problem: this works just fine: cfset Local.UserTO = Transfer.get( User, 1

[transfer-dev] Re: Dreaming the impossible dream? Transfer objects as webservice results...

2008-11-20 Thread Mark Mandel
Sure.. just use decorators, and set cfproperty values on them for the values you wish to return. Mark On Fri, Nov 21, 2008 at 4:53 AM, Ken Cummins [EMAIL PROTECTED] wrote: I am thinking of breaking up my application into web services for flexibility and growth. Is it possible to pass

[transfer-dev] Re: function is not of type transfer.com.TransferObject

2008-11-21 Thread Mark Mandel
Gavin, It looks like you really need to read: http://docs.transfer-orm.com/wiki/Managing_Relationships_and_Compositions.cfm And I would highly recommend looking at the tBlog example app: http://docs.transfer-orm.com/wiki/Example_Code.cfm#tBlog Which outlines all the different composition

[transfer-dev] Re: Escaping reserved column names

2008-11-22 Thread Mark Mandel
if this is controversial and/or been covered before Cheers, Chris 2008/11/19 Mark Mandel [EMAIL PROTECTED] Ah yeah.. that's not going to work. It is a limitation of Transfer. Mark On Thu, Nov 20, 2008 at 8:19 AM, Chris Blackwell [EMAIL PROTECTED] wrote: It has sort of worked for me, this property works

[transfer-dev] Re: Null default values

2008-11-23 Thread Mark Mandel
of setting 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

[transfer-dev] Re: Escaping reserved column names

2008-11-24 Thread Mark Mandel
- From: transfer-dev@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Mandel Sent: 23 November 2008 06:24 To: transfer-dev@googlegroups.com Subject: [transfer-dev] Re: Escaping reserved column names Its not crazy Chris, and it has come up as an enhancement ticket previously

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

2008-11-24 Thread Mark Mandel
When you say 'multiple dsns', you can't use multiple cf datasources... but you can specify in your mapping xml object table=owner.tablefoo / From there, it should just work as normal, assuming your database can support it. Is that what you were asking? Mark On Tue, Nov 25, 2008 at 11:30 AM,

[transfer-dev] Re: the method 'getID' could not be found.......

2008-11-26 Thread Mark Mandel
I figured the big blue box at the top was enough to warn people? http://docs.transfer-orm.com/wiki/Using_TransferObject_Proxies.cfm Now I have to write meaningful errors too? :D Mark On Thu, Nov 27, 2008 at 4:05 AM, Bob Silverberg [EMAIL PROTECTED] wrote: Proxies don't work on CF7 because

[transfer-dev] Re: Error

2008-11-26 Thread Mark Mandel
Recursive relationships should throw a meaningful error letting you know to set a composition to being lazy loaded, rather than 500 out. If you need to check Transfer versions, you can check TransferFactory.getVersion()

[transfer-dev] Re: Found a transfer bug... comments?

2008-11-26 Thread Mark Mandel
Jared, Looks like a bug - but, can you lay out the the basic config for me, so I can see the object relationships, as I think there are a couple of m2m relationships in there. Mark On Thu, Nov 27, 2008 at 7:11 AM, Jared Rypka-Hauer [EMAIL PROTECTED] wrote: I found a transfer bug yesterday,

[transfer-dev] Re: The old 'Object could not be found' problem.

2008-11-27 Thread Mark Mandel
It looks fine... but you sure in your code you are calling it correctly, remember it is case sensitive. Mark On Fri, Nov 28, 2008 at 6:38 AM, Damon Gentry [EMAIL PROTECTED] wrote: The error now reads: The requested object could not be found in the config file Could not find 'post' in

[transfer-dev] Anyone doing / soon to be doing Flex work with Transfer?

2008-11-27 Thread Mark Mandel
Hey guys, Just wanted to test the water a little here, as I've been writing up some stuff for some pretty seamless integration with Flex... and I'm very slowly getting towards the point where I may need some testers. Obviously the code is available in SVN (even tho' its not complete) right now,

[transfer-dev] Re: Transfer Noob: error value returned from the getParentsystem function is not of type transfer.com.TransferObject

2008-12-03 Thread Mark Mandel
You have 'creatorsystemid' set as both a property and a relationship. Mark On Thu, Dec 4, 2008 at 7:21 AM, Chris Peterson [EMAIL PROTECTED] wrote: ya know, 'System' sounds kinda reserved wordish, I'm not sure, but try changing the name of that object and see what you get? On Wed, Dec 3,

[transfer-dev] Re: Global Decorators

2008-12-04 Thread Mark Mandel
Stupid question.. why not just do this as a relationship? Mark On Fri, Dec 5, 2008 at 11:56 AM, Matt Graf [EMAIL PROTECTED] wrote: Yes I agree in most cases what I am trying to is not the best idea but, in our system we have four fields that are the same in every table. Which are insOn

[transfer-dev] Re: Ugly SQL errors...

2008-12-12 Thread Mark Mandel
Could be 'left', you are right there too. Mark On Sat, Dec 13, 2008 at 9:56 AM, Doug Giles douglasgi...@gmail.com wrote: Maybe it's complaining about the column named 'left', which is a MySQL function. -Doug On Dec 12, 5:39 pm, Mark Mandel mark.man...@gmail.com wrote: What is the exact

[transfer-dev] Re: parentonetomany not found and weird caching errors - something to do with r643?

2009-01-04 Thread Mark Mandel
at 11:45 AM, Mark Mandel mark.man...@gmail.com wrote: Brian, I haven't forgotten about you.. just been busy, having a break ;o) Interesting that 1.1 stable fixes it... sounds like I missed a 'var' somewhere during new dev. I'll run var scoper over the code base and see if I missed one when I sit

[transfer-dev] Re: Strange TransferObjectProxy Error

2009-01-06 Thread Mark Mandel
The first thing that pops to mind is - is the server running 8.01 ? Mark On Wed, Jan 7, 2009 at 7:22 AM, Ryan ryan.w...@gmail.com wrote: The code for this app ( a large collection application ) works fine on all our dev boxes. I'm setting up a staging server and deploy this same code from

[transfer-dev] Re: Strange TransferObjectProxy Error

2009-01-06 Thread Mark Mandel
on 8.0.0. Upgrading to 8.0.1 fixed it. Thanks again for your spot on analysis. Time for a beer. ;) -Ryan On Jan 6, 3:49 pm, Mark Mandel mark.man...@gmail.com wrote: The first thing that pops to mind is - is the server running 8.01 ? Mark On Wed, Jan 7, 2009 at 7:22 AM, Ryan ryan.w

[transfer-dev] Re: back button update transfer object

2009-01-06 Thread Mark Mandel
button update transfer object How I handle it in 95% of cases is do a redirect to a neutral page once the form was successfully submitted. cflocation for the win! dw On Tue, Jan 6, 2009 at 3:47 PM, Mark Mandel mark.man...@gmail.com wrote: Brian, This is more of an application design

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

2009-01-06 Thread Mark Mandel
What is the sql error? I've got unit tests with mysql that work fine on tables such as: CREATE TABLE `transfer_unit`.`tbl_basic` ( `idbasic` decimal(18,0) NOT NULL, `basic_date` datetime default NULL, `basic_numeric` decimal(18,0) default NULL, `basic_string` varchar(200) default NULL,

[transfer-dev] Re: Using configure() in a decorator

2009-01-07 Thread Mark Mandel
at 3:45 PM, Mark Mandel wrote: Fair point - I added a clarification to: http://docs.transfer-orm.com/wiki/Writing_Decorators.cfm Mark -- E: mark.man...@gmail.com W: www.compoundtheory.com --~--~-~--~~~---~--~~ Before posting questions to the group please

[transfer-dev] Re: a problem with tql

2009-01-09 Thread Mark Mandel
You need to tell the param type that it is a list (ditto for list). http://docs.transfer-orm.com/wiki/Transfer_Query_Language.cfm#Query.setParam(name%2C_[value]%2C_[type]%2C_[list]%2C_[isNull])] http://docs.transfer-orm.com/html/transferapi/transfer/com/tql/Query.html#setParam() Mark On Fri,

[transfer-dev] Re: easy management of many to many relationships

2009-01-10 Thread Mark Mandel
Technically, if you had a thorough unit testing strategy, you could change things like relationships, and would be able to easily find all the places where you needed to change code... Just saying is all :) On 1/11/09, Jared Rypka-Hauer armchairde...@gmail.com wrote: Nando, We've done very

[transfer-dev] Re: Nullable Values - still don't get it

2009-01-11 Thread Mark Mandel
is any nullable property will be null for any newly created object. DW On Sun, Jan 11, 2009 at 4:11 PM, Mark Mandel mark.man...@gmail.comwrote: I think I see where the confusion lies. Th default VALUE for any given property is listed here: http://docs.transfer-orm.com/wiki

[transfer-dev] Re: Error with creating Abstract Decorator

2009-01-12 Thread Mark Mandel
Have you overwritten the init() function in your abstract decorator? You shouldn't really be doing that. Mark On Tue, Jan 13, 2009 at 12:44 PM, bimp bpa...@gmail.com wrote: Hello, attempting to create an Abstract Decorator for my application according to Bob Silverberg's blog posting at:

[transfer-dev] Re: Transfer error message - deleting objects

2009-01-15 Thread Mark Mandel
Tom, can I have the full error message? Mark On Fri, Jan 16, 2009 at 8:40 AM, Tom Botts tdbo...@gmail.com wrote: Version 1.1 On Thu, Jan 15, 2009 at 4:27 PM, Mark Mandel mark.man...@gmail.comwrote: What version of Transfer are you using? Mark On Fri, Jan 16, 2009 at 5:12 AM, Tom Botts

[transfer-dev] Re: Transfer error message - deleting objects

2009-01-15 Thread Mark Mandel
. If I get an error on the parent object, I can refresh the browser and it will work. On Thu, Jan 15, 2009 at 4:47 PM, Mark Mandel mark.man...@gmail.com wrote: Tom, can I have the full error message? Mark On Fri, Jan 16, 2009 at 8:40 AM, Tom Botts tdbo...@gmail.com wrote: Version 1.1

[transfer-dev] Re: how can i view the sql statement being executed?

2009-01-20 Thread Mark Mandel
On Wed, Jan 21, 2009 at 9:27 AM, Jared Rypka-Hauer armchairde...@gmail.com wrote: Maybe I'll implement it... finding out that I wasn't the only one that wants it was encouraging. It seems to me that this is a completely reasonable use case for Transfer to provide itself... Not to belabour a

[transfer-dev] Re: Rollback 'save()' methods using Transaction advise()?

2009-01-20 Thread Mark Mandel
This is a really good question! I've done similar things in my unit tests, by cheating a little, and it worked a charm. I can't seem the find the code... but the basics went something like this (written in gmail, so errors will happen): cfcomponent extends=frameworkYouUse.TestCase cfscript

[transfer-dev] Re: unicode question

2009-01-21 Thread Mark Mandel
Hmnn Should just work, Transfer doesn't do anything magical to character encoding, it should just flow through. I can't remember.. do you need to change your collation on the DB side? Mark On Thu, Jan 22, 2009 at 8:07 AM, Doug Boude dougbo...@gmail.com wrote: Hi all. forgive me if the answer

[transfer-dev] Re: unicode question

2009-01-21 Thread Mark Mandel
to the value being inserted, as in: insert into user (username) values(N'Oğuz') Does Transfer do anything like that internally when needed? On Wed, Jan 21, 2009 at 3:11 PM, Mark Mandel mark.man...@gmail.com wrote: Hmnn Should just work, Transfer doesn't do anything magical to character

[transfer-dev] Re: compositions to the same foreign key

2009-01-24 Thread Mark Mandel
Sorry Salvadore, not sure what you are driving at, can you provide an example? Mark On Thu, Jan 22, 2009 at 9:53 PM, Salvatore FUSTO ing.fu...@gmail.com wrote: Hi all, from the doc: You can only have one manytoone or oneotomany definition for each foreign key. You may also not share a

[transfer-dev] Re: TransferInserter.cfc line 162 (transfer 1.1 final)?

2009-01-25 Thread Mark Mandel
What is your config file? http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer Mark On Mon, Jan 26, 2009 at 5:09 AM, henry henryho...@gmail.com wrote: I've spent a lot of time checking an rechecking the XML I provide to Transfer, but whenever I want to

[transfer-dev] Re: Vote for enhancement #32: extend property elements to support other data types

2009-01-26 Thread Mark Mandel
The current next release is: http://tracker.transfer-orm.com/milestones.cfm?p=89977683-A728-9CD3-ABD9545A91734422 This clean up a lot of the little things that need to be done to get some bigger things in play, and get some aggregate functions etc in TQL, that have been needed for a while. From

[transfer-dev] Re: Possible to completely disable sequence for numeric keys?

2009-01-26 Thread Mark Mandel
Just set the ID before running save() or insert(), then Transfer will attempt to insert it with that value. See: http://docs.transfer-orm.com/wiki/Primary_Key_Management.cfm#Manual Mark On Tue, Jan 27, 2009 at 7:19 AM, Brian G brian-goo...@vfive.com wrote: Is there a way to fully disable the

[transfer-dev] Re: ManyToMany TransferObject child is not persisted

2009-01-27 Thread Mark Mandel
You are trying to save a video, which has a 'dyp' that has not been persisted in the database. This means Transfer doesn't know what PK value to use for the object. Mark On Tue, Jan 27, 2009 at 11:40 PM, systemseven systemsevendesi...@gmail.com wrote: In TransferObject 'video' manytomany

[transfer-dev] Re: Cache not updating

2009-01-27 Thread Mark Mandel
It sounds like you have more than one instance of Transfer going.. which is why your cache is going all funky, as there is more than one cache. I'd put some debugging in place to verify that your model's not getting re-created. Mark On Wed, Jan 28, 2009 at 2:44 AM, Chris H 3darkli...@gmail.com

[transfer-dev] Re: Select all columns for a class (class.*)

2009-01-29 Thread Mark Mandel
This is already on the list of tickets to complete in the next release: http://tracker.transfer-orm.com/issue.cfm?p=89977683-A728-9CD3-ABD9545A91734422i=2804C418-9F83-A536-5481D8B1FD9FF3DC Mark On Fri, Jan 30, 2009 at 11:10 AM, Josh Grauer jagge...@gmail.com wrote: I'd like to be able to

[transfer-dev] Re: manytoone on the table id column, not allowed?

2009-02-02 Thread Mark Mandel
http://docs.transfer-orm.com/wiki/Using_Composite_Keys.cfm http://docs.transfer-orm.com/wiki/Transfer_Configuration_File.cfm For examples: http://docs.transfer-orm.com/wiki/Example_Code.cfm#tPetmarket Mark On Mon, Feb 2, 2009 at 7:55 PM, henry henryho...@gmail.com wrote: My situation is

[transfer-dev] Re: cache very slow with compositeid / parentonetomany on small tables

2009-02-03 Thread Mark Mandel
How many locale's do you have? Mark On Wed, Feb 4, 2009 at 4:23 AM, Chris Peterson overrid...@gmail.com wrote: because when transfer saves any of those objects, it has to re-save the entire related set. Turn on query debugging and watch what is going on there. Often times I find myself

[transfer-dev] Re: Element QOBJECT.TRANSFER_COMPOSITEID is undefined in ARGUMENTS

2009-02-03 Thread Mark Mandel
Can I grab the full error? Not knowing where the error actual fires within transfer, leaves me a bit stuck :( http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer Mark On Wed, Feb 4, 2009 at 2:50 AM, Jorge Loyo jorgel...@gmail.com wrote: I get the error:

[transfer-dev] Re: setting null values. What do ppl use for strings?

2009-02-11 Thread Mark Mandel
I've used NULL in the past, and it has worked well for me. Or use a UUID... not much chance of people picking that. Mark On Thu, Feb 12, 2009 at 8:51 AM, Nando d.na...@gmail.com wrote: As I know him, Hal seems to think things through very thoroughly, and he came to the conclusion that in

[transfer-dev] Re: Event handler exception.

2009-02-16 Thread Mark Mandel
Andy, What DB driver are you using on production? Mark On Tue, Feb 17, 2009 at 6:24 AM, Andy J m...@andyjarrett.co.uk wrote: Hi I am having trouble with Transfer. On the dev machine all is fine. When I upload the code and run a my test page I am getting the following. From what I can

[transfer-dev] Re: Saving the Secondary Key on a ManyToOne value?

2009-02-18 Thread Mark Mandel
What does setProductId() do? It sounds like you've tried to save the Gallery, with a unpersisted Product, and Transfer is throwing a wobbly, because it doesn't know what ID to insert. Mark On Thu, Feb 19, 2009 at 5:29 PM, Matthew matthewbchamb...@gmail.com wrote: Hi everyone I've got a

[transfer-dev] Re: Dealing with very large numbers.

2009-03-02 Thread Mark Mandel
Is it a case of it coming out of the database in Scientific notation, b/c it is so large? How does it work usually with normal CFML Queries and Query Params? Mark On Tue, Mar 3, 2009 at 10:36 AM, Chris Woerz erendr...@gmail.com wrote: I completely agree with you about the nightmare that this

[transfer-dev] Re: Soft Delete?

2009-03-03 Thread Mark Mandel
All good stuff guys. Another option - for basic soft deleting, set up conditions on your collections, to ignore your soft deleted items. Then when soft deleting, if you do an update(), do a discard() after, which will clear out the object from collections. You will still need to filter when

[transfer-dev] Re: Soft Delete?

2009-03-04 Thread Mark Mandel
@Mark, yeah I saw in the notes that the cache was your main obstacle, I've not really used the cache very extensively so don't really have any suggestions as to how that one can be solved, I mean, when you say 'Where it all gets tricky is if you want to pull back the object in after being

[transfer-dev] Re: Dealing with very large numbers.

2009-03-04 Thread Mark Mandel
it then i do someday :) On Mar 2, 5:14 pm, Mark Mandel mark.man...@gmail.com wrote: What happens if you try and do an insert without transfer, with a normal cfquery and cfqueryparam does it work that way? Just trying to narrow down the issue. May be worth attempting to set the PK as a string

[transfer-dev] Re: Isolation Levels

2009-03-05 Thread Mark Mandel
If you're not using the cache, I think you will find that the performance just isn't going to be up to scratch, especially if you are doing as many read operations as you say. Generally speaking, a lack of cache tends to be a rarity, rather than the norm. Having dirty reads on the database with

[transfer-dev] Re: Isolation Levels

2009-03-05 Thread Mark Mandel
If you want to use Transfer across a cluster, see: http://transfersync.riaforge.org/ Agreed, given the nature of what you are trying to do, no-lock may well be handy. The question is, why is it such a neccessity? Mark On Fri, Mar 6, 2009 at 2:27 PM, NickHaggmark nhaggm...@gmail.com wrote:

[transfer-dev] Re: on serlializaiton

2009-03-07 Thread Mark Mandel
I'm curious as well - Why not just traverse the entire object graph, check lastModified (or your boolean flag), pick up what has been changed, stick it in an array, and then pass it back over. Then you're just dealing with a recursive algorithm to go over the tree, a simple yes/no as to whether

[transfer-dev] Re: on serlializaiton

2009-03-07 Thread Mark Mandel
understand this correctly, if a parent object that has a large graph has any one of it's children changed, you have to resend the entire graph again? Isn't that rather inefficient? Or is that just want the clients are requiring? On Sat, Mar 7, 2009 at 3:48 PM, Mark Mandel mark.man...@gmail.com

[transfer-dev] Re: Modelling a map

2009-03-10 Thread Mark Mandel
Why not store the user property as a Struct? Mark On Tue, Mar 10, 2009 at 11:50 PM, John Whish john.wh...@googlemail.com wrote: Hi, hopefully you guys don't mind helping me out on this one. What I'm trying to do is create a User object which has additional optional properties stored as a

[transfer-dev] Re: transfser 1.2 tracker issue statuses

2009-03-10 Thread Mark Mandel
Adam, I can't give you exact dates on this stuff at this time. I am in the middle of the flex integration (to76), and some code generation pieces (which it seems I don't have a ticket for, but are complete anyway). Mark On Wed, Mar 11, 2009 at 8:09 AM, Adam Drew epne...@gmail.com wrote:

[transfer-dev] Re: ManyToMany Relationships order property not working

2009-03-13 Thread Mark Mandel
Chris, What does the rest of the config for that object look like? Mark On Fri, Mar 13, 2009 at 2:52 AM, Chris H 3darkli...@gmail.com wrote: yes, i first had it in the ProjekteBilder Table, which did throw an error. it is now in the Bilder Table and no errors is thrown, but the resulting

[transfer-dev] Re: Decorator after populate method?

2009-03-13 Thread Mark Mandel
Yeah... I have to wonder at 200,000 simultaneous single users on a single server, regardless of the application server, let alone the framework. If you have that high a load, I'd be looking at a clustered solution right off the bat. Would anyone disagree with me? Mark On Sat, Mar 14, 2009 at

[transfer-dev] Re: Find values NOT IN a manytomany table

2009-03-13 Thread Mark Mandel
This is off the top of my head, but something similar should work in TQL: from area.county as country where country.countyid NOT IN (select subCounty.countryid from edition join subCounty where edition.id = :id) You can do sub selects within IN statements, so this should work:

[transfer-dev] Re: Does transferFactory.getVersion() specify whether RC or Stable?

2009-03-18 Thread Mark Mandel
If it just says '1.1' , with no RC, or 1.1.f etc, then you are on the stable release. Mark On Thu, Mar 19, 2009 at 8:05 AM, Bim bpa...@gmail.com wrote: Trying to determine what version of Transfer I'm using and was wondering if the transferFactory.getVersion() differentiate between 1.1 RC

[transfer-dev] Re: Transfer version for Javascript

2009-03-18 Thread Mark Mandel
* blinks * Wanna run that past me again ... preferably with pictures? :D I'm feeling a little slow today. Mark On Thu, Mar 19, 2009 at 11:37 AM, Mick michael_r...@hotmail.com wrote: Is there a version of transfer for the client side (javascript) using ajax? Imagine! -- E:

[transfer-dev] Re: Transfer version for Javascript

2009-03-18 Thread Mark Mandel
Could always look to the new generation features in SVN (not documented at all), to produce those Javascript beans for you. Mark On Thu, Mar 19, 2009 at 12:02 PM, Mick michael_r...@hotmail.com wrote: I don't really know what I mean yet... I feel like I'm doing double the work. Having to

[transfer-dev] Re: Transfer version for Javascript

2009-03-19 Thread Mark Mandel
That looks very cool.. just make sure you secure it down ;o) Mark On Fri, Mar 20, 2009 at 1:12 AM, Gerald Guido gerald.gu...@gmail.comwrote: I then use ColdSpring's remote proxy feature to expose my service layer method as a webservice. Then jQuery to parse the JSON. Seems to work

[transfer-dev] Re: Wiki Updates

2009-03-20 Thread Mark Mandel
Thanks for that Paul! Mark On Sat, Mar 21, 2009 at 4:30 AM, Paul Marcotte pmarco...@gmail.com wrote: Sure thing, John, I'll look at it later today. Paul On Fri, Mar 20, 2009 at 10:21 AM, John Whish john.wh...@googlemail.comwrote: Hey Paul, Just had a quick look (didn't realise my posts

[transfer-dev] Re: Invalid Object Name?

2009-03-22 Thread Mark Mandel
Is it in a package? Did you reset Transfer when you changed your config? Mark On Mon, Mar 23, 2009 at 10:33 AM, Matthew matthewbchamb...@gmail.comwrote: Hi everyone I'm getting an Invalid Object Name 'PressRelease' error but I can't work out why Transfer thinks it's invalid. I've got many

[transfer-dev] Re: Invalid Object Name?

2009-03-22 Thread Mark Mandel
run the list() method against it no problems. NEW XML CONFIG: object name=prj_task id name=task_id type=numeric/id property name=title type=string/property /object On Mar 23, 10:57 am, Mark Mandel mark.man...@gmail.com wrote: Do you have multiple config

[transfer-dev] Re: Invalid Object Name?

2009-03-22 Thread Mark Mandel
Matthew On Mar 23, 11:10 am, Mark Mandel mark.man...@gmail.com wrote: Sorry, miserad what the error was... what was the exact error you got for next time? Mark On Mon, Mar 23, 2009 at 11:06 AM, Matthew matthewbchamb...@gmail.com wrote: Just solved it. My mistake

[transfer-dev] Re: Date type is defaulting to today?

2009-03-22 Thread Mark Mandel
http://docs.transfer-orm.com/wiki/Default_Property_Values.cfm Mark On Mon, Mar 23, 2009 at 4:35 PM, Matthew matthewbchamb...@gmail.com wrote: Hi Bob Thanks for saving my time. I read that post and it looks like many people have run into the same problem. I think that it's very odd to

[transfer-dev] Re: Date type is defaulting to today?

2009-03-23 Thread Mark Mandel
The default decisions were made before Null values were supported. Mark On Tue, Mar 24, 2009 at 10:58 AM, Matt Quackenbush quackfu...@gmail.comwrote: To expand a little bit on set{PropertyName}Null() when the property is a date, Transfer sets the value to the oldest date that CF will support:

[transfer-dev] Re: Facade CFCs returning Transfer Objects?

2009-03-24 Thread Mark Mandel
Actually Brian, I expect that if you define your cfproperty tags correctly, CF will look for get() methods like it does with Flex, when it can't find the variables under 'this' (least I assume this is how it would work, it's how it works in Flex). I'm wondering if the issue is that on server 2,

[transfer-dev] Re: Facade CFCs returning Transfer Objects?

2009-03-24 Thread Mark Mandel
by totally separate adapters. On Tue, Mar 24, 2009 at 3:28 PM, Mark Mandel mark.man...@gmail.comwrote: Actually Brian, I expect that if you define your cfproperty tags correctly, CF will look for get() methods like it does with Flex, when it can't find the variables under 'this' (least I

[transfer-dev] Re: Facade CFCs returning Transfer Objects?

2009-03-24 Thread Mark Mandel
web services very much), but I'm *fairly* sure it is. The original poster will definitely want to confirm. On Tue, Mar 24, 2009 at 3:37 PM, Mark Mandel mark.man...@gmail.com wrote: Ah, in which case, I'll shut my gob ;o) I wonder why it's inconsistent that way. Mark On Wed

[transfer-dev] Re: Default values of properties?

2009-03-24 Thread Mark Mandel
, Bim bpa...@gmail.com wrote: Mark, is there a way to override the defaults in the transfer.xml file? -Bim On Apr 11 2007, 9:17 pm, Mark Mandel mark.man...@gmail.com wrote: Terry, You know what... I had thought I had written this somewhere, but I totally haven't. I just went through

[transfer-dev] Re: Default values of properties?

2009-03-24 Thread Mark Mandel
Ticket amended: http://tracker.transfer-orm.com/issue.cfm?p=89977683-A728-9CD3-ABD9545A91734422i=A93DF4B9-0E7C-200B-C5D78FDE55391918 Mark On Wed, Mar 25, 2009 at 10:14 AM, Mark Mandel mark.man...@gmail.com wrote: Josh, that is what configure() is for (which you could do inside

[transfer-dev] Re: ManyToMany TQL Quandry

2009-03-30 Thread Mark Mandel
Joseph, Let us know if the manual join works, I can see where you could run into issue combining an outer join with a where clause. Mark On Tue, Mar 31, 2009 at 5:27 AM, Brian Kotek brian...@gmail.com wrote: It sounds like you want a manual join:

[transfer-dev] Re: Why does cascadeDelete traverse all relationships?

2009-04-01 Thread Mark Mandel
There is a ticket around on the tracker for implementing a list of relationships you wish to traverse down, but it hasn't been implemented yet. Wouldn't be hard to do if anyone wants to write a quick patch ;o) Mark 2009/4/1 Aurélien DELEUSIÈRE adeleusi...@gmail.com My mistake! I've use the

[transfer-dev] Re: Element MEMENTO.ID is undefined in ARGUMENTS error?

2009-04-01 Thread Mark Mandel
Did you delete your .transfer files, after you upgraded? Mark On Thu, Apr 2, 2009 at 1:20 PM, Andrew am2...@gmail.com wrote: Hi, I have some code that runs beautifully under transfer 1.0 but is failing under 1.1, giving this error: Element MEMENTO.ID is undefined in ARGUMENTS. The

[transfer-dev] Re: cf error on listByQuery

2009-04-05 Thread Mark Mandel
It's a bad error message.. .basically means it can't resolve a given property, because there is no '.' in it. bezeichnung_de should be : tvMoebel.bezeichnung_de Mark On Mon, Apr 6, 2009 at 5:15 AM, casperMC trotter.alexan...@googlemail.com wrote: hi, when I use the listByQuery function I

[transfer-dev] Re: Many to Many, Leveraging columns in joining table

2009-04-08 Thread Mark Mandel
Danny, You will need to create an object to represent the nis_catArticle, a m2m will only work for a table that has 2 FK's on it. Have a look into composite keys, and I'm pretty sure that the mailing list has several examples of doing exactly what you want. Mark On Thu, Apr 9, 2009 at 7:29

[transfer-dev] Re: getParent still causes child object to be dirty?

2009-04-09 Thread Mark Mandel
Hey, looks like the getParent() isDirty issue got missed in the jumble. Looking at the code now, seems like an easy fix. Running unit tests now. Mark On Fri, Apr 10, 2009 at 1:26 AM, Jon Schultz jon.c.schu...@gmail.com wrote: I posted this about a year ago:

[transfer-dev] Re: Maddening Issue with Composite Keys and 'Duplicate Column'

2009-04-13 Thread Mark Mandel
Do you have a onetomany pointing at this object? It's the only thing I can think of. Mark On Tue, Apr 14, 2009 at 7:36 AM, Scott Stroz sc...@boyzoid.com wrote: Can you guys take a look at this object definition and let mw know if anything jumps out at you that would cause a 'duplicate

[transfer-dev] Re: Bug: Duplicate entries in onetomany when not doing lazy load

2009-04-14 Thread Mark Mandel
That's a strange one... as Transfer definitely does make sure that the memento that gets created doesn't double up on objects or the like. I'll create a test bed, and see if I can reproduce. Mark On Tue, Apr 14, 2009 at 9:54 PM, Elliott Sprehn espr...@gmail.com wrote: We have: Event

[transfer-dev] Re: can we access a custom method within the decorator?

2009-04-17 Thread Mark Mandel
Not quite sure what you are driving at, but what happens if you just do 'getFullName()', like normal? Mark On Fri, Apr 17, 2009 at 9:27 PM, thesaintbug thesaint...@gmail.com wrote: Hi All, Can anyone plz explain how to use a user custom method in a child decorator defined in a parent

  1   2   3   4   >