Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

I want to know how can I create sessionfactory in hibernate 4 (latest version)  February 3, 2014 at 10:38 AM
Hello, I want to create sessionfactory in hibernate 4 (latest version) and I would like your help for it..An example would be of great help.. Thanks.. ... View Questions/Answers

standard serviceregistrybuilder example  February 2, 2014 at 10:25 PM
can any one share me the standard serviceregistrybuilder example code? My project is in Hibernate 4.3.1. Thanks ... View Questions/Answers

please help me  February 2, 2014 at 9:30 PM
how to use two browse buttons, one browse button for displaying the first image and second for the second image along with its file path and also to display text file along with its path using layouts or panels within a single frame ... View Questions/Answers

Advertisement

please help me  February 2, 2014 at 9:30 PM
how to use two browse buttons, one browse button for displaying the first image and second for the second image along with its file path and also to display text file along with its path using layouts or panels within a single frame ... View Questions/Answers

Encapsulation versus Absraction  February 2, 2014 at 7:33 PM
I believe no one in this world knows real difference between Encapsulation and Abstraction , one of them is me as well but if there is anyone who really understand the difference please help me as well in understanding it. Thanks ... View Questions/Answers

StandardServiceRegistryBuilder not working in Hibernate 4.3.1  February 2, 2014 at 2:01 PM
Hi, It seems that the StandardServiceRegistryBuilder not working in Hibernate 4.3.1. I don't know what is wrong with the following code: Configuration cfg = new Configuration(); cfg.configure("hibernate.cfg.xml"); StandardServiceRegistryBuilder sb = new Stand... View Questions/Answers

standardserviceregistrybuilder example  February 2, 2014 at 1:46 PM
I am facing error in creating the SessionFactory in Hibernate 4.3.1 application. I have figured out that new way of creating SessionFactory is to use the standardserviceregistrybuilder class. But there is no code of standardserviceregistrybuilder example. Do you know how to use the standardservic... View Questions/Answers

The method buildServiceRegistry() is undefined for the type ServiceRegistryBuilder  February 2, 2014 at 1:16 PM
Hi, How to solve the error "The method buildServiceRegistry() is undefined for the type ServiceRegistryBuilder" in Hibernate 4.3.1? I am using the Latest version of Hibernate which is Hibernate 4.3.1 and trying to create the SessionFactory with the help of following code: ... View Questions/Answers

The type ServiceRegistryBuilder is deprecated  February 2, 2014 at 1:07 PM
I am trying to Create the SessionFactory in Hibernate using following code: Configuration configuration = new Configuration(); configuration.configure(); serviceRegistry = new ServiceRegistryBuilder().applySettings( configuration.getProperties()).buildService... View Questions/Answers

Hibernate 4.3 JPA 2.1  February 1, 2014 at 7:25 PM
How to create a Java program using Hibernate 4.3 JPA 2.1? I my project I have to use the latest version of Hibernate and JPA and write the code for interacting it with the database. I know that the latest version of Hibernate is 4.3 and JPA is JPA 2.1. My problem is to write the i... View Questions/Answers

How to prepare XML file?  February 1, 2014 at 3:56 PM
Hi, I want to prepare XML File, can you tell me how should I do it? Thanks. ... View Questions/Answers

Give a one to one example in Hibernate.  February 1, 2014 at 1:58 PM
Hello, Can you give me one to one example in Hibernate..Thanks.... ... View Questions/Answers

I need Spring 2.5 example.  February 1, 2014 at 1:28 PM
Hello, I am looking forward to learn Spring framework and hence I need Spring 2.5 and Spring 3.0 example.. Thanks.. ... View Questions/Answers

What is Hibernate one to one relation?Any example..  February 1, 2014 at 12:56 PM
Hello, What is Hibernate one to one relation? Is there any example of it.. Thanks.. ... View Questions/Answers

Please point me towards a good Spring transactional tutorial  February 1, 2014 at 12:37 PM
Hello, I am new to Spring and came across Spring transactional and i would like to learn about it. Please point me towards a good Spring transactional tutorial.. Thanks.. ... View Questions/Answers

