These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Please give me a Sample
PostPosted: Sun Mar 11, 2007 4:57 am 
Newbie

Joined: Sun Feb 25, 2007 5:02 am
Posts: 5
Hi again.

I'm confused with configurating NHibernate with MySQL.
I'm using Visual Studio 2005(ASP.NET 2.0), MySQL 5, and NHibernate 1.0.4, can you give me a sample ASP.NET or WebService project that is configured as needed, that i just open and it start working. Or the structure of file system, for example where should i put Persistent classes, and mapping XML files.

here is the connection string:
Code:
connectionString = "Server=localhost;Database=test;User ID=user;Password=pass";


Top
 Profile  
 
 Post subject: To be honest
PostPosted: Sun Mar 11, 2007 1:01 pm 
Regular
Regular

Joined: Sun Jan 21, 2007 4:33 pm
Posts: 65
There are plenty of sample applications on the internet, I recommend googling 'NHibernate Application' or 'Nhibernate C#' or 'Nhibernate ASP.NET'. This forum, for all its strengths, is not a place to ask for help on such a basic task. Read the documentation, read the available resources given in the 'quick start' guide on the site (not to mention the numerous miscellanous resources), and then when you need help with a specific problem (for example, NHibernate throws a Mapping Exception and you can't figure out why) then come back and we'll help you if able.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 11, 2007 1:29 pm 
Regular
Regular

Joined: Sun Jan 21, 2007 4:33 pm
Posts: 65
FWIW, this is a good resource to check: http://hibernate.org/365.html


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 13, 2007 10:49 am 
Newbie

Joined: Tue Mar 13, 2007 9:44 am
Posts: 1
Hi,

Checkout VersoORM, which includes a Sample ASP.NET application including a Web Installer, a framework to store persistent classes(C# objects) and NHibernate XML Mapping files and includes a sample connection string.

This will give you everything you need to get up and running.

VersoORM - http://sourceforge.net/projects/verso/

VersoORM is a Sample application and Web Framework for NHibernate
in C#. This is an open source project hosted on SourceForge.

Believing in a supporting a much wider community this ASP.NET
application was developed for both .NET Framework 1.1 and .NET Framework
2.0.

The .NET Framework 1.1 version will open in Visual Studio.NET 2003
and .NET Framework 2.0 will open in Visual Studio.NET 2005

Thanks,

John Haigh


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.