473,406 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

llblgen, ORMapper, nhibernate

Rob
We are starting a new fairly big project based on the typical 3-tier
approach (db, business, GUI layer). I have limited experience in that field
but from my experience all the stored procedures, com object, etc is quite
cumbersome and error prone. Therefore, I am currently looking into some OR
Mappers. I did a very simple sample project with Wilson's ORMapper. It seems
to me ORMappers are exactly what I am looking for.

In any case, I have been looking around and think I would like to go either
with llblgen, ORMapper (probably combined with CodeSmith) or nhibernate.org.
Some of the "requirements" I have are:

*It has to work with .NET2.0

*If the tool has a code generator it must be possible to have specialized
sections, i.e. I can re-run the code generator without it overwriting my
specialized sections.

*It must be possible to integrate the build process with the rest of the
project

*Preferably, the classes do not have to inherit from a base class

*Preferably, it will be close to ObjectSpaces (if it ever comes out) so that
a transition is easier to achieve.

*The mapper does not force me to give certain access rights to the class
methods and properties, i.e. if I want come of them private I should be able
to do so.

*Support for joins

*Support for MS SQL

*I don't care if the learning curve is a bit steep as long as there is good
documentation on forums.

So my questions are:

Which of the above tool is most suitable for these requirements?

As mentioned I am relatively new to all this so what else should I be
looking for in an ORMapper?

Best Regards,

Rob

Jul 21 '05 #1
8 2690
NHibernate has everything you ask for.
Read the book 'Hibernate in Action' from Manning.
They discuss the Java version, but because the book mostly discuss the
theory about it, it also is a good book for NHibernate.

Best Regards,
Arjen de Blok.

"Rob" <fa**@fake.com> wrote in message
news:9v*****************@newsread3.news.pas.earthl ink.net...
We are starting a new fairly big project based on the typical 3-tier
approach (db, business, GUI layer). I have limited experience in that
field
but from my experience all the stored procedures, com object, etc is quite
cumbersome and error prone. Therefore, I am currently looking into some OR
Mappers. I did a very simple sample project with Wilson's ORMapper. It
seems
to me ORMappers are exactly what I am looking for.

In any case, I have been looking around and think I would like to go
either
with llblgen, ORMapper (probably combined with CodeSmith) or
nhibernate.org.
Some of the "requirements" I have are:

*It has to work with .NET2.0

*If the tool has a code generator it must be possible to have specialized
sections, i.e. I can re-run the code generator without it overwriting my
specialized sections.

*It must be possible to integrate the build process with the rest of the
project

*Preferably, the classes do not have to inherit from a base class

*Preferably, it will be close to ObjectSpaces (if it ever comes out) so
that
a transition is easier to achieve.

*The mapper does not force me to give certain access rights to the class
methods and properties, i.e. if I want come of them private I should be
able
to do so.

*Support for joins

*Support for MS SQL

*I don't care if the learning curve is a bit steep as long as there is
good
documentation on forums.

So my questions are:

Which of the above tool is most suitable for these requirements?

As mentioned I am relatively new to all this so what else should I be
looking for in an ORMapper?

Best Regards,

Rob

Jul 21 '05 #2
Have a read of http://www.asplications.com.au/GenieWhitePaper.pdf. It
describes a holistic methodolgy for developing webservice deployed apps. No
code generation, just lots of metadata. Secure and scalable deployment.
Beware though, its a tad unusual. Diagrams included, and a few live sites
running ERP as a webservice.

"Rob" <fa**@fake.com> wrote in message
news:9v*****************@newsread3.news.pas.earthl ink.net...
We are starting a new fairly big project based on the typical 3-tier
approach (db, business, GUI layer). I have limited experience in that field but from my experience all the stored procedures, com object, etc is quite
cumbersome and error prone. Therefore, I am currently looking into some OR
Mappers. I did a very simple sample project with Wilson's ORMapper. It seems to me ORMappers are exactly what I am looking for.