Explain factories design?  February 1, 2014 at 12:27 PM
Hi, I can't understand the concept of factories design, if you can explain it to me in simple words, i would be grateful. Thanks.. ... View Questions/Answers

How to build .XML file, please provide an example.  February 1, 2014 at 11:52 AM
Hello, I want to know how to build .XML file. If you can provide an example, that would be great... Thanks.. ... View Questions/Answers

Please..please provide me a good Hibernate in Spring example  February 1, 2014 at 11:35 AM
Hi, Can anyone please provide me a Hibernate in Spring example with simple explanation as I am new to Hibernate. Thanks in advance.. ... View Questions/Answers

Explain Hibernate Relationships with example.  February 1, 2014 at 11:25 AM
Hello, Please explain various hibernate relationships. And if you can provide some examples that would be a great help.. Thank you.... ... View Questions/Answers

Christmas countdown Java  January 31, 2014 at 6:01 AM
Assignment: Write a program that reads in a date and calculates the number of days until Christmas for that year . You can assume that the date entered is before December 25 of that year. Dates will be entered as 8 digit numbers representing: MMDDYYYY You are not allow to use arra... View Questions/Answers

Christmas countdown Java  January 31, 2014 at 6:01 AM
Assignment: Write a program that reads in a date and calculates the number of days until Christmas for that year . You can assume that the date entered is before December 25 of that year. Dates will be entered as 8 digit numbers representing: MMDDYYYY You are not allow to use arra... View Questions/Answers

how to prevent no from unroundin off on clicking text box again in JSP and Jquery  January 30, 2014 at 8:08 PM
I am rounding off numbers entered in a text box in jsp but when I reclick that text box ,It shows the same no (unrounded no) again , Though on clicking outside It rounds off again, How can i prevent it from un-rounding off on clicking on that text box again in Jquery and JSP. Thanks ... View Questions/Answers

how to solve this kind of error in Eclipse IDE?  January 30, 2014 at 7:56 PM
i'm creating the Simple CRUD Using Jsp, Servlet and MySQL program and i'm using the eclipse, and i all most done it, finally i'm going to run myself, it can't be run. i will install the jar file of jstl, servlet, mysql connector and finally standard.jar files are installed. but i'm getting exactl... View Questions/Answers

retrive the employee details with image from mysql database using jsp servlet  January 30, 2014 at 3:48 PM
im doing the web project to retrive the employee profile which i stored in the database using jsp servlet then want to show the result in the next jsp page. any one help me out of this.... ... View Questions/Answers

why i'm getting this error?The import javax.servlet.http cannot be resolved  January 30, 2014 at 10:30 AM
hey buddy's i had one problem in servlet in jsp program. Exactly i'm getting this error, why i'm getting this error and how to solve this error., Have some tips: thanks in advance., ... View Questions/Answers

How to display data from database in a TableView via Hibernate  January 29, 2014 at 11:19 PM
I need to populate a TableView (JavaFx) with database items. I designed the TableView in JavaFx Scene Builder. So far the TableView does not change at all and only remains blank. This is what I have so far, but have been failing to get anything into the TableView. I will really ap... View Questions/Answers

How to display data from database in a TableView  January 29, 2014 at 8:58 PM
I need to populate a TableView (JavaFx) with database items. I designed the TableView in JavaFx Scene Builder. So far the TableView does not change at all and only remains blank. This is what I have so far, but have been failing to get anything into the TableView. I will really ap... View Questions/Answers

How to create wildcard query in Hibernate?  January 29, 2014 at 7:09 PM
Hi, I am new in Hibernate and I have to create a query using wildcard. How to create wildcard query in Hibernate? Thanks ... View Questions/Answers

Please explain what is hibernatetemplate with an example code.  January 29, 2014 at 4:47 PM
hi, Please explain Hibernate template example code to me.. ... View Questions/Answers

Backup Failed Mysqldump Got Errno 28 On Write  January 29, 2014 at 1:35 PM
Hi, While taking the backup of database I got following error: Backup Failed Mysqldump Got Errno 28 On Write How to resolve the issue? Thanks ... View Questions/Answers

