-->
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.  [ 3 posts ] 
Author Message
 Post subject: how can i configure datasource in hibernate
PostPosted: Wed Apr 19, 2006 4:40 am 
Beginner
Beginner

Joined: Mon Mar 27, 2006 5:25 am
Posts: 39
Location: India Hyderabad
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

[b]How can i call DataSource in hibernate.
i have a datasource called mysqldb. that is the datasource name.
To utilize these datasource wht are the things to configure in hibernate.cfg.xml. And how to retrive the datasource connectin.

Kindly help me out.

regards
vinny


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 19, 2006 9:37 am 
Expert
Expert

Joined: Tue Dec 07, 2004 6:57 am
Posts: 285
Location: Nürnberg, Germany
Maybe you wanna look at this:
http://www.hibernate.org/hib_docs/v3/re ... ernatejdbc

Especially Table 3.2. should be interesting to you

_________________
Please don't forget to rate


Top
 Profile  
 
 Post subject: wht are the jndi.url and jndi.class
PostPosted: Wed Apr 26, 2006 8:30 am 
Beginner
Beginner

Joined: Mon Mar 27, 2006 5:25 am
Posts: 39
Location: India Hyderabad
Hi Friend,

wht are the jndi.url and jndi.class
in Datasource properties


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.