Re: ORM Relationship Issue

2012-11-27 Thread Tom McNeer

Hi Jeff,

You've got the fkcolumn thing backwards.

property name=Owner fieldtype=many-to-one cfc=com.user.User
 fkcolumn=idUsers missingRowIgnored=true;


In your Client object, the fkcolumn for the Owner is the column/property
within the Client which references the primary key of the Owner/User record.

So Hibernate is looking for the column in the fkcolumn attribute on your
Client object, not the User. And obviously, it's not there.

Try 'fkcolumn=idOwner.'



-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353300
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Trouble with CF 9 Spreadsheet functions

2012-11-27 Thread Dave Phillips

Hi,

I'm going nuts trying to retrieve VALUES out of an Excel 2007 workbook with 
ColdFusion 9.   What's happening is that I'm getting the 'formulas' instead of 
the 'values'.  The formulas are 'cross sheet' formulas (meaning they refer to 
another sheet in the same workbook).  I'm assuming this has something to do 
with the difficulty.

Here's what I've tried so far:

1. reading sheet in with cfspreadsheet into a query.  
2. reading sheet in with SpreadsheetRead into an object and then using 
SpreadsheetGetCellValue() to get the cell value.
3. I've updated the POI jar's in my CF 9 installation with 3.8 POI jar's from 
Apache
4. I've tried using Ben Nadel's POI Utility, but I get an object instantiation 
error on this line:  LOCAL.ExcelFileSystem = CreateObject( 
java, org.apache.poi.poifs.filesystem.POIFSFileSystem ).Init( 
LOCAL.FileInputStream );
(I've confirmed that I'm using the full path (as is indicated on his website)

I'm at a loss of how else to get this data out of the spreadsheet.  Has someone 
had success with this and, if so, what can I do?

Thanks,

Dave

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353301
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Trouble with CF 9 Spreadsheet functions

2012-11-27 Thread Dan Baughman

unsubscribe


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353302
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) CF Builder SVN

2012-11-27 Thread Dave Merrill

+1 for visualsvn server if you'e hosting locally. Really straightforward.

Dave Merrill


On Wed, Nov 7, 2012 at 2:24 PM, Matthew a.matthe...@yahoo.com wrote:


 Out if interest, what OS do you develop on? If it's on windows OS have
 considered visualsvn server? http://www.visualsvn.com/server

 Matt.

 On 7 Nov 2012, at 18:46, Michael Reick mich...@widgethq.com wrote:

 
  I've decided to finally make the plunge and start using CF Builder
 (latest version, I think. 2 update 1)  For some inane reason I've also
 decided to start using Subversion for source/versioning control at the same
 time.
 
  I think I've got the SVN server running correctly, TortoiseSVN will let
 me browse, I think the server. And I used Wil's article on how to get
 CFBuilder to talk to the SVN server.
 
  In Builder, I've got at least one existing project (entire codebase of a
 large site) that I want to add to svn.  Everything I try to go to Team -
 Share Project, it will let me select the SVN server, give me a bunch of
 options, (Doesn't seem to matter which I choose) and at some point it will
 fail, giving me a cryptic Share project has failed. svn: url
 'svn://serveraddress/trunk/Development' doesn't exist. I refresh
 TortoiseSVN and I see those directories/locations.  I try again, and it
 fails with the same error message.  I try deleting everything in
 TortoiseSVN and try from scratch with the same results.
 
  I'm still not totally convinced that I want to use SVN, and I haven't
 even gotten to the point of trying to check/in/commit code. So far, it's
 been less than encouraging, especially since I'm still the only developer
 on this code.
 
  Any helpful hints? Suggestions? Comments?
 
  Thanks!
  Michael Reick
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353303
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CFMAIL Not getting to mail server

2012-11-27 Thread Brian Cain

Hello All,

I recently migrated to CF 9 from 7, and there seems to be an issue with not all 
cfmail messages going out.  I an not getting any errors, and the log files in 
CF actually show the messages in the mail sent log, but there is no trace of 
them after that on my mail server or the client end.  This problem did not 
start happening until after I migrated to CF9, and there have been no changes 
in the code or environment beyond that.  This does not happen to all messages, 
but it happens often enough that is a problem.

Does anyone have any ideas of how to fix this issues.  I found some threads 
about this issue and other people experiencing it, but no solutions or help 
from Adobe on a permanent fix.

Thanks,
Brian Cain 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353304
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFMAIL Not getting to mail server

2012-11-27 Thread Carl Von Stetten

If the mail log doesn't show the messages as being bounced and 
undeliverable (and the messaged don't end up in the cfmail\undelivr 
folder in your ColdFusion install directory), then the problem is likely 
with your downstream mail server, not with ColdFusion.  Did you 
propagate the same SMTP server settings from your CF7 install to your 
CF9 install?

-Carl V.
On 11/27/2012 2:23 PM, Brian Cain wrote:
 Hello All,

 I recently migrated to CF 9 from 7, and there seems to be an issue with not 
 all cfmail messages going out.  I an not getting any errors, and the log 
 files in CF actually show the messages in the mail sent log, but there is no 
 trace of them after that on my mail server or the client end.  This problem 
 did not start happening until after I migrated to CF9, and there have been no 
 changes in the code or environment beyond that.  This does not happen to all 
 messages, but it happens often enough that is a problem.

 Does anyone have any ideas of how to fix this issues.  I found some threads 
 about this issue and other people experiencing it, but no solutions or help 
 from Adobe on a permanent fix.

 Thanks,
 Brian Cain

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353305
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm