-1
votes
0answers
9 views

A textview from database depending on a listview?

I'm trying to make a very simple app for learning purposes, i need to have a listview with a list of items, when clicked on each one will lead to an activity with a textview, that textview should hold ...
0
votes
1answer
14 views

How to create and use and external derby Database

am getting started with Java database development and i wanted to know how to create and use database outside of the Derby server so for example instead of using this as a host url : String host = ...
0
votes
1answer
26 views

Sqlite Concept during opening and closing of an Application

I have tried different tutorials implementing basic CRUDS in sqlite database. But I am missing the basic concepts on how sqlite is being created and used when an application is running. I just ...
-4
votes
0answers
27 views

(EDITED) Servlet Update, Insert, Retrieve, Delete - Database Connectivity unable to perform operations

I have made a program for insertion, viewing, deletion, updation of stored data in database. But since last 3-4 hours I am getting error :- javax.servlet.ServletException: Servlet execution threw an ...
0
votes
2answers
46 views

Repeated querys to a db with JDBC or dump data to ArrayList and iterate over list whenever I want some data?

I am working on a trade's appointments agenda. The question is that what is better. When application initialize, dump data from database to an ArrayList and iterate over ArrayList whenever that I want ...
0
votes
1answer
22 views

Java: Measure Bandwidth of POST/GET request

I'm stuck with such issue. I have Client (just web page) and Server (some Java controller that handles requests from Client). 1) Client sends API request (POST or GET) to the Server and gets response ...
0
votes
1answer
37 views

Convert string to datetime SQLServer2008

I have 26062012 format. I want convert this format to datetime in SQL Server 2008. My code is: else if (str.equalsIgnoreCase("DATETIME")){ ...
1
vote
0answers
36 views

updating database through sms using java

I want to develop something such that I have a database somewhere(in my pc or on any server). I want to send an SMS writing something that gets updated in the database in the colunm mentioned. Is ...
0
votes
3answers
22 views

Edit /Update entered data stored in database - servlet

I have made a servlet file iin which I have added insertion, deletion and viewingthe data from database. Now I want to add updation of inserted data but I am not able to complete it. As I have added ...
2
votes
0answers
15 views

Oracle Berkeley DB Java Edition - Secondary key unicity

I have a simple entity class and it is supposed to include unique names on it. @Entity class Package { @PrimaryKey(sequence = "ID") public Long id; @SecondaryKey(relate = ...
0
votes
0answers
26 views

“FATAL: database does not exist” on postres, login is not working through app

I have these three steps bellow which I am executing every moment that I need to create a new environment for my app, the step 3 is just part of code... On the first step I create the database, ...
0
votes
1answer
21 views

Spring JDBC giving error :“queryForObject(String, Object[], Class<String>) from the type JdbcTemplate refers to the missing type DataAccessException ”

I have created a method in DAO: public String getUserName(int userid){ String sql="SELECT userName from UserDetail where userid=?"; return jdbcTemplate.queryForObject(sql, new ...
0
votes
1answer
16 views

how to save soap request and response in DB automatically using Java?

how to save soap request and response in DB automatically using Java? I need some guide of how doing that. I know that I have to use Axis to capture the SOAP messages but how to save them in the DB? ...
0
votes
1answer
22 views

How to Encapsulate Transaction Pattern in Java

I'm trying to write DAOs for my database models using the transaction pattern like such, Session session = null; Transaction tx = null; try{ session = ...
0
votes
2answers
50 views

Data Fetching Technique [closed]

I would like have suggestion about to fetch data from database. For example I have millions of data in database, and i want to display that in my web page as 10 rows per page using some programming ...

1 2 3 4 5 273
15 30 50 per page