In any case, I have been looking around and think I would like to go either with llblgen, ORMapper (probably combined with CodeSmith) or nhibernate.org. Some of the "requirements" I have are:

*It has to work with .NET2.0

*If the tool has a code generator it must be possible to have specialized
sections, i.e. I can re-run the code generator without it overwriting my
specialized sections.

*It must be possible to integrate the build process with the rest of the
project

*Preferably, the classes do not have to inherit from a base class

*Preferably, it will be close to ObjectSpaces (if it ever comes out) so that a transition is easier to achieve.

*The mapper does not force me to give certain access rights to the class
methods and properties, i.e. if I want come of them private I should be able to do so.

*Support for joins

*Support for MS SQL

*I don't care if the learning curve is a bit steep as long as there is good documentation on forums.

So my questions are:

Which of the above tool is most suitable for these requirements?

As mentioned I am relatively new to all this so what else should I be
looking for in an ORMapper?

Best Regards,

Rob

Jul 21 '05 #3
Rob
Arjen de Blok,

Thanks for the input. I have been searching for books about Hibernate before
your post. There were two that people were fond of. One of them was
"Hibernate in Action" so now I have ordered it. Hopefully that will give me
some more insight with this program. I have heard very good things about it
but I am hesitating a bit because it's in beta stage and it might not be
very compatible with ObjectSpaces (if it ever comes out...)

Regards,
Rob
"Arjen de Blok" <ho**@ajdeblok.com> wrote in message
news:aL******************@amsnews02.chello.com...
NHibernate has everything you ask for.
Read the book 'Hibernate in Action' from Manning.
They discuss the Java version, but because the book mostly discuss the
theory about it, it also is a good book for NHibernate.

Best Regards,
Arjen de Blok.

"Rob" <fa**@fake.com> wrote in message
news:9v*****************@newsread3.news.pas.earthl ink.net...
We are starting a new fairly big project based on the typical 3-tier
approach (db, business, GUI layer). I have limited experience in that
field
but from my experience all the stored procedures, com object, etc is quite cumbersome and error prone. Therefore, I am currently looking into some OR Mappers. I did a very simple sample project with Wilson's ORMapper. It
seems
to me ORMappers are exactly what I am looking for.

In any case, I have been looking around and think I would like to go
either
with llblgen, ORMapper (probably combined with CodeSmith) or
nhibernate.org.
Some of the "requirements" I have are:

*It has to work with .NET2.0

*If the tool has a code generator it must be possible to have specialized sections, i.e. I can re-run the code generator without it overwriting my
specialized sections.

*It must be possible to integrate the build process with the rest of the
project

*Preferably, the classes do not have to inherit from a base class

*Preferably, it will be close to ObjectSpaces (if it ever comes out) so
that
a transition is easier to achieve.

*The mapper does not force me to give certain access rights to the class
methods and properties, i.e. if I want come of them private I should be
able
to do so.

*Support for joins

*Support for MS SQL

*I don't care if the learning curve is a bit steep as long as there is
good
documentation on forums.

So my questions are:

Which of the above tool is most suitable for these requirements?

As mentioned I am relatively new to all this so what else should I be
looking for in an ORMapper?

Best Regards,

Rob


Jul 21 '05 #4
Rob
Lance,

Thanks a lot for your reply. Actually, I tend to avoid products that lock me
in too much. I wish MS did come out with their ObjectSpace. Very
unfortunately as it stands right now it's too far a stretch. Not only is it
delayed so much but its requirements are too much to deploy it anytime soon
after it has been released. On the other hand I do not want to go the 'old'
way because I really think the 'new' way is a much better approach. I was
looking very hard at the (Wilson) ORMapper. What did convience me a lot
about this product is the price, the extremly good support(!!), and the fact
that this mapper is probably one of the closest to ObjectSpaces which would
make a transition relatively painless. Nevertheless, there are a few reasons
why I tend to go the NHibernate way. First of all it is based on the very
successful Hibernate and not just some new project that you don't know how
it's going to turn out. Second it has a quite extensive community
contributing to the product. Also if there is an important issue it's much
easier to convience this community to integrate your new features into the
product then it would be with a commercial company.