I want to learn hibernate step-by-step.  January 29, 2014 at 1:33 PM
Hello, I am very new to programming world and I am looking forward to learn Hibernate, but I would like to start from start and learn it step by step. Can you please help me.. I would be very grateful, Thanks.. ... View Questions/Answers

How can I create sessionfactory in Hibernate?  January 29, 2014 at 12:30 PM
HELLO, How can I create sessionfactory in Hibernate? If you can explain me with example that would be great. THANKS.. ... View Questions/Answers

I need hibernate session factory example.  January 29, 2014 at 12:26 PM
Hi, I want a simple hibernate session factory example.. ... View Questions/Answers

Can you give me some good factory pattern examples?  January 29, 2014 at 12:21 PM
HI, I am looking for some factory pattern examples to learn about them, if you can point me towards some of the examples that would we very helpful. Thanks ... View Questions/Answers

Please explain Hibernate Sessionfactory.  January 29, 2014 at 12:16 PM
Hi there, Please explain Hibernate session factory in detail. I have just started learning hibernate so i don't know much about it. Thanks.. ... View Questions/Answers

How to get hibernate configuration from sessionfactory?  January 29, 2014 at 11:29 AM
Hi, I need to get hibernate configuration from sessionfactory, how can i do it? Thanks in advance.. ... View Questions/Answers

What is static factory pattern?  January 29, 2014 at 11:21 AM
Hello, please tell me what is static factory pattern? Thank you.. ... View Questions/Answers

Login Form with Java GUI using Netbeans  January 28, 2014 at 9:20 PM
Hi there! I'm a beginner in Java. I've created 2 class files: 1) TestAssign.java 2) NewFrame.java How can I have different user to login? Now that I've only administrator who is able to login. But, I would like to have other user to login too such as end-user and general manager. How/wher... View Questions/Answers

How to compress a file in Java?  January 28, 2014 at 6:56 PM
How to compress a file in Java through Java code? I want a good example in Java. Thanks ... View Questions/Answers

Why we use singleton class in hibernate sessionfactory?  January 28, 2014 at 4:39 PM
Hello, Please tell me why we use singleton class in hibernate sessionfactory? hibernate sessionfactory singleton example would be very helpful. Thanks... ... View Questions/Answers

I need an example of sessionfactory  January 28, 2014 at 3:59 PM
Hi, I need an example of session factory in hibernate. If you can provide me one with, that would be great...Thanks... ... View Questions/Answers

login and registration form using servlet and authentication through mysql  January 28, 2014 at 2:18 PM
i made a simple login and rgistration form using servlet and authentication through mysql and whenevr i run it on tomcat a blank page is displayed plz help here is my code...plz chk the web.xml file also index.jsp(login form) <%@page contentType="text/html" pag... View Questions/Answers

Can you give me Hibernate one to one example?  January 28, 2014 at 2:02 PM
Hello there, Can you give me a hibernate one to one example that explain the concept and mapping in Hibernate. Thanks in advance.. ... View Questions/Answers

How to use the latest buildSessionFactory in Hibernate 4?  January 28, 2014 at 1:38 PM
Hello, I am fairly new to Hibernate and i would like to know how to use the latest buildSessionFactory in Hibernate 4? ... View Questions/Answers

Please tell me where I can find tutorials on spring hibernate?  January 28, 2014 at 12:10 PM
Hello, Please tell me where I can find tutorials on spring hibernate? Thanks.. ... View Questions/Answers

what is the use of Hibernate Sessionfactory close() method?  January 28, 2014 at 11:37 AM
hi, What is the use of of Hibernate Sessionfactory close() method? Thanks.. ... View Questions/Answers

Could anyone point me towards some good Spring tutorials, Please?  January 28, 2014 at 11:13 AM
Hi, I would like to learn Spring Framework and so, if you can tell me where I can find some good Spring tutorials, that would be very helpful. Thanks in advance... ... View Questions/Answers

How does getcurrentsession() method works in hibernate sessionfactory?  January 28, 2014 at 10:57 AM
Hi, Please explain how does getcurrentsession() method works in hibernate sessionfactory? Thanks... ... View Questions/Answers

How to use Hibernate get sessionfactory?  January 27, 2014 at 6:37 PM
Hi, How to use hibernate get sessionfactory? Thanks.. ... View Questions/Answers

