Java
  Home arrow Java arrow Page 5 - Connecting to SQL 2005 Server from the Jav...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVA

Connecting to SQL 2005 Server from the Java Studio Creator
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2006-08-29

    Table of Contents:
  • Connecting to SQL 2005 Server from the Java Studio Creator
  • Reviewing the Java Studio Creator IDE
  • Connecting to SQL 2005 Server
  • Fixing the connectivity problem
  • Modifying a configured data source

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Connecting to SQL 2005 Server from the Java Studio Creator - Modifying a configured data source


    (Page 5 of 5 )

    In this section a similarly configured data source named 2K5Java which also had a warning as to the size of the validation table will be modified. The plan is to create a validation table that will make the warning received go away. Right click the 2K5Java node and pick Modify Data Source... to display this next window which shows that the data source 2K5Java is being modified with an existing table, Argentina.

    Although a table with no rows is also acceptable, a table called TestValid with just one row as shown was created in the SQL 2005 Server.

    This appears in the Sun Java Studio Creator as shown here.

    In the Modify Data Source window, click on the Select button which brings up the window Select Validation Table with two tables as shown.

    Select TestValid and click on the button Select. The Modify Data Source pops up showing that the validation table now points to the table TestValid instead of Argentina (this screen shot is not shown).

    Now test this connection and you see the following display.

    Summary

    Connecting to SQL Server 2005 from the Sun Java Studio Creator 2 is just as easy as it was from the "Early Access" edition to SQL 200 Server. The Validation Feature did not exist in the previous version in the build used at that time. Now there is an added requirement to create a validation table in the target database. This may however improve the overall performance.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · It is an ideal medium to develop Rich Client Applications. The database and web...
     

    JAVA ARTICLES

    - Deploying Multiple Java Applets as One
    - Deploying Java Applets
    - Understanding Deployment Frameworks
    - Database Programming in Java Using JDBC
    - Extension Interfaces and SAX
    - Entities, Handlers and SAX
    - Advanced SAX
    - Conversions and Java Print Streams
    - Formatters and Java Print Streams
    - Java Print Streams
    - Wildcards, Arrays, and Generics in Java
    - Wildcards and Generic Methods in Java
    - Finishing the Project: Java Web Development ...
    - Generics and Limitations in Java
    - Getting Started with Java Web Development in...






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
    Stay green...Green IT