Tagged Questions
2
votes
0answers
23 views
converting blob to an image stream and assign it to jLabel
I am just trying to Convert a blob string which is in Database to Byte array and then after converting it convert to buffered Image and then assign it to a label
Here's my code
package ims.project;
...
2
votes
0answers
214 views
Game App Client-Server: MySQL logs “too many connections”, Linux logs “100% CPU”
I am developing a game with client-server, client of this game can be from Flash Web, J2ME or Android Mobile. Every day there are 300-400 users play this game. I am faced with headache problem, and I ...
2
votes
0answers
174 views
Ramifications for Calling Statement.cancel() on To Forcefully Close Large ResultSet in Java/MySQL
I'm developing a website that will allow registered users to search through anywhere from 10-20 million records, and those records will be cross referenced against a number of in memory caches (in ...
1
vote
0answers
18 views
hibernate exception: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
When i tried to save booking to DB,i got StaleStateException.in my case,i have a booking entity,bookingNo is primary key while it is not auto increment.so my logic is
1.Generate booking no and set ...
1
vote
0answers
30 views
How do i format this function using strings in a database?
This is the function in a View package for a basic website. I have a folder called productImages and a function "getString" that takes string params from my database. In this database I have a column: ...
1
vote
0answers
28 views
Which MySQL INSERT method would be faster and more reliable?
I am developing a web-based application, which processes high amount of data (200.000 - 500.000 rows) with a Java applet, then the data has to be inserted into MySQL. Java is a must, it cannot be ...
1
vote
0answers
29 views
Trying to backup my database but got error
Hello All here i am trying to backup my database but unfortunately gives error like IOException, Null pointer Exception.. so can you give me hint where is my mistake.. even i have Mysqldump file in ...
1
vote
0answers
252 views
how to store image path in mySql from jsp file using liferay?
Hello I m using lifera portlets. I want to store image path in mySql using jspfile and using that imagepath i want to display image on another jsp file. how it is possible kindly explain me.
here i ...
1
vote
0answers
49 views
SmartGwt with hibernate for database connection
I am using eclipse indigo.I want to use hibernate with smartgwt smart gwt showcase
I have a grid so want data from database using hibernate datasource(ds) like smartgwt showcase EE. I don't ...
1
vote
0answers
100 views
passing data from one frame and setting it in textfield in another frame retrieving corresponding data from database
I am working on a NetBeans project (Java Swings) using MySQL @ the back ground. Got struck in this particular scenario.
I am working with a JTable in one frame, say frame1 from where a row has to be ...
1
vote
0answers
112 views
Improve the speed of reading and persisting Apache POI excel file
I have an excel file i am currently able to import into a mySQL database but i would like to increase the speed of import somewhat. My set up for reading the excel files (approx 40,000 rows in each ...
1
vote
0answers
67 views
jdbc mysql query where I am unsure how many columns are being selected
Full disclosure: This is homework.
I have a GUI written in java that interacts with a database with 4 buttons to Add, Delete, Query and Modify. The GUI has 6 textfields (MemberNumber, LastName, ...
1
vote
0answers
64 views
Blob datatype in service.xml of liferay
I am working with liferay and want to store images in my MySQL database.
My service.xml goes like this:
<entity name="DLApp" local-service="true" remote-service="true">
<column ...
1
vote
0answers
80 views
How to map arbitrary JSON object into MySQL
I am using Spring MVC and Hibernate to store objects that have a pre-defined structure in MySQL. I am familiar with this process. What I want to do is store an arbitrary JSON object that I don't ...
1
vote
0answers
115 views
How to store utf8 to mysql 5.X via jdbc
I am trying to store data to mysql, an excerpt of which is shown here:
"description":"★배달 사고 혹은 장난주문 방지주 찾는 배달음식점 즐겨찾기\n지난 주문 내역 확인\n포인트 적립 및 결제\n소셜 네트워크 연동을 통한 평가 남기기\n철가방에서 제공하는 다양한 이벤트", ...