What is the purpose of org.hibernate.SessionFactory?  January 27, 2014 at 6:09 PM
Hello, I have just started learning Hibernate and i came across org.hibernate.SessionFactory and i didn't understand its purpose. Can you explain it to me? Thanks... ... View Questions/Answers

Can you give me a simple Hibernate Sessionfactory example?  January 27, 2014 at 4:44 PM
Hi, I would like to get session instance from the SessionFactory interface in Hibernate 4. Can you give me a simple Hibernate Sessionfactory example for the above. Thanks... ... View Questions/Answers

Is buildSessionFactory() deprecated in hibernate 4?  January 27, 2014 at 4:43 PM
Hi, I am trying to develop an application in Hibernate 4. I am using the Hibernate 4.3.0.final build. Following code is given is the Hibernate documentation: SessionFactory sessions = cfg.buildSessionFactory(); But when I am using it in Hibe... View Questions/Answers

I am having problem with configuring Hibernate sessionfactory. Please Help  January 27, 2014 at 4:19 PM
Sir, I am having problem with configuring Hibernate sessionfactory.. I was using the old version of Hibernate before now I am using Hibernate 4 and finding it difficult to configure the file.. Can you please help me.. Thanks... ... View Questions/Answers

I would like an example about how to create a sessionfactory in Hibernate 4?  January 27, 2014 at 3:45 PM
Hello, Since Hibernate 4 is the latest version of Hibernate, I am finding it a little difficult to create Session factory in Hibernate 4. If you can explain it to me by giving a simple example that would be really helpful. Thanks... ... View Questions/Answers

Which version of Hibernate support JPA 2.1?  January 27, 2014 at 3:36 PM
Hi, There is new release of JPA which is JPA 2.1. If you check its features you will find that it includes exciting features. I am working on a project where we have to use the Hibernate and the JPA 2.1. Now I have to find out the version of hibernate and create a POC. Can anyone ... View Questions/Answers

What is Hibernate sessionfactory  January 27, 2014 at 3:17 PM
Hi, I am new in Hibernate. I trying to write a simple program in Hibernate. Can anyone explain me about the hibernate sessionfactory? Thanks ... View Questions/Answers

Which one is better for creating a GUI using swings either Manual coding or IDE(NetBeans,eclipse)..? drag and dropping components  January 27, 2014 at 1:25 PM
I am beginner in java application developing.... Which one is better for creating a GUI using swings either Manual coding or IDE(NetBeans,eclipse)..? drag and dropping components to frame v/s manually coding from scratch!!! I want frame with many components like label, textfield, buttons etc... W... View Questions/Answers

Upload file with ather Fieldn  January 27, 2014 at 12:55 PM
hello i want upload file with other record to database for my project,like that (FileID, Filename,Filedescrption,Filedate,file_upload) see( upload file with path) i can send data to database, but adding anther field not access. if you can fixed my problem so th... View Questions/Answers

Create sessionfactory in Hibernate 4  January 27, 2014 at 11:00 AM
How to create sessionfactory in Hibernate 4? Thanks ... View Questions/Answers

cannot display an arrayList in JSP  January 27, 2014 at 7:17 AM
Hello, My bean is called Zone, i got all Zones from sql Server with Hibernate. in DAO.Class: print("List zones = session.createQuery("FROM Zone").list();"); i want to send this List from a servlet to a jsp. In servlet.class print("List result = dao.getListZone();"); ... View Questions/Answers

How to get unique list in Hibernate using Criteria Query?  January 25, 2014 at 3:13 PM
Hi, Share me the example code for getting Unique List in Hibernate through Criteria Query? Thanks ... View Questions/Answers

How to Disable Catch-all Emails on CPanel  January 25, 2014 at 7:38 AM
Hi, How to disable catch all emails setting on CPanel? Thanks ... View Questions/Answers

What is Hibernate Criteria Transformer?  January 24, 2014 at 5:46 PM
Hi, Can anyone explain me about the Hibernate Criteria Transformer? I need good example of Hibernate Criteria Transformer . Thanks ... View Questions/Answers

