To Hibernate or Not??  Using CF's ORM a good move?

Hi,
I've always gotten by fine by writing stored procedure calls in my CF apps and have never really tried using an ORM to manage things and was wondering what others experiences are?  It seems like I would like some of the re-use of my stored procedures if I go with an ORM.  I could be wrong here so please let me know.  I'm interested to hear what folks think of CF9's ORM functionality.
Thanks,
-Westside

I spent ages learning the ORM stuff when it came out in CF9, thinking it was going to be the absolute everything, and why would you ever go back to write your own queries.
That was about a year ago and I've used it once, to knock up an address book app for my parents. And even that was more a proof-of-concept.
Personally I know how to write SQL queries as well as I need to. I understand database tuning to a degree, and run every query I write through Oracle's AutoTrace to make sure I'm utilising indexes and joins as best as possible and to make sure I'm not pulling back any data I don't have to. I found it an alien concept not knowing what was going on at the database level so ended up logging SQL out to text files and examining it manually.
I personally found CF's ORM quite frustrating - certainly back then it was very much in its infancy and there were many times when you'd get back useless error messages (or sometimes, no error at all, just a blank CF error template) or even worse they would be misleading. As my databases tend to be fairly complex I quickly found myself requiring functionality not available through CF, which meant I'd then have to get CF to write the HBMXML files out and edit them manually, which was very annoying as CFCs and HBMXML files got out of sync.
It was extremely hyped up with CF9, but I think it's just too young a tool (in CF terms) to be useful at the moment. Also as Adam pointed out, the Hibernate engine is an absolute beast, and really is technological overkill for the majority of systems.
Unless you have a very simple system with pretty basic mappings, it's almost certainly quicker for yourself to develop a system in a way you understand, and you won't notice any performance difference.

