in

 

Browse by Tags

  • Converting Columns To a Collection with a Nhibernate UserType

    For some of you who have been using Nhibernate for a while, may found this old news, but I thought this was coolest thing ever (at least this week). I am working with a legacy database that is,.. unpleasant (yeah we'll go with that). I'm adding a new feature that is using a table with the following...
    Posted to John Teague's Blog (Weblog) by jcteague on 08-28-2008
  • Strategies and discriminators in NHibernate

    I recently posted about enumeration classes , and how I like to use them as a sort of "Enumerations with behavior". Not every enumeration should be replaced with a class, but that pattern helps quite a bit when I find a lot of switch statements concerning my enumeration. Often, these strategies...
    Posted to Jimmy Bogard (Weblog) by bogardj on 08-26-2008
  • Parameter lists in NHibernate

    Occasionally I need to return a set of entites that match a collection of parameters. In SQL, I would use the "IN" clause, then manually create each parameter in ADO.NET. With NHibernate, that's not necessary anymore. NHibernate has built-in capabilities for a collection parameter, creating...
    Posted to Jimmy Bogard (Weblog) by bogardj on 08-26-2008
  • Why Use ActiveRecordMediator instead of NHibernate

    My blog post on using ActiveRecordMediator to use the Repository pattern with ActiveRecord was discussed on Castle's Forums . A good question was raised in that forum, and other people that I talked to about using the Mediator class: "Why use this instead of NHibernate directly" As mentioned...
    Posted to John Teague's Blog (Weblog) by jcteague on 05-27-2008
  • NHibernate Query Example using CreateCriteria

    I'm a big fan of NHibernate. I love how it abstracts out the data portion of your application and allows you to work from the perspective of the domain rather than the database. So in building my domain repositories, I have several options to query the database using NHibernate: I can use HQL in...
    Posted to Whoa, Nellie.NET! (Weblog) by Nelson Montalvo on 04-13-2008
  • RE: Presentation Model Question

    I've been working on an end to end example using MonoRail (I know, just get it posted Joey!) that can demonstrate one way this can be implemented and JP has given me the green light to get it posted even though he's working in some sample code as well. (I'm sure his example will be much better...
    Posted to joeyDotNet (Weblog) by joeyDotNet on 09-29-2007
  • Quick Background on my current CICS integration project

    I'm currently working on a stop-gap legacy integration project that is geared toward data integration between a legacy CICS system and a new 3rd party product. I have 2 major tasks in this project, the first being a web application for bulk data entry into both systems simultaneously and the second...
    Posted to Bytes of Wisdom (Weblog) by jlockwood on 08-31-2007
  • CLOBbered again!

    Hey all, I'm currently working on an NHibernate on Oracle project and ran into the first problem with CLOBs that I've had in some time. I was trying to use a property that mapped to a CLOB in a Example instance for a session Criteria object. No dice. Oracle complained saying this: System.Data...
    Posted to Bytes of Wisdom (Weblog) by jlockwood on 08-28-2007
  • SQL Server CE - Great for prototyping and testing

    Background Yesterday I put together a simple POC app for my team lead who needed to see Spring.NET + NHibernate in action (no, not the book ) for a client. Even though these days I'm using the Castle stack for most of my IoC/DI and mini-framework needs, it was interesting to see how far Spring.NET...
    Posted to joeyDotNet (Weblog) by joeyDotNet on 06-29-2007
  • NHibernate Mapping Validation Tool?

    Writing my last post got me thinking... Surely someone has written an automated script or tool that could examine NHibernate mapping files and verify all the items I pointed out in my previous post . Or maybe even, another step further, also make sure the column names specified in the mapping files actually...
    Posted to joeyDotNet (Weblog) by joeyDotNet on 05-24-2007
Page 1 of 3 (27 items) 1 2 3 Next >
Copyright Los Techies 2007. All rights reserved.
Powered by Community Server (Commercial Edition), by Telligent Systems