Hibernate 4.3 and JPA 2.1  January 23, 2014 at 4:51 PM
I my project I have to use the the latest version of JPA and Hibernate. I am trying to upgrade the project to use Hibernate 4.3 and JPA 2.1. I am not able to find any example of using Hibernate 4.3 and JPA 2.1 in a project. My Project is based on the Maven and using the maven to build the... View Questions/Answers

php problem  January 23, 2014 at 4:02 PM
Hello!! I have a problem ,i want to display the data of a single row in my database,this is the code: include 'connectMySql.php'; $username=$row['username']; if(! $conn ) { die('Could not connect: ' . mysql_error()); } $sql = 'SELECT * FROM users WHERE username="'.$username.'" LIM... View Questions/Answers

query  January 23, 2014 at 2:46 PM
how to get data from database in tables using swings ... View Questions/Answers

need to Program  January 23, 2014 at 11:50 AM
Can any one help me on below How to insert more then one records in EXCEL Sheet using JSP ... View Questions/Answers

Hibernate 4.2.4 and JPA 2.1 Example  January 23, 2014 at 11:41 AM
How to write Hibernate 4.2.4 and JPA 2.1 Example? Thanks ... View Questions/Answers

Hibernate Criteria Transformer Example code  January 23, 2014 at 11:31 AM
Hello, I am trying to find the example of Hibernate Criteria Transformer. Tell me the good tutorial of Hibernate Criteria Transformer with source code. Thanks ... View Questions/Answers

strings  January 22, 2014 at 8:25 PM
difference between the strings in java and c++ ... View Questions/Answers

How to get max date in Hibernate?  January 22, 2014 at 2:14 PM
Hi, Tell the code to get the max date in Hibernate? Thanks ... View Questions/Answers

Santosh Patil  January 22, 2014 at 1:12 PM
what is the difference between classes and interfaces and objects? ... View Questions/Answers

How to calculate the average in Hibernate?  January 22, 2014 at 12:33 PM
Hi, I have to calculate the average in Hibernate. How to calculate the average in Hibernate? Thanks ... View Questions/Answers

Java collection  January 21, 2014 at 11:44 PM
What is relation between map and set? ... View Questions/Answers

Stock Analysis and Prediction and trading league  January 20, 2014 at 5:37 PM
I am working on a project Stock Analysis and Prediction and trading league. In which i am using apriori algorithm for predicting the stock value on the basis of previous records. Can anyone help me for this project or send a link. Thanks in advance ... View Questions/Answers

graph generation from xml design file  January 19, 2014 at 5:13 PM
how to search words in XML file with javascript. i have copied contents of XML file into word file. using searched keywords i would like to draw graph ... View Questions/Answers

display data from database in textbox when id entered in textbox  January 18, 2014 at 8:58 PM
i wanted to enter data in textbox .depending on entered data in textbox data from database should be displayed dynamically in textbox ... View Questions/Answers

java client server program for playing video file(stored in folder in the same workspace) using swings  January 18, 2014 at 1:55 PM
Hello friends this is RAGHAVENDRA, I am doing a client server program to play a video file, when I run both client and server programs I still not getting any outputs and even I am not getting ERRORS please help me to get rid of this problem. client.java im... View Questions/Answers

java client server program for playing video file(stored in folder in the same workspace) using swings  January 18, 2014 at 1:55 PM
Hello friends this is RAGHAVENDRA, I am doing a client server program to play a video file, when I run both client and server programs I still not getting any outputs and even I am not getting ERRORS please help me to get rid of this problem. client.java im... View Questions/Answers

java client server program for playing video file(stored in folder in the same workspace) using swings  January 18, 2014 at 1:55 PM
Hello friends this is RAGHAVENDRA, I am doing a client server program to play a video file, when I run both client and server programs I still not getting any outputs and even I am not getting ERRORS please help me to get rid of this problem. client.java im... View Questions/Answers

java client server program for playing video file(stored in folder in the same workspace) using swings  January 18, 2014 at 1:55 PM
Hello friends this is RAGHAVENDRA, I am doing a client server program to play a video file, when I run both client and server programs I still not getting any outputs and even I am not getting ERRORS please help me to get rid of this problem. client.java im... View Questions/Answers

