I'm new to java, and am not familiar with it's driver hook ups.
I assume it's jdbc... something, but Im not sure.
Main Topics
Browse All TopicsCan someone show me a sample properties file that would connect Hibernate to a SQL Server database?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
go thruogh the tutorial in roseindia.net it will be a step by step one.
the reason i mentioned about the database in my post is most of the tutorial will be based on mysql as the database. so whatever db the tutorial uses you can use mssql by just changing the dialect in the configuration file.
apart from this the tutorial will be the same for all db.
Business Accounts
Answer for Membership
by: contactkarthiPosted on 2008-02-14 at 10:57:09ID: 20896045
this is a good one for hibernate
ibernate/i ndex.shtml
hibernate/ introducti on_to_hibe rnate.htm
te.dialect .MySQLDial ect</prope rty>
ialect Dialect rmixDialec t esDialect rbaseDiale ct tbaseDiale ct greSQLDial ect iDialect erverDiale ct LDialect leDialect le9Dialect ressDialec t tbaseDiale ct BDialect seDialect seAnywhere Dialect
http://www.roseindia.net/h
http://www.allapplabs.com/
the only change you need to know is you need to change the dialect in the hibernate config file based on the database. others remain the same
<property name="dialect">org.hiberna
DB2 - org.hibernate.dialect.DB2D
HypersonicSQL - org.hibernate.dialect.HSQL
Informix - org.hibernate.dialect.Info
Ingres - org.hibernate.dialect.Ingr
Interbase - org.hibernate.dialect.Inte
Pointbase - org.hibernate.dialect.Poin
PostgreSQL - org.hibernate.dialect.Post
Mckoi SQL - org.hibernate.dialect.Mcko
Microsoft SQL Server - org.hibernate.dialect.SQLS
MySQL - org.hibernate.dialect.MySQ
Oracle (any version) - org.hibernate.dialect.Orac
Oracle 9 - org.hibernate.dialect.Orac
Progress - org.hibernate.dialect.Prog
FrontBase - org.hibernate.dialect.Fron
SAP DB - org.hibernate.dialect.SAPD
Sybase - org.hibernate.dialect.Syba
Sybase Anywhere - org.hibernate.dialect.Syba