Tagged Questions
1
vote
2answers
17 views
Injection of autowired dependencies failed; Could not autowire field
I'm a newbie in Spring MVC and hibernate, I've been in a slump so i hope you guys can help.
Everytime i run i get the exception error in creating bean. i can't seem to find the correct answer in ...
0
votes
0answers
10 views
Embadding video is not displaying after retrieving it from dataabse
i am saving embedding video code in database and retrieving it from database but it is not displaying video it is displaying just code in place of video.
Video Link:
<iframe ...
0
votes
1answer
17 views
How to Search from Multiple column in mysql DataBase with java
I have follwinig code for search data.
public void advanceSearchMethod(String advanceName, int advanceTpNumber, String advanceAddress, String advanceDescription){
Connection connection=null;
...
1
vote
1answer
19 views
ResultSet.TYPE_FORWARD_ONLY how does it actually work?
I have the following code:
try(Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","VENIVIDIVICI");
Statement st = ...
0
votes
2answers
32 views
Insert into database a scraped page containing double quotes with MySQL and Java
Imagine my page has a bunch of sections looking something like this (example page):
<div class="content">
</div>
My goal is to scrape the entire page into a MySQL DB entry. I ...
0
votes
2answers
25 views
What is the sql string of this search bar [on hold]
what is the sql string on this WEBSITE of the search bar top of table and only one search bar then it search all on NAME, TYPE, HERO in just one search bar... I jsut want to create like this on JAVA ...
0
votes
0answers
6 views
Data transfer for desktop application from remote server
We have a web application with many users. The data for these users are store on a remote server in mysql database. Due to too many concurrent connections and data manipulations there is too much load ...
0
votes
1answer
21 views
How to retrive data from server using NIO
I have a project that requires me to create a Java server which will be connected to a MySQL database. This server is going to handle requests from clients, to send them data from the database.
The ...
0
votes
0answers
47 views
What's wrong with this MySQL execution script
I'm trying to execute a PrepardStatmenet in a Java app, however, I'm getting an error. Th evalues I'm passing are correct.
UPDATE characters SET level = ?, fame = ?, str = ?, dex = ?, luk = ?, `int` ...
1
vote
0answers
19 views
Web Service to use for SQL database access from an android device
So, I was originally going to use JDBC to connect an android app to a MySQL database, but I read that this was a bad idea and was difficult to make work. So apparently, I need to use a web server to ...
1
vote
1answer
33 views
Hibernate: Can't connect to MySQL database
I'm struggling to get my program to connect to a MySQL database with Hibernate.
I simply want to connect to it so i can usee Hibernate tools to reverse engineer a few tables in the database.
When i ...
-3
votes
2answers
29 views
How to set the data of result-set into JTable
I have created following method in my DBConnection class.
public ResultSet viewAll(){
Connection connection=null;
ResultSet rs=null;
try{
...
0
votes
4answers
45 views
How to fetch limited data from mysql java
Can I limit the number of rows in result set?
My table contains some 800000 rows, if I fetch them in result set, this will definitely lead to OOM exception. each row has 40 columns.
I do not want to ...
0
votes
2answers
28 views
Need some suggestion while updating data in mysql database [on hold]
I have a scenario where I have around 10 forms in the same page, each carries same number of fields i.e. each form has 2 textboxes and 2 dropdowns.
Now, a user can update any field of any form and ...
1
vote
1answer
29 views
h2 embedded database not embedding / Alternatives for embedding database
So I got a comment on another thread to go use h2 for an embedded database inside of my java app. Basically, I need the .jar file to run on another computer without having to go install a sql server, ...