Best Books on JDBC & SQL 2005!!
Currently developing and deploying projects on jdbc and sql using jsp for representations. Kindly , could anyone tell me which book should i refer to get a hook on jdbc. So many things i've to iterate through the database and represent it on the jsp. I want to full grip on jdbc, then only i can make it.
So, please help me out!!
in advance thanks....
Dear Navneet Singh,
TITLE : Pro SQL Server 2005 Database Design and Optimization (Paperback)
AUTHOR : Louis Davidson (Author), Kevin Kline (Author), Kurt Windisch (Author)
Details: http://www.kaldata.com/forums/lofiversion/index.php/t31744.html
URL: http://www.amazon.com/exec/obidos/tg/detail/-/1590595297/
Download: http://rapidshare.de/files/35293246/b-150b01.rar
TITLE : JDBC Metadata, MySQL, and Oracle Recipes: A Problem-Solution
Approach (Expert's Voice in Java) (Hardcover)
AUTHOR : Mahmoud Parsian
Details: http://www.kaldata.com/forums/lofiversion/index.php/t31744.html
URL: http://www.amazon.com/exec/obidos/tg/detail/-/1590596374/
http://rapidshare.de/files/28560633/b-971a01.rar
Regards,
Rengaraj.R
Similar Messages
-
Best Book on ORACLE SQL for a Beginner?
Hi friends ....I have just finished my graduation....(BE ELECTRONICS) .....I am dead serious about mastering ORACLE DATABASE......I have basic idea about ORACLE....Yesterday I just installed Oracle 10g Release 2 for VISTA...I just wanted to know which is the best book for a beginner who want to master ORACLE SQL....?????/
its Tutor as well.....But Last word.......Which is
"the" book for a beginner amongst all the SQL books
suggested by my dear friends........It ALL depends on what your short, medium and long range objectives are.
For example: do you want to be
- an Oracle DBA expert;
- an Oracle database programming expert;
- a general database programming expert with a specialty in Oracle;
- an Oracle application programming expert;
- a general application programming expert?
Personally I would encourage being a general database programming expert with a specialty in Oracle. This is probably the rarest of the group, the least understood, and the most needed in the industry. If you were to follow that path, I'd recommend a very very strong grounding in SQL - which 99% of all programmers I've met do NOT have - before moving forward to any procedural enhancement to SQL (such as PL/SQL, Java, TransactSQL, etc.)
I am the first to propose Tom Kyte's books in the right situations, which usually include:
- dealing with someone already reasonably competent in SQL and development;
- someone who thinks that porting from SQL Server to Oracle is a snap, since they are all 'just different dialects of SQL', or;
- someone who is seriously looking for guidelines on approaching Oracle application development and tuning.
For a complete beginner, my list of books stands in my preferred order (one at a time), with the addition - at the end - of Tom's books. -
What are the best books for PL/SQL and Forms for BEGINNERS?
I asked about learning Oracle Forms in an earlier thread. Some suggested Oracle training at official Oracle Training centers like Koenig. I just went to the Koenig site. The OCA & OCP Forms Developer Training Boot Camp is a whopping 2,610 USD. That’s like 1/4 Million LKR. It’s more that the yearly salary of both the 2 new developers we got and want to train. That’s out of the question.
Some have suggested shadowing experiences programmers and team coding. Both options are out, since those things don't work here.
Learning from sites such as Francois Degrelle's blog is no good for new people since they will get confused.
I have come to the conclusion that the only way to do is to buy 2 books, one for PL/SQL and another for Oracle Forms, give it to them and ask them to follow the book and learn it and also give a time period like 2 or 3 months.
What are the good books out there for BEGINNERS to learn PL/SQL and Forms?
Edited by: Channa on Aug 8, 2010 10:08 PM
Edited by: Channa on Aug 8, 2010 10:12 PMIn addition to the books the chapter Application Developer's Guide - Fundamentals in the documentation is also worth giving a shot:
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/toc.htm
Just for the record: I believe leaving them alone with the books won't do it. I'd at least define objectives (e.g. $chapters of the books in a week) and after they achieved them I'd test their knowledge of the individual objectives (like it was back in school :p ). By that you have control over how they are proceeding, you can focus on the things they didn't understand and you are able to eradicate some bad habits they might adopt during their studies.
If you don't take your time to train them proper you won't get good developers anyway and you will loose much more time and money...
cheers -
What are the best books to purchase for pl/sql programming?
What are the best books to purchase for pl/sql programming?
I am new to this field and I am looking for the best books to help me in pl/sql programming. Can someone please suggest?
ThanksIn my opinion one of the best to start
Oracle PL/SQL Programming, Third Edition
Steven Feuerstein -
CF8 and connection pooling using MS SQL 2005 JDBC Driver
After upgrading one of our production servers to CF8 we're
getting errors under load while connecting to MS SQL 2000 data
bases using the MS SQL 2005 JDBC 1.1 driver instead of the driver
cf8 ships with. The following error is recorded in the logs:
Error Executing Database Query. The TCP/IP connection to the
host has failed. java.net.BindException: Address already in use:
connect
Confirmed by the database statistics, Coldfusion is no longer
pooling the database connections. After changing the data source to
use the build in driver everything works fine. We've been using
this driver and CF7 for some time without this error.
Is this a compatibility issue between the driver and Java 6?
Or is there a conflict between this driver and the build in driver?
Has anyone seen similar issues? We’d like to use this driver
rather then the build in one.
Thanks,
Remy Becherthanks for the answer...I have been waiting for one..I do agree that connection ppooling is same ..but I would appreciate it if someone could point me to some example implemenations using MS JDBC type 4 driver..
Thanks again..
PS: I did search the forum before posting this.. -
Best book or online education on SQL developer data modeler 3.0 version
Hi,
i dont see any OBE for sql developer data modeler the way we have for sql developer, would one of you please suggest the Best book that explains everything about data modeler tool or any other online tutorial for that matter, I am new to this URL and been asked to work on ER (Logical), relational, physical models extensvily.. right away, i will have to build or starts righht from ER/logica and ahead or reverse, forward enginerring. thanks for help friends.Did you look at Data Modeler web page.
There are some online demos and documentation.
Regards,
Ivan Zahariev -
BI JDBC connection failure with MS SQL 2005 - but Portal JDBC is working
I am a portal novice.
I wanted to get tables in the visual composer. so i created the protal jdbc connection to MS SQL 2005. which is working fine.
Later i found i need BI jdbc for retreving tables from sql server. when i followed all the steps in the how to document, my connection test is failing. below is the log.
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the backend application using the connector defined in this system object
Results
Retrieval of default alias successful
Connection failed. Make sure that Single Sign-On is configured correctly
can any help me there please.
- Points will he awarded for inputs.
thanks
-raviSwapnil,
Thanks for the reply, but the thread is completely different from what i am looking for.
can anybody throw some suggestion at my problem
-ravi -
SQL 2005 JDBC 1.1 driver
I tried installing and using the new SQL 2005 JDBC 1.1 driver
and read and followed the technote at
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=ded4216b.
I get multiple error messages each time I try to connect using RDS.
After the messages aredismissed it works ok. The settings I used
for this Datasource were:
1. JDBC URL= jdbc:sqlserver:// SAIC-C549F42BF7 :
1433;DatabaseName=MwsDevSqlServer
2. Driver Class= com.microsoft.sqlserver.jdbc.SQLServerDriver
3. Driver Name= SQL 2005 JDBC 1.1
4. A standard User Name & Password
The previous Datasource I used, which I went back to is a
Microsoft SQL Server driver:
1. Database =MwsDevSqlServer
2. Server=SAIC-C549F42BF7
3. Port= 1433
4. A standard User Name & Password
Ideas to fix?We got the same error while using XA Datasource from the SQL Server 2005 JDBC driver 1.0. The file downloaded is "sqljdbc_1.0.809.102_enu" . We have not installed "Microsoft Distributed Transaction Coordinator", as we are developing custom transaction manager to talk to oracle, sybase and sql server databases in a single transaction. Does SQL Server require the Microsoft Distributed Transaction Coordinator to participate in the two phase commit protocal ?
Joshy
Note:- If you are intereted, check out my 2006 Tax Calculator Applet at http://www.bestonlinetaxpreparation.com/2006TaxCalculator.html . Of Course it does not participate in two phase commit protocol -:) . -
SQL 2005 and Weblogic : JDBC configuration error
All.
What files do I need to modify with classpath, to use SQL 2005 drive. Is this the only I need to modify with classpath: startWebLogic.sh or do I need to modify other files?
Thanks for you help.
I am getting following error :
<Oct 29, 2008 10:34:37 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Oct 29, 2008 10:34:37 AM EDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Oct 29, 2008 10:45:02 AM EDT> <Error> <Console> <BEA-240003> <Console encountered the following error java.lang.ClassNotFoundException: Cannot load driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:500)
at com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:369)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java
Thank you
SayefIn old release, you should update CLASSPATH variable in setWLSEnv.sh or setWLSEnv.cmd.
In 9.x or 10.x, you should update setDomainEnv.sh or setDomainEnv.cmd.
Simon -
Best book on Oracle 9i (Admin & PL/SQL)
Hi,
What's in your point of view the best books about Oracle 9i ?
Covering administration & PL/SQL as well(on Windows platform).
Thanks for your advices.
Regards.
jeffHi
It seems u are new and going to study Oracle.From your query its clear that u are looking DBA track.My sugession better go for Oracle DBA course materials which is published by Oracle university itself.This is simple and its covering most of the topics with beautiful presentation.
SQL
Fundamentals 1
Fundamentals 11
Performance turning
Pl\sql
You will get this from Oracle's authorised training centers.
cheers
Antony -
Problem with MS SQL 2005 JDBC Conection
Dear all,
I am new user of MS SQL Server 2005 database and Java developer.
When I conect to MS SQL Server 2005 i have a problem with conection.
First I creat new class named DaoTest to test MS SQL conection.
Here I show my code complete.
{color:#0000ff}
import java.sql.Connection;
import java.sql.Statement;
import com.microsoft.sqlserver.jdbc.SQLServerDataSource;
public class DaoTest {
private Connection connection;
public DaoTest() {
try {
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
SQLServerDataSource ds = new SQLServerDataSource();
ds.setUser("sa");
ds.setPassword("deanweb");
ds.setServerName("localhost");
ds.setPortNumber(1434);
ds.setDatabaseName("common");
connection= ds.getConnection();
} catch (Exception e) {
e.printStackTrace();
public static void main(String[] args) throws Exception {
DaoTest daoTest1 = new DaoTest();
DaoTest daoTest2 = new DaoTest();
}{color}
{color:#000000}and when I run this class a error appeared:{color}
{color:#ff0000}com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset
at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(Unknown Source)
at com.microsoft.sqlserver.jdbc.TDSChannel.read(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.Prelogin(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerDataSource.getConnectionInternal(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerDataSource.getConnection(Unknown Source)
at DaoTest.<init>(DaoTest.java:21)
at DaoTest.main(DaoTest.java:32)
{color:#000000}But when i change main methol as{color}:
{color}{color:#0000ff}public static void main(String[] args) throws Exception {
DaoTest daoTest1 = new DaoTest();
daoTest1.connection.close();
DaoTest daoTest2 = new DaoTest();
}{color}
->>successful.
{color:#ff0000}{color:#000000}That mean I {color}**can not**{color} creat more than one instance of class DaoTest if i do not close {color:#000000}*daoTest1*'{color}s conection.
I only see this error with MS SQL Server,none in Postgres or HSQL.
Please help me.
Thank for reading and I am waiting for your reply.
sorry my english.
[email protected]
Edited by: DrNhut on Jun 24, 2008 3:39 AM
Edited by: DrNhut on Jun 24, 2008 3:44 AMThank you.
I try your code but it didn't work.
So,here my code with your opinion
String connectionUrl = "jdbc:sqlserver://localhost:1434;"
+ "databaseName=common;selectMethod=cursor;";
// Declare the JDBC objects.
Connection con = null;
Statement stmt = null;
ResultSet rs = null;
try {
// Establish the connection.
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
con = DriverManager.getConnection(connectionUrl,"sa","deanweb");
} catch (Exception e) {
e.printStackTrace();
public static void main(String[] args) throws Exception {
DaoTest daoTest1 = new DaoTest();
// daoTest1.connection.close();
DaoTest daoTest2 = new DaoTest();
}It throws same error with my last posted.
I can't use your code exactlyString connectionUrl = "jdbc:sqlserver://localhost:1434/common;selectMethod=cursor";because it throws a new exception:com.microsoft.sqlserver.jdbc.SQLServerException: The port number 1434/common is not valid.
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)May be I change my DBMS instead of MS SQL 2005.
(I nead a database can manage big data.So,I choose MS SQL).
thank you.
DrNhut.
Edited by: DrNhut on Jun 25, 2008 6:39 PM -
Connecting to MS SQL 2005 via JDBC Driver
I have an application in which I use Java to abstract
database elements as objects and handle most of the server-side
processing. This is done by creating a Java object via
CreateObject(). The Java then connects to a MS SQL 2005 database
using the JDBC 1.1 Driver.
The following tutorial explains how to set this up:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=ded4216b.
It instructs you to create a Data Source, much like how you
typically would in "regular" ColdFusion applications. Then, using
some simple Java, I am successfully able to connect to the
database, query it, and get results. The connection code is
attached.
As you can see, I am still passing all the connection
parameters to the Database class constructor. My question is: how
would I go about connecting to the database by simply using the
Data Source Name, as you would, again, in "regular" ColdFusion
applications. Is this possible at all?
Thanks!Thanks for the input guys.
Perhaps I did not explain my intent very clearly. What I am
trying to accomplish is have a vast majority of the server-side
code done in Java. With that, I would be able to do things like:
<cfset myUser = CreateObject("java", "User").init(5)>
<cfoutput>#myUser.getFirstName()#</cfoutput>
However, unless I am able to connect to the database in Java
(which I currently AM able to do, but just not quite the way I want
to), I would have to run all the queries in CF and then pass them
to the different objects so that they can then process the query
results. This isn't a very smart thing to do, seeing that it binds
me to a lot of CF while I am trying use it as little as possible
(session management and user interface "tier" only).
So no, I am not going all out with Java just to avoid passing
username/password, but instead to use true OOP instead of CF
Components. I realize ColdFusion too passes this info, but it does
not show up in the source code, which is precisely what I need to
do, but with Java.
Basically, I have everything working the way I need now,
except I need to be able to connect using a data source name rather
than passing the parameters, if at all possible. -
Error in Connecting to MS SQL 2005 via JDBC Driver
Here's the setup
CF MX7 resides on a centOS wid Apache 2.0 webserver box.
I need to established a datasource connection between the
Coldfusion server and a MSSQL 2005 Express+SP1 database sitting on
a remote XP wid SP2 setup.
I've also downloaded and installed on the /lib folder of the
CFMX7 server the corresponding JDBC drivers (versions 1.1 and 1.0)
for the MS SQL server.
The thing is, this problem always occurs:
Connection verification failed for data source:
datasourcename
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
JDBC]Error establishing socket.
The root cause was that: java.sql.SQLException:
[Microsoft][SQLServer 2000 Driver for JDBC]Error establishing
socket.
The datasource connection info is as follows:
CF Datasource Name: datasourcename_JDBCdriver
JDBC URL:
jdbc:microsoft:sqlserver://192.168.0.47:1433;DatabaseName=nameofdatabase
Driver Class: com.microsoft.sqlserver.jdbc.SQLServerDriver
Driver Name: mssql2005
Username: sa
Password: userdefinedpassword
I've already tried these settings:
* Enabled mix mode of authentication under the SQL server
* Affix a /MSSQLSERVER instance name on the jdbc url setting
"jdbc:microsoft:sqlserver://192.168.0.47\MSSQLSERVER:1433;DatabaseName=nameofdatabase"
but a different error had occured:
The root cause was that: java.sql.SQLException:
[Microsoft][SQLServer 2000 Driver for JDBC]The requested instance
is either invalid or not running.
so i remove it since its only an optional setting
* Configured the SQL 2005 Express, under the SQL Server
Configuration Manager, to listen to protocol TCP/IP under port 1433
(this is the ONLY ENABLE protocol)
I've checked using Telnet and netstat and the SQL service is
normally listening to the said port.
* Disabled windows firewall under XP (came with SP2)
and even tried using other JDBC drivers such as:
* macromedia drivers
* jtds driver
but to no avail.
Is the problem still within the MS SQL 2005 Express wid
XP+SP2 box or a connecting issue on the Cf server under the
centOS/Apache machine?
A little help would do wonders just about now.I had the same problem, but do not have express version. In
the configuration manger, I viewed the properties of the enabled
tcp/ip protocol. On the IP addresses tab, I found that though the
IPs were enabled, the drop down beside active was no. I changed all
to yes, applied it and restarted my instance. Then in the cf
datasource I left the port blank and everything worked. -
Fetch the data from the tables in the SQL 2005 server to sap R/3.
Hi Experts,
We need to fetch the data from the tables in the SQL 2005 server to sap R/3.
Please explain which will be the best approach to fetch the same and how to do it. Sample program can greatly help.
<< Please do not offer points >>
Regards,
Shobana K
Edited by: Rob Burbank on Sep 21, 2010 2:36 PMHi,
Try NATIVE SQL statements in your abap code otherwise you can try to establish jdbc connection from ABAP program.
search in SDN for samples!
Suresh -
TS430 Removing SQL 2005 Instance
Hello,
Our TS430 came with an instance of SQL 2005. Our CRM application installs SQL Server Express but will work with 2005 through a custom installation. Is it advisable to run both 2005 and Express 'side-by-side' or should I remove 2005 entirely and use Express exclusively on the macjhine?
Best,
ChristopherHere is the summary Information
Connector IDBC
ConnectorType SQL
DatePrefix '
DateSuffix '
Description Illuminator test Database
Enabled true
InitCommand
InternalDateFormat yyyy-MM-dd HH:mm:ss
JDBCDriver com.microsoft.sqlserver.jdbc.SQLServerDriver
Name SQL_test
PoolMax 100
PoolSize 1
ServerPackage com.lighthammer.Illuminator.connectors.IDBC
ServerURL jdbc:sqlserver://Servername\Instancename:1433?:database=test_db&sql7=true
Timeout 15
UseCount 256
UserName User
ValidationQuery SELECT GETDATE()
WaitTime 30
And the error i get is
Unable to create connection pool for SQL_test: Fatal error while filling connection pool for jdbc:sqlserver://Servername\Instancename:1433?:database=test_db&sql7=true
Regards,
A Prashant Kiran
Maybe you are looking for
-
I can't drag an images between not floating frames
Hello i have the newe Elements 12. It was working perfectly, but after the last up-date there was a problem. Ican't drag images between not floating frames anymore. this was possible before the up-date. now the images can only be draged if one is a n
-
Save web gallery uploads locally
Hi gang, I'm not sure about how the Web Galleries work. Friends have uploaded photos to my Web Gallery, and I can see them in iPhoto, however, I am concerned that I don't have a local copy. I've tried dragging them from the Web Gallery into my main i
-
After Effects CS6 display issues
After Effects is giving me a lot of OpenGL errors and parts of the window and tool icons aren't displaying properly. Is anyone else having this issue? MacBook Pro Retina, Mid 2012 Intel HD Graphics 4000 / NVIDIA GeForce GT 650M
-
How to print from an iPAD to a wireless Canon printer attached to my PC without Airplay
Please advise how to print from an iPAD Retina to a wireless Canon printer attached to my Windows PC without Airplay. Also how best to get photos from my PC to my iPAD (other than via an SD card) Thanks Never used a support community before - [email
-
BlackBerry Playbook: "ID Agreement" Unable to continue. -Solution
Today, after the purchase of my BlackBerry Playbook, I couldn't wait to get started, as for everyone else that has purchased one since the release date. But, as for me and everyone else who purchased one, I'm sure you have ran into the issue, that th