How to learn Quartz?  January 16, 2014 at 12:04 PM
Hi, I have to make a program in Java is scheduling account processing Job after an interval of 20 minutes. Tell me the tutorial. Thanks ... View Questions/Answers

java nio  January 16, 2014 at 11:16 AM
copy files in one directory to other based on like".java" files using java.nio ... View Questions/Answers

Java pattern  January 15, 2014 at 5:30 AM
Write a Java program that outputs the following pattern. 1 21 321 4321 54321 654321 ... View Questions/Answers

How to write jsp/servlet code to integrate LINKDIN?  January 14, 2014 at 6:37 PM
How integrate linkdin api's in java codding. ... View Questions/Answers

com.pixelmed.dicom.DicomException: No reader for jpeg-lossless available  January 13, 2014 at 2:29 PM
com.pixelmed.dicom.DicomException: No reader for jpeg-lossless available ... View Questions/Answers

project  January 11, 2014 at 7:31 PM
how to code into jsp of forgot password ... View Questions/Answers

Javascript Code for all fields  January 11, 2014 at 4:41 PM
Good Evening Sir/Madam, Please send me the example program using bootstrap framework for all fields of a form. Please send me the javascript code My E-mail id: siva.ssk83@gmail.com Regards, S. Siva Kiran. ... View Questions/Answers

how to devlop mobile application?  January 11, 2014 at 12:20 AM
how to devlop mobile application as a mini project nd its step to creat it.nd need of software.? ... View Questions/Answers

dynamically created links id from mysql table is not getting  January 10, 2014 at 5:08 PM
guys, i'm trying to access dynamically called attributes from mysql table as a link to another page, but while i'm trying to access its value, i'm getting only the last attribute from the table. below is my code <%@page contentType="text/html" pageEncoding="UTF-8"%> ... View Questions/Answers

Retrive data from database and perform binary tree operations on that data in jsp or java  January 10, 2014 at 11:31 AM
To develop code for MLM project. I want to retrieve data from database dynamically and perform operations on that. Just like calculate Left and Subbinary tree node count. Check balanced tree of particular Id ,unbalaced tree node and so on. Please Help me. ... View Questions/Answers

What's new in Hibernate 4.3.0 Final?  January 9, 2014 at 2:35 PM
What's new in Hibernate 4.3.0 Final? I just found that there is new version of Hibernate. These latest version is Hibernate 4.3.0 final. I would like to find out the latest features of Hibernate 4.3.0. Share me the good resource. Thanks ... View Questions/Answers

program  January 9, 2014 at 1:40 PM
write a function to reverse a string and atleast 3 test cases that would test your implementation? ... View Questions/Answers

solutions for memory leak of dicom images when using ImageIO library.  January 8, 2014 at 8:22 PM
I am utilizing ImageIO.write(). Out of memory error. please don't recommend System.gc(); for optimizing the memory usage. ... View Questions/Answers

Call Https Url  January 7, 2014 at 6:39 PM
I have written web service and hosted project on server with SSL certificate.If I want to call HTTPS url, I need to import certificate in JVM manually or through program on client side. I can't ask any client to do extra work on his side before calling my https url, I would loose my credi... View Questions/Answers

Broken link list  January 7, 2014 at 4:45 PM
Please provide me a java code to find the broken link list of url's for a given url .. ? ... View Questions/Answers

conditions  January 7, 2014 at 11:47 AM
hi, i want to get the output in this format 55555 4444 333 22 1 by using loops and if condition, can u pls hel... View Questions/Answers

hi  January 6, 2014 at 8:11 PM
how i get answer of my question which is asked by me for few minutes ago.....rply ... View Questions/Answers

code for password strength using jsp-servlet  January 6, 2014 at 7:37 PM
hi.............. plz help me to give code for password strength using jsp-servlet for implementation in my project as soon as possible because i want to show this functionality in my college ... View Questions/Answers

How to convert a String to an int?  January 5, 2014 at 12:28 PM
I my program I am taking the input from user from a HTML form in JSP page. The value retrieved is in the String format. Now I want to convert into int value. Tell me How to convert a String to an int? Thanks ... View Questions/Answers

DMCA.com