Similar Messages

  • With a laptop MAC is it better to leave it on and asleep or do you need to power down or hibernate when not using?

    I just got a new MacBook Pro. With my netbook, I was told to hibernate or shut down when I was finished. With my PC I was told to turn off the monitor but leave the computer on because each time you shut down and rebooted you wore down the components. My mother is a photographer and keeps her MAC desktop on all the time, and just moves the mouse to bring the screen back to life. She never turns it off unless going out of town. So, with a MacBook (MAC laptop) should I keep the laptop on all the time and just take it out of sleep when I need it, or should I shut down and re-boot in the morning?  Thanks.

    it's actually up to you.  I leave mine turned on all the time and just close the lid when i'm not using it.
    if however, you will not use it for days, it's best to power it off.
    not the same was windows laptop where we were always told to turn it off.
    again, this is user preference.

  • My MBP won't hibernate when not using

    When I'm not using my MBP, it won't shut down after a period of inactivity. It will just eventually run out of battery and shut down.
    This means that if I levave it alone for a while, when I pick it up agian it's run out baterry.
    I've checked my settings, and this is what they look like:
    So I guess it should be hibernating, but it's not.
    Any tips on how to fix this?
    Thanks!

    Hi,
    Since Out of office Automatic replies can be set and work well in OWA and Cached mode, it indicates that the OOF configuration in Exchange is correct. It should be a Outlook issue.
    Additionally, Online Mode works by using information directly from the server. Mailbox data is only cached in memory and never written to disk. It would be influenced by the network adapter speed and server connection. Therefore, please
    start Outlook in safe mode to disable some add-ins and try setting OOF again in Online mode.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Not able to see the documented goods movement

    Hi ,
    The Problem is I cannot see the documents against the same combination of the order type and Plant for Ceratin period but can see the documented goods movements against the same orders for some other period.

    Hi,
    Check in OPL8, whether the Documented Goods Movemets is maintained or not.
    This in the Second Tab page: Implementation.
    Revert for further discussion..
    Regards,
    Siva

  • HT1390 Does it use data to watch a rented movie from iTunes on IPad? Is it streaming or just downloaded?

    Does it use data to watch a rented movie from iTunes on IPad? Is it streaming or just downloaded?

    You must get the movie onto your iPad somehow. If you download it while on Wi-Fi you will not use cellular data. Once the movie has been downloaded you will not use cellular data or Wi-Fi.

  • Goods receipt inbound delivery using old goods movement transactions

    Hi! I have a client who is still using the old goods movement transactions in the new ECC system. I would like to confirm whether it is possible at all to receipt inbound delivery (from shipping notification) using any of the old goods movement transactions? I don't seem to be able to find one that work.
    Cheers!
    SF

    Yes, does anyone have any idea re this?
    Cheers!
    SF

  • Is there a way to hibernate tab groups so that they do not use RAM memory?

    Is there a way to hibernate tab groups so that they do not use RAM memory? I have a lot of tabs open and have organized them into tabgroups but my computer still uses a lot of the RAM on mozilla. Can I hibernate some of the tabgroups in any way?

    There was a bug filed in 2010, but it seems like it's halted.
    *https://bugzilla.mozilla.org/show_bug.cgi?id=591775 <sub>Please don't comment on bug reports. See [https://bugzilla.mozilla.org/page.cgi?id=etiquette.html Bugzilla etiquette]
    I found an extension that might do this, but it's incompatible for me (Nightly in Linux)
    *https://addons.mozilla.org/en-US/firefox/addon/bartab/

  • Jdevloper11g+weblogic integrated server  -Hibernate jars not loading

    I'm trying to call Session bean from manged bean.Session bean internall calls Hibernate DAO.
    I did project setup and everything looks OK.But keep getting Hibernate calsses not found error when i try to run jsp page.
    Please advise me..how to load hibernate jars into integrated weblogic.
    My environment
    Jdev11g
    Oracle10g
    Ejb3
    Hibernate3
    JSF
    Thanks
    Kalee

    When you define the library settings for Hibernate, don't use "Include Jar" but create a new library, eg Project scope, and check the Default Deployment check box.
    --olaf                                                                                                                                                                                                                                                                                                                                                           

  • I am having a data excess usage issue with my Jetpack although I did not use the VZW network at all.

    Background: My home does not have access to landline internet and I am relying on a Verizon Jetpack device rather than satellite cable for internet access.  Within my JetPack wireless network I have several devices connected, iPADs, PC’s, printer, etc. (up to 5 devices can be connected with my system).  Recently, I had one device within my immediate wireless network that I needed to transfer data via FTP to another local device within my immediate network.  The receiving device FTP’d data from device (198.168.1.42) to local IP (address 192.168.1.2).  To understand the data path a Trace rout for this transfer is 198.168.1.42 (source) to 198.168.1.1 (Jetpack) to 192.168.1.2 (receiver).  Note that the VZW network ((cloud)/4G network) was NOT used in this transfer nor was any VZW bandwidth used for this transfer (of course less the typical overhead status/maintenance communications that happen regardless). Use of the VZW bandwidth would be something like downloading a movie from Netflix, (transferring data from a remote site, through the VZW network, into the Jetpack and to the target device).  I also understand if ones devices have auto SW updates that would also go against the usage as well.  I get that.  My understanding of my usage billing is based data transfer across the VZW network.
    Now to the problem: To my surprise I was quite substantially charged for the “internal” direct transfer of this data although I didn’t use the VZW network at all.  This does not seem to be right, and doesn’t make much sense to me.  Usage is should be based on the VZW network not a local Wi-Fi.  In this case, Verizon actually gets free money from me without any use of or impact to the VZW network.  Basically this is a VERY expensive rental for the jetpack device, which I bought anyway.  Considering this, I am also charged each time I print locally.  Dive into this further, I am also interested in knowing what is the overhead (non-data) communications between the jetpack router and devices and how much does that add up to over time?
    Once I realized I was getting socked in bandwidth, as a temp solution I found an old Wi-Fi router, created a separate Wi-Fi network off the Jetpack, but the billing damage was already done.  Switching each device back and forth to FTP and print is a hassle and there should be no reason the existing hardware couldn’t handle this and charges aligned with VSW usage. Is purposely intended by Verizon? Is this charging correct? And can I get some help with this?
    Logically, usage should be based on VZW network usage not internal transfers.  All transfers between IP addresses 192.168 are by default internal.  Any data that needs to leave the internal network are translated in to the dynamic IP addresses established by the VZW network.  That should be very easily detected for usage. In the very least, this fact needs to be clearly identified and clarified to users of the Jetpack.  How would one use a local network and not get socked with usage charges?  Can one set up a Wi-Fi network with another router, hardwire directly from the router to the Jetpack so that only data to and from the VZW network is billed? I might be able to figure out how to have the jetpack powered on but disable the VZW connection, but I don’t want to experiment and find out that the internal transfers are being logged and the log sent after the fact anyway once I connect…. A reasonable solution should be that users be able to use the router functions of the Jetpack (since one has to buy the device anyway) and only be billed for VZW usage.
    Your help in this would be greatly appreciated. Thanks

    i had one mac and spilt water on it, the motherboard fried so i had to buy a used one...being in school and all. it is a MC375lla
    Model Name:
    MacBook Pro
      Model Identifier:
    MacBookPro7,1
      Processor Name:
    Intel Core 2 Duo
      Processor Speed:
    2.66 GHz
      Number of Processors:
    1
      Total Number of Cores:
    2
      L2 Cache:
    3 MB
      Memory:
    8 GB
      Bus Speed:
    1.07 GHz
      Boot ROM Version:
    MBP71.0039.B0E
      SMC Version (system):
    1.62f7
      Hardware UUID:
    A802DE22-1E57-5509-93C5-27CEF01377B7
      Sudden Motion Sensor:
      State:
    Enabled
    i do not have a backup of it, so i am thinking about replacing my old hard drive from the water damaged into this one, not even sure if that would work, but it did not seem to be damaged, as i recovered all the files i wanted off of it to put onto this mbp
    the previous owner didnt have it set to boot, they had all their settings left on it and tried to edit all the names on it, had a bunch of server info and printers etc crap on it.  i do not believe he edited the terminal system though--he doesnt seem to terribly bright(if thats possible)
    tbh i hate lion compared to the old one i had, this one has so many more issues-overheating,fan noise, cd dvd noise
    if you need screenshots or data of anything else as away
    [problem is i do not want to start from scratch if there is a chance of fixing it, this one did not come with disks or anything like my first. so i dont even know if i could, and how it sets now i am basically starting from scratch, because now all my apps are reset but working, i am hoping to get my data back somehow though, i lost all of my bookmarks and editing all my apps and setting again would be a pain

  • Unable to load project after delete some path with files but not used at all

    Im using the demo of Premiere Pro CC last demo download today.
    All the fuc**ng day editing some videos, and saved, then I deleted som efolder containing some video files (almost not used) then when I try to open premiere the project I were working, premiere opens, load and freezes and nothing happens, it keeps on the main area withouht any windows, and I cant get my 10 hours of work What happening with thei premiere ? And Im unable to open the project in Premiere CC 7.0 from another computer as saif it was done using new version.
    I NEED A SOLUTION !
    Or never never more use premiere

    I NEED A SOLUTION !
    Don't do this mid stream in EDIT
    ... I deleted som efolder containing some video files (almost not used)...
    TRY  - Go to you Back Up project file or an Auto save and hope that recovers some of your work afterrestoring what you deleted.

  • How do I find a previously passcode to link a wireless keyboard (Model A101urs6) to a Mac Power Book G4 running 10.5.8.  The keyboard was linked at one point in the past, but then not used.  When I am trying to hook it up now, it requires the passcode.

    How do I find a previously passcode to link a wireless keyboard (Model A101urs6) to a Mac Power Book G4 running 10.5.8.  The keyboard was linked at one point in the past, but then not used.  When I am trying to hook it up now, it requires the passcode.  Where can I find this, or is there a general number I can use?

    Hello, and welcome to Apple Support Communities!
    Try entering four zeroes.

  • TS1368 I want to delete a lot of things childrens stories, albums which are not used which that are on my ipad. However when I go through Itunes it wont show me most of the stuff in my library. it takes ages to delete one at a time.

    I want to delete a lot of things childrens stories, albums which are not used which that are on my ipad. However when I go through Itunes it wont show me most of the stuff in my library. it takes ages to delete one at a time.
    Can you help please?

    Thanks King_Penguin for taking time to read and reply. 
    I just purchased this movie on Thursday, May 15, so just a few days ago.  I have never had any trouble whatsoever since I have been in Vietnam.  I have downloaded several movies and even music and they have all synced to my respected Apple products except for this purchase. 
    Sorry, I don't quite understand what you mean by studios and different versions.  Could you please explain? 
    I checked my purchased list in my purchase history under my account and there are no hidden items. 

  • Media Encoder CC not using GPU acceleration for After Effects CC raytrace comp

    I created a simple scene in After Effects that's using the raytracer engine... I also have GPU enabled in the raytracer settings for After Effects.
    When I render the scene in After Effects using the built-in Render Queue, it only takes 10 minutes to render the scene.
    But when I export the scene to Adobe Media Encoder, it indicates it will take 13 hours to render the same scene.
    So clearly After Effects is using GPU accelleration but for some reason Media Encoder is not.
    I should also point out that my GeForce GTX 660 Ti card isn't officially supported and I had to manually add it into the list of supported cards in:
    C:\Program Files\Adobe\Adobe After Effects CC\Support Files\raytracer_supported_cards.txt
    C:\Program Files\Adobe\Adobe Media Encoder CC\cuda_supported_cards.txt
    While it's not officially supported, it's weird that After Effects has no problem with it yet Adobe Media Encoder does...
    I also updated After Effects to 12.1 and AME to 7.1 as well as set AME settings to use CUDA but it didn't make a difference.
    Any ideas?

    That is normal behavior.
    The "headless" version of After Effects that is called to render frames for Adobe Media Encoder (or for Premiere Pro) using Dynamic Link does not use the GPU for acceleration of the ray-traced 3D renderer.
    If you are rendering heavy compositions that require GPU processing and/or the Render Multiple Frames Simultaneously multiprocessing, then the recommended workflow is to render and export a losslessly encoded master file from After Effects and have Adobe Media Encoder pick that up from a watch folder to encode into your various delivery formats.

  • How to I get a link with a "Mail to" address to open up a Compose window in my Yahoo mail, rather than in the Mail progrom on my Mac. I do not use the Mac Mail program.

    How to I get a link with a "Mail to" address to open up a Compose window in my Yahoo mail, rather than in the Mail progrom on my Mac. I do not use the Mac Mail program.
    == This happened ==
    Not sure how often
    == always

    Thank you, "the-edmeister" -- You render a great service, one that lifts my spirits.
    Your answer also taught me to be a little more persistent, as I had started looking at Preferences, and just didn't notice the icons (including Applications) at the top of that window that would have led me to my answer.
    Dave

  • Photoshop Elements 8. "Could not use Clone Stamp Tool because of a program error."  Please help.

    Photoshop Elements 8.  "Could not use Clone Stamp Tool because of a program error."  Please help.

    Try this:
    Open your picture file
    Access the clone stamp tool
    Hold down the ALT key on the keyboard and left click on the area from which you wish to clone, then release the ALT key, and click to place the pixels at the destination
    TIPS:
    It is a good idea to open a blank layer at the top in the layers palette, and do the cloning on this layer. Be sure that "sample all layers" at the top is checked. You can change the layer opacity if necessary
    Use the bracket keys next to the letter p on the keyboard to increase & decrease the size of the cursor
    Let us know  how you make out with the error message now.

Maybe you are looking for

  • Problem in ranges

    hello,       i have a screen with a lot of drop down list boxes and input output fields.       if i select from list from listboxes and press 'DISPLAY DETAILS' then i get the record with respect       to the input from a database table(i have usd tab

  • Check this code

    PLEASE compile this code on your pc and add some new items then try to update it using update button and we will see my problem clearly which is: I have a main window ,by clicking on (add new item) , another window open to fill the form on clicking o

  • BSEG Offsetting Entries

    I need to create a report of bseg line items, but I have to ignore the tax line items and the offsetting entries.  Example: Line 1    Offset or Total                   650.00- Line 2    Invoice amt                       600.00 Line 3    Tax amt      

  • Filtering data using sql query

    I am pulling data from a database which is a log of events type data. It consists of entries at a certain time, entry text, and even has an entry type. One of those types is known as "open item." This entry has the potential to be present on multiple

  • Configuring DNS for SCAN to Oracle RAC 11gR2

    Hello Oracle Linux experts I'm trying to install the DNS server on both nodes to RAC on my laboratory I'm following http://prutser.wordpress.com/2010/01/26/how-to-setup-a-private-dns-for-your-virtual-cluster/ My named.conf file. -H hosts.dns -d spaul