Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to configure default.properties in J2ee for meran sqlserver driver?  RSS feed

 
ramya
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi!
will anyone please tell me.
how to set driver and datasources for
merant sqlserver driver?
please reply
 
Matt Midcap
Sheriff
Posts: 440
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ramya,
Please see our naming policy here ( http://www.javaranch.com/name.jsp ) - and re-register with a proper name.
Best Regards,
Matt
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just check out the default.properties file where you will find the line
# Merant driver:
#jdbc:sequelink://<host>:<port>/ [SQLServer];Database=<database>
add the line jdbc:s... to the jdbc.datasources property by puting in the <host> ,<port> etc, then you can lookup for jdbc/sequelink in your JNDI lookup.

------------------
Regds.
Mahindrakar
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!