[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 698
  • Last Modified:

Eclipse Helios, DB Perspective, DB Hookup problems to SQLServer

Hello I am not able to connect my Eclipse Helios to JDBC with the SQLServer information that I have on hand.

I am used to working with a different version of MyEclipse not Eclipse Helios.

I was wondering how I can get a DB perspective in Eclipse Helios so that I can begin to describe the problems I am having with the JDBC DB not hooking up to Eclipse Helios.

If you could break it down into steps it would help me.

Thanks,
M
0
Midani22
Asked:
Midani22
  • 2
1 Solution
 
Sathish David Kumar NCommented:
its not depend on you IDE .... wether it eclipse or my eclipse you need to write the code to connect ...
0
 
gudii9Commented:
Looks like Helios supported capability issue.  Make sure to download and use right version
0
 
Midani22Author Commented:
I am using Eclipse-SDK-3.1-win32
0
 
gudii9Commented:
Check this interesting link, explanation

The Eclipse Data Tools Platform (DTP) is a standard Eclipse plugin that you can use to perform most database development and query functions. The DTP plugin supports several database platforms via JDBC, including Derby, Oracle, MS SQL, Postgres, Sybase ASA, Flat Files, XML Data, Web Services, and more. This post covers connecting to MySQL and basic DTP features.

Requirements
I'll assume that you're comfortable installing Eclipse and Eclipse plugins . I'm also assuming that you've used Eclipse for a bit and have at least one project defined. Here's what you'll need before we get started.

Eclipse with the DTP plugin, I'm running Eclipse 3.3 which came bundled with DTP version 1.5.0.
MySQL JDBC Driver, I'm using Connect/J 5.1.
MySQL Server version 4 or 5 running on localhost or a remote host that allows remote connections.
MySQL user account with a database or privileges to create databases.
Install a JDBC Driver
Installing Eclipse and DTP does not install JDBC drivers. You must install the appropriate driver for the database server you're using. You can usually get drivers from the vendor. I downloaded the MySQL Connector/J.

Visit http://dev.mysql.com/downloads/connector/
Select 'Connector/J' in the left menu, then select a version. I used version 5.1.
Download the source and binaries and save somewhere that makes sense for your OS. I dropped mine in /Library/Java/Extensions on my Mac.
Create a Driver Template and Connection Profile
Next, create a driver template and a connection profile. You'll be able to reuse this template when creating future connection profiles.

Select File > New > Other
Expand Connection Profiles and select Connection Profile, Next >
Select Generic JDBC Connection, Next >
http://2tbsp.com/node/86
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now