Current Position:Home > Data Source in Java

Data Source in Java

Update:11-30Source: network consolidation
Advertisement
we can connect simple application with database(no server) using Driver Manager class.
can we use Data Source to connect simple application(standalone) with data base? please guide me
thanks in advance

The Best Answer

Advertisement
georgemc wrote:
Puce wrote:
Consider to use JPA (O/R mapping framework) instead of plain JDBC to access the db.
JPA implementations: Hibernate, TopLink Essentials/ EclipseLinkAlthough it's probably a good idea to use and understand the lower-level APIs at least once before using that. Makes it easier to understand when things go wrong. Well, yes, it might help, but probably not absolutly necessary. At least SQL/ DB/ Transaction knowledge is still needed for O/R mapping frameworks, though.
Don't we have to pay for Toplink?I think for TopLink, but not for TopLink Essentials, which is the reference implementation of JPA 1.0 (EclipseLink is the reference implementation of JPA 2.0 (Java EE 6), as far as I know.)
  • XML data source from Java application Update:10-11

    Hello everyone, I want to use BI Publisher reports from my Java application. 1. I have generated xml from database query in Java application. 2. I have created BIP template sampleReport.rtf 3. I need to generate PDF report using sampleReport.rtf and

  • Data Source in Java Update:11-30

    we can connect simple application with database(no server) using Driver Manager class. can we use Data Source to connect simple application(standalone) with data base? please guide me thanks in advancegeorgemc wrote: Puce wrote: Consider to use JPA (

  • 9iAS: Programmatically change data source for Java/J2ee bc4j application Update:11-30

    Background: We obtain a copy of our customer's live data daily for support issues. We'd like to be able to keep up to date as possible and get files early in the morning. due to the size of the database, it takes a few hours to download and import in

  • Java.lang.AbstractMethodError on data source verification Update:10-11

    Using the easysoft JDBC-ODBC bridge to connect to an Access DB. Has been working great since CF6. Currently no issues on CF9(solaris). We're working to upgrade our servers to CF10 on Redhat and have everything working except when we attemtp to verify

  • I am trying to setup a data source for postgresql with cf10 update 14. i get a time out error retruned in less than 2 seconds. I setup a data source for MS SQL 2005 no problem. Update:10-11

    I need a little help, what have I done wrong or not done? Here is the error message that is returned; Connection verification failed for data source: Archuleta_xxxxxx java.sql.SQLException: Timed out trying to establish connection The root cause was

  • Error creating a new Data Source for Oracle connection Update:10-11

    I'm trying to create a new data source connection to our Oracle 10gR2 server using ColdFusion Administrator 6.1 Standard on a Windows 2003 server. I created a System DSN ODBC connection for Oracle. I can use the ODBC connection when connecting an Acc

  • Data source connection problem Update:11-30

    Hi, im starting to get into Coldfusion and im trying to connect to a database but when i make the data source and submit it it times out. I tried going to the data sources main page and the database does showup but when i click the little verify butt

  • Jndi data source references at deployment time Update:11-30

    hi, i have been thinking and trying for days now, so any hint is greatly appreciated. we have an enterprise java application with adf faces, bc4j and jpa all in one ear which runs on weblogic 10.3. we want several instances of the same application ru

  • Simple ques (data sources) Update:11-30

    I'm trying to set up a DATA source of a 2007 MS Acces file called ques.accdb but I keep getting this message: Connection verification failed for data source: ques java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC

  • Connection verification failed for data source on port 1433 Update:11-30

    Trying to set up a DSN for a SQL Server database on a new computer and it's failing every time. Connection verification failed for data source: csf java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver]Error establishing soc