I also

"LTofsrud" <LT******@discussions.microsoft.com> wrote in message
news:57**********************************@microsof t.com...
Hi Rob,

Personally, in any large scale production system, I would avoid using any
sort of a code generator. I just came off an enterprise level project and I also looked into all of the ones you suggested.

My biggest problem with most of the commercially available OR mappers is
that they like to mark up your code with attributes which essentially locks you into their product for the long haul. Having been watching the market, you usually see that not many of them last for long either which could make maintenance a bigger pain than it needs to be.

NHibernate: While the Java equivalent is among the best, the .NET one is
barely into its Beta cycle. I think that it will be good once it gets a bit more steam but I don't think I would rely on it yet.

Llblgen: I downloaded a demo of this product and with all of the markup and code generation involved, I didn't feel that I was aware totally of what it was doing for me. I typically avoid code generators though; I prefer to do it myself. That aside, they definitely offer a wide range of DB support.

ORMapper: I am not sure if you are referring to the Wilson ORMapper one, or any of the others that go by the same moniker...

I guess if I narrowed it down, just avoid products that avoid code
generators or mark up your code to a great extent. That way, if you ever
need to switch, it shouldn't be too painful. Most people get caught on the term "OR Mapper" and don't realize that some products generate the data
access tier for your, while others just provide a means to map database
columns to object properties. I believe that the later is the safest route to go.

Personally, I find SqlMaps from iBATIS the best mapper out there right now
since it is nothing more than creating mapping files that relate DB columns to object properties. I would suggest that you check it out, download it and create a couple of spikes to make sure it works with 2.0. The documentation is finally in a readable state, they are moving towards Apache incubator
status and with it supporting both Java and .NET platforms, there is only
room for growth. Best of all, its effective and free.

Good luck on your project. I hope I didn't muddy the water.

Lance

"Rob" wrote:
We are starting a new fairly big project based on the typical 3-tier
approach (db, business, GUI layer). I have limited experience in that field but from my experience all the stored procedures, com object, etc is quite cumbersome and error prone. Therefore, I am currently looking into some OR Mappers. I did a very simple sample project with Wilson's ORMapper. It seems to me ORMappers are exactly what I am looking for.

In any case, I have been looking around and think I would like to go either with llblgen, ORMapper (probably combined with CodeSmith) or nhibernate.org. Some of the "requirements" I have are:

*It has to work with .NET2.0

*If the tool has a code generator it must be possible to have specialized sections, i.e. I can re-run the code generator without it overwriting my
specialized sections.

*It must be possible to integrate the build process with the rest of the
project

*Preferably, the classes do not have to inherit from a base class

*Preferably, it will be close to ObjectSpaces (if it ever comes out) so that a transition is easier to achieve.

*The mapper does not force me to give certain access rights to the class
methods and properties, i.e. if I want come of them private I should be able to do so.

*Support for joins

*Support for MS SQL

*I don't care if the learning curve is a bit steep as long as there is good documentation on forums.

So my questions are:

Which of the above tool is most suitable for these requirements?

As mentioned I am relatively new to all this so what else should I be
looking for in an ORMapper?

Best Regards,

Rob

Jul 21 '05 #5
U can use versant open access
they are big company. and they will support the visual studio 2005 beta
2 when it is relased...
and it has got the interface...
u will work with OQL (Object query language)
Objectspaces... U havve to wailt for it.. in 2008 maybe u can use..
Hibernate is great.. and very big project.. but it is for java
NHibernate.. its same hibernate.. but it hasnt got a big past like
Hibernate...

I prefer to use versant.. becouse they are in OODB... so they are
really big...

Jul 21 '05 #6
Hi,

