Migrating from jdbc to MyBatis — advice needed
I am working on a Java application (an ERP) that has grown pretty large, and will continue to grow for the next couple of years. We have been using Spring-JDBC for our DAO layer. But the amount of boilerplate code that needs to be written is slowing us down significantly, not to mention introducing silly bugs in the system.
Why shouldn’t you use JDBC in Java applets?
I’ve heard people saying usage of JDBC (Java Database Connectivity) isn’t recommended in Java applets. All I they say is: ‘because of the security reasons’. What ‘security reasons’ do they mean? What would a potentially ‘bad person’ do when he/she found out about JDBC used in an applet, placed somewhere on a website?
To make one’s applet safe, it is wise to place a servlet between an applet and a database. I believe most programmers do it, I would like to know why.
I am new to programming and I am interested in jdbc – Tips and Advice needed [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
Do we need to use JCA while connecting to db from inside EJB
While writing an EJB (deployed on WAS) that connects to a db, i have never needed to use JCA. But apparently JCA is the standard for connection to thrid party EIS (which includes database).
So does the WAS implement JCA internally? Under what situation would the app develoepr need to use JCA related classes?
Does KeyHolder keep order of rows in batch insert?
I am using NamedParameterJdbcTemplate.batchUpdate
to insert a batch of rows to the the database. Third parameter of the method is a KeyHolder
instance that I can use to retrieve the list of generated keys via the KeyHolder.getKeyList()
method.
Notify client about changes in database in Java
I’m working on a distributed client-server system that uses TCP. The program’s functions is to transfer money to an from the server, but also between the clients, a sort of MobilePay.
Notify client about changes in database in Java
I’m working on a distributed client-server system that uses TCP. The program’s functions is to transfer money to an from the server, but also between the clients, a sort of MobilePay.
Notify client about changes in database in Java
I’m working on a distributed client-server system that uses TCP. The program’s functions is to transfer money to an from the server, but also between the clients, a sort of MobilePay.
Notify client about changes in database in Java
I’m working on a distributed client-server system that uses TCP. The program’s functions is to transfer money to an from the server, but also between the clients, a sort of MobilePay.
Spring JDBC Template without DAO?
I am rather new to writing applications that interact with databases, and I’m curious about a project I’m working on. I have to write a very simple web app which is going to be displaying metric data based off a handful of various queries (probably not over 15) to various database tables. Based on my own research, Spring JDBC Template seemed like a good technology to go with based on the rather simplistic nature of my project. Every example I see for using it though seems to involve the use of the DAO pattern. I was under the assumption that usage of the DAO pattern wouldn’t be necessary for what I’m doing, but it seems extremely pervasive in the examples, so perhaps I’m mistaken.