in our project we are using TechTalk's Genome (http://www.genom-e.com)
o/r mapping framework.
* SQL-Server and Oracle support
* Query language is some sort of OQL (related to c#)
* mapping layer is generated as a post-build step
* performant
* brings several framework extensions (like an optimized Web Datagrid or
enhancements for supporting webservices)...

As far as I know they will support .NET 2 (or they already are!).
From my point of view, Genome is a very reliable and performant
framework and I think it's worth looking at.

regards,
Wolfgang


UnquaLe wrote:
U can use versant open access
they are big company. and they will support the visual studio 2005 beta
2 when it is relased...
and it has got the interface...
u will work with OQL (Object query language)
Objectspaces... U havve to wailt for it.. in 2008 maybe u can use..
Hibernate is great.. and very big project.. but it is for java
NHibernate.. its same hibernate.. but it hasnt got a big past like
Hibernate...

I prefer to use versant.. becouse they are in OODB... so they are
really big...

Jul 21 '05 #7
UnquaLe wrote:

Hi,

in our project we are using TechTalk's Genome (http://www.genom-e.com)
o/r mapping framework.
* SQL-Server and Oracle support
* Query language is some sort of OQL (related to c#)
* mapping layer is generated as a post-build step
* performant
* brings several framework extensions (like an optimized Web Datagrid or
enhancements for supporting webservices)...

As far as I know they will support .NET 2 (or they already are!).
From my point of view, Genome is a very reliable and performant
framework and I think it's worth looking at.

regards,
Wolfgang

U can use versant open access
they are big company. and they will support the visual studio 2005 beta
2 when it is relased...
and it has got the interface...
u will work with OQL (Object query language)
Objectspaces... U havve to wailt for it.. in 2008 maybe u can use..
Hibernate is great.. and very big project.. but it is for java
NHibernate.. its same hibernate.. but it hasnt got a big past like
Hibernate...

I prefer to use versant.. becouse they are in OODB... so they are
really big...

Jul 21 '05 #8


I want that you also take a look at:

http://www.alachisoft.com/download.htm

I hope you find it cool tool.

*** Sent via Developersdex http://www.developersdex.com ***
Jul 21 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Rob | last post by:
We are starting a new fairly big project based on the typical 3-tier approach (db, business, GUI layer). I have limited experience in that field but from my experience all the stored procedures,...
1
by: szRoyman | last post by:
Anyone who got the experiences on Wilson's ORMapper, please give me some suggestions . really urgent, I wanna build a web application for move out the database's name,table,fields,procedures.. I...
0
by: Aquila Deus | last post by:
The documents on their website are completely wrong. Following is the a real example that works with NHibernate 1.0.2.0: <?xml version="1.0" encoding="utf-8"?> <configuration...
1
by: erin.sebastian | last post by:
Hello All, I am new to hibernate and new to nHibernate. I created a small app and when i try and run it i get the error i posted at the bottom of this message. I am using the helper class that...
5
by: gaddoz | last post by:
Hi all, I'm trying to set up a .NET webservice using in data access layer Nhibernate (nhib 1.2.0 beta). The first trouble I met was that a webservice cannot serialize Interfaces, like IList<>....
0
by: beantaxi | last post by:
Hello all, I'm trying to write a simple program, using VS C# 2005 Express and SQL Server Express with NHib 1.0.2. No matter what I try, I'm unable to connect: cannot open connection at...
0
by: Pieter | last post by:
Hi, I'm using NHibernate 1.2 (CR1), and I'm using a custom list (inherited from BindingList(Of T) ) for all my lists. The NHibernate documentation told me that I had to implement...
4
by: IceMan | last post by:
Hi, I am using the configuration object and passing it a Assembly object to load. The assembly object i pass in is from a dll which is in a different folder then the Nhibernate dll. The...
14
by: thj | last post by:
Hi, I was wondering what you guys are using and why? LINQ to SQL or NHibernate? Thanks in advance, Tommy
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.