Home Tutorialhelp Comment Answer of ur question

 
 

Comment

Amit Kumar Gupta
Answer of ur question,
April 20, 2009 at 2:11 PM

Set property name="dialect" org.hibernate.dialect.OracleDialect. After that ur code will work.

<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="hibernate.connection.url">jdbc:oracle:thin:@10.113.48.126:1521:SpringDB</property>
<property name="hibernate.connection.username">springuser</property>
<property name="hibernate.connection.password">Hello123</property>
<property name="hibernate.connection.pool_size">10</property>
<property name="show_sql">true</property>
<property name="dialect">org.hibernate.dialect.OracleDialect</property>
<property name="hibernate.hbm2ddl.auto">update</property>
<!-- Mapping files -->
<mapping resource="contact.hbm.xml"/>
</session-factory>
</hibernate-configuration>

View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
JSP Servlet Questions

s per ur answer
s per ur answer  i cannot understand please explain in detail 3)Create web.xml and classes folder inside the WEB_INF folder of web application folder.   Hello Friend, We were explaining you the directory structure 

Hibernate Questions

hibernate firstexample - Hibernate
hibernate firstexample  Hi all. i m new with hibernate,when i m trying to run my first application i m getting following exception. Error reading resource: Employee.hbm.xml give me the solution. Thank you 

Hibernate Questions

hibernate firstExample not inserting data - Hibernate
hibernate firstExample not inserting data  hello all , i followed... for more information. http://www.roseindia.net/hibernate/ Thanks. ... is : my FirstExample is : /** * */ package 

Hibernate Questions

Hi and Thanks for ur response - Hibernate
Hi and Thanks for ur response  Hi, thanks for ur immediate response.Could anyone know abt the elements generated by generic DAO classes and pls let me know what is persistenceInstance with one good example. pls explain me 

Java Beginners

Reply to ur mail(Hibernate Error)
Reply to ur mail(Hibernate Error)  Hi! Im using Eclipse. Steps : 1. Downloaded the example code and library from rose india and extracted the content in a directory. 2. Downloaded file contains the Eclipse project. 3. Started 

Ajax Questions

share your answer to this question
share your answer to this question  i need to know what is the TELERIK CONTROL? what is the map suite? what is dunda chart? Also i have to know what are the websites available which give infor regarding this. Let me know how 

Java Beginners

pls answer these question
pls answer these question  Write a program that prompts the user to input the length and width of a rectangle. Then calculate and prints the rectangle??s area and perimeter.   import java.io.*; class rectangle 

Java Beginners

active ur account through mail - Java Beginners
activation account through email  Hi, good morning i am suresh i want some help from u my question is how to create a activation account through... SureshCan you be little bit more specific about your question?As email 

JSP Servlet Questions

send answer
send answer  For online exam project,i want single question on single page and on that page there are three buttons previous,submit,next.If i click on next button it show next question from database 

Java Beginners

i cNT GET ANSWER FOR THIS QUESTION
i cNT GET ANSWER FOR THIS QUESTION  The roots of the quadratic equation ax2+bx+c=0, aï??¹0 are given by the following formula: x=(-b?±â?š(b^2-4ac))/2a In this formula. The term b2-4ac is called 

Java Interview Questions

java interview question and answer - Java Interview Questions
java interview question and answer   sir, i want one mark java interview question and answers 

Hibernate Questions

Hibernate - Hibernate
Hibernate  Hello Deepak as you answer posted this is solution of if any file not found but my question is .. Error is ::: Error in reading contact.hbm.xml contact.hbm.xml is my hibernate mapping file. So please read 

Hibernate Questions

this is a hibernate question
this is a hibernate question  connection pooling code in hibernate 

Hibernate Questions

this is a hibernate question
this is a hibernate question  connection pooling code in hibernate 

Hibernate Questions

this is a hibernate question
this is a hibernate question  connection pooling code in hibernate 

JSP Servlet Questions

Please , can any one answer this Question?
Please , can any one answer this Question?  How to cummunicate one web application to another web application in different places 

Hibernate Questions

Hibernate Question
Hibernate Question  Hi,i am doing hibernate mapping but i did not get the accurate concept of that so will you please send me a mapping between 2 table code. and at the time of mapping where we have to use the set<> method 

Java Beginners

Clarify my last question's answer - Java Beginners
Clarify my last question's answer  Dear expert, I've tried out... did not specify my question too clearly. Here's my 2 database... question. Do you want to search through id or through the qualification selected 

Java Beginners

Java experts.Please answer this question - Java Beginners
Java experts.Please answer this question  class A { void get() { System.out.println("A's method"); } } class C extends A{} class D extends A { void set() { System.out.println("D's method"); } } class ins { public 

Programming Questions

Question Answer
website. If you found the question you can read the answer if it solves your...? Browse Latest Questions Question-Answer Guidelines... Here, you can post your desired question. For posting any question / query 

Hibernate Interview Questions

hibernate intrvw question
hibernate intrvw question  what is an entity in hibernate 

Java Beginners

to know my answer
to know my answer  hi, this is pinki, i can't solve my question "how to change rupee to dollar,pound and viceversa using wrapper class in java." will u help me 

Hibernate Tutorial Example

What is Hibernate in Java?
What is Hibernate in Java? - Hibernate is ORM tool in Java. Are you beginner... for the information about the Hibernate ORM? Then this is the best place to learn about Hibernate Framework in Java. The Hibernate in Java is framework used for developing 

JDBC Questions

question
the following links: http://www.roseindia.net/struts/hibernate-spring/index.shtml http://www.roseindia.net/struts/struts-hibernate 

Hibernate Questions

Question related to Hibernate
Question related to Hibernate  Why do we use Set in child class in 1:many hibernate ,why can't we use Directly HashSet 

Hibernate Interview Questions

Hibernate query - Hibernate Interview Questions
Hibernate query  Hi,In my one interview i face one question that is how to write query without using hql and sql.If any body knows please give the answer thank u 

Java Beginners

i need to answer this Question but i can't do it probably
i need to answer this Question but i can't do it probably   use the web to locate the lyrics to the traditional song"The Twelve Days of Christmas" the song contains a list of gifts received for the holiday.the list is cumulative 

Hibernate Interview Questions

Hibernate Question - Hibernate Interview Questions
Hibernate Question    Step by Step guide about developing project in Strutshttp://www.roseindia.net/struts/struts-projects.shtml 

Regex Questions

answer
 

JSP Servlet Questions

Plz send me answer quckly
Plz send me answer quckly  Respected Sir, myself is pavan shrivastava.i want ask a question that is ( we can't create object of interface then how would possible to create object 

JSP Servlet Questions

Please answer me - JSP-Servlet
Please answer me  Hello Guys, this is the third time I'm sending this question. But I've not got the right answer from you. The again is: I need java servlet or jsp codes that I can use to insert and retrieve image from MSSQL 

Java Beginners

Waiting for ur quick response
Waiting for ur quick response  Hi, I have two different java programs like sun and moon. In both of these two programs i have used same class name like A. For example, File name:sun.java Then the code is here: Class 

Programming Questions

Question-Answer Guidelines
Question-Answer Guidelines How to ask questions... and rating the articles/ tutorials. Same like this, question-answer section... Question-Answer Guidelines Disclaimer RoseIndia does 

Hibernate Questions

Hibernate 4.0-nested transaction not suported
didnot get any reply from ur side. Please kindly reply to my question...Hibernate 4.0-nested transaction not suported  how i do nested transaction using Hibernate 4, i know hibernate 4 does not support nested transaction 

Hibernate Interview Questions

Hibernate Interview question - Hibernate Interview Questions
Hibernate Interview question  Hi, My interviewer asked, in hibernate how u know whether data is updated or saved or deleted. Thanks in advance 

JSP Servlet Questions

hi,i'am new to Jsp.Can some one please let me know an answer for this question?
hi,i'am new to Jsp.Can some one please let me know an answer for this question?  how do we upload an xml file and validate them against WIPO DTD 

Hibernate Questions

hibernate image Upload
hibernate image Upload  Sir, I had posted question regarding upload image, th answer you had given is using SQL, but I am using Hibernate to insert data in the same table where I want to insert image. Plz hlp me. Thanks 

Hibernate Questions

hibernate insert image
hibernate insert image  Sir, Today I hadposted question regarding upload image, th answer you had given is using SQL, but I am using Hibernate to insert data in the same table where I want to insert image. Plz hlp me. Thanks 

Hibernate Questions

hibernate - Hibernate
: http://www.roseindia.net/hibernate/hibernate-aggregate-functions.shtml http://www.roseindia.net/hibernate/associations-and-joins.shtml Thanks for nice question, keep it up 

Hibernate Questions

insert image using hibernate
insert image using hibernate  Sir, Today I hadposted question regarding upload image, th answer you had given is using SQL, but I am using Hibernate to insert data in the same table where I want to insert image. Plz hlp me 

Hibernate Questions

Hibernate - Hibernate
Hibernate   Dear sir Thanks for your previous answers its really help me a lot. This is my question : I had 2 application(Java, spring ,hibernate, jboss, oracle) one is 1) Express and 2) MDM(All master data 

Hibernate Questions

hibernate - Hibernate
the application I got an exception that it antlr..... Exception.Tell me the answer.... For read more information: http://www.roseindia.net/hibernate/index.shtml 

Hibernate Questions

Hibernate code - Hibernate
Hibernate code  firstExample code that you have given for hibernate to insert the record in contact table,that is not happening neither it is giving... inserted in the database from this file. http://www.roseindia.net/hibernate 

Struts Questions

How to show next question from database on the click of next button..(Struts & Hibernate)
; String answer = null, question = null... answer = null, question = null...How to show next question from database on the click of next button..(Struts 

Struts Questions

How to show next question from database on the click of next button..(Struts & Hibernate)
answer = null, question = null...; String answer = null, question = null...How to show next question from database on the click of next button..(Struts 

Hibernate Questions

hibernate - Hibernate
hibernate  hi i am new to hibernate. i wan to run a select query... hibernate for use SessionFactory sessionFactory = new Configuration... it....... thanks a lot..in advance..for ur help 

Hibernate Interview Questions

java - Hibernate Interview Questions
java  Thanks for your previous answer...... my new question folows........ 1> If constructers can have any of the access specifiers then how a private constructer can be accessed? Can you explain it by a code please 

Hibernate Questions

Hibernate - Hibernate
Hibernate  Hai this is jagadhish, while executing a program in Hibernate in Tomcat i got an error like this HTTP Status 500...) Give me answer for this exception. Thank u inadvance.  Hi 

Struts Questions

struts interview Question - Struts
struts interview question and answer java  struts interview question and answer java 

Hibernate Questions

creating table in hibernate
of hibernate   There are 2 alternatives to create table in hibernate: 1... database by the help of hibernate, so if you would help me regarding this please... other source to ask this question..   < property name 

Framework Questions

need the answer vry urgently..plz help me...[plzzzzzzzz
need the answer vry urgently..plz help me...[plzzzzzzzz  the question is.... 1-create a form accepting user name,password and confirm password. 2.javascript validation, 3.check against the database that all the information given 

Hibernate Questions

Hibernate+JSF+Spring - Hibernate
Hibernate+JSF+Spring  i am facing the same problem. i have invited in Gtalk for chating. u can suggest ur convenience time to chat, so that i can ask my queries directly. i will be highly obliged 

Hibernate Questions

hibernate code - Hibernate
hibernate code  sir, i have tried ur hibernate 3.0 firt example code, i have done as u have told in the tutorial like import all the related jar files,made asimple java project and copied the two xml files into src/bin 

Hibernate Questions

Hibernate code problem - Hibernate
://www.roseindia.net/hibernate/ Thanks.  Add all the dependent jar files in ur...Hibernate code problem  Hi This is Raju.I tried the first example of Hibernate material what u have given. I have written contact.java 

Java Beginners

answer it soon
answer it soon  write a proggram to accept a number and check whether the sum of prime factors of a number is a prime number 

IDE Questions

General Interview Question - IDE Questions
General Interview Question  Please provide soln for this question(wt are all the concepts we hav to add for this question).Explain Architecture of ur project in brief 

Java Beginners

java.please answer this...
java.please answer this...   Q1).How we can write a complete JAVA program that computes the following summation formulas..? ??_(i=1)^n????i^2=?? (n^(2 ) ??(n+1)??^2)/4 

Java Beginners

java question
details or the long address details. This means your final answer should have 

Java Beginners

Question on Checked Exception
Question on Checked Exception   why checked exception force to put try and catch block ? Please send me answer 

Programming Tutorials

Core Java Interview Question, Interview Question
;     Question: What is clipping? Answer: Clipping... tasks. Question: What class is the top of the AWT event hierarchy? Answer.... Question: What is the range of the char type? Answer: The range of the char 

Java Beginners

Interview question link - Java Beginners
Interview question link  Hi, I want JAVA+J2EE interview question and answer please suggesion me link 

Programming Tutorials

Core Java Interview Question, Interview Question
. Question: Can an object be garbage collected while it is still reachable? Answer... : z ? Answer: It is written x ? y : z. Question: What is the difference between... object. Question: How is rounding performed under integer division? Answer 

Hibernate Interview Questions

Hibernate Code - Hibernate Interview Questions
Hibernate Code  This is the question asked in CAPEGEMINI Write a sample code how to persist inner class,interface,final class and how to invoke stored procedure in hibernate? From Surjeet 

Java Beginners

servlet question on web application
servlet question on web application   how to write a programg... a message like this ur registration under processing. if admin logged in fist.... if admin reject the customer get a message like ur registration discorded 

Programming Tutorials

Core Java Interview Question, Interview Question
and are laid out using the squares of a grid. Question: What an I/O filter? Answer: An I.... Question: If an object is garbage collected, can it become reachable again? Answer... reachable again. Question: What is the Set interface? Answer: The Set 

Hibernate Questions

Java - Hibernate
, this type of output. ---------------------------- Inserting Record Done Hibernate... FirstExample { public static void main(String[] args) { Session session = null... = null; try{ // This step will read hibernate.cfg.xml and prepare hibernate 

Hibernate Questions

hibernate code problem - Hibernate
hibernate code problem  String SQL_QUERY =" from Insurance...: " + insurance. getInsuranceName()); } in the above code,the hibernate... question is in the where clause will search when the values is 1 like 

Interview Questions

Core Java Interview Question Page 3
Core Java Interview Question Page 3       Question: When you declare a method as abstract method ? Answer: When i want child class to implement the behavior 

Programming Tutorials

Core Java Interview Question, Interview Question
;     Question: What is a compilation unit? Answer...? Answer: A dead thread cannot be restarted. Question: What happens if an exception.... Question: Can an abstract class be final? Answer: An abstract class may 

Programming Tutorials

Core Java Interview Question, Interview Question
Question: Explain modifier final Answer: Final can be applied... and methods Question: Can abstract class be instantiated Answer... Answer: During the class load time Question: When are the non static 

Programming Tutorials

Core Java Interview Question, Interview Question
. Which primitive datatypes are signed. Answer: All except char and Boolean Question.... It range is 0 to 2^7-1 Question: What forms an integral literal can be Answer... respectively Question: What is the default value of Boolean Answer: False 

General

Ask JDBC question online
of Roseindia, we are pleased to inform you that we have just begun a new question-answer service ‘Ask Question in JDBC’ for all our visitors. Now you...Ask JDBC question online    

Programming Tutorials

Core Java Interview Question, Interview Question
;     Question: What is a transient variable? Answer.... Question: How are Observer and Observable used? Answer: Objects that subclass...() methods have been deprecated in JDK 1.2. Question: Is null a keyword? Answer 

Ajax Questions

my answer
 

Java Beginners

give answer
 

Java Beginners

need answer
 

Hibernate Questions

hibernate code - Hibernate
hibernate code  well deepak,Regarding the inputs u asked for my fisr question, i have downloaded the complete project from the roseindia site...{ // This step will read hibernate.cfg.xml and prepare hibernate for use SessionFactory 

Programming Tutorials

Core Java Interview Question, Interview Question
operator? Answer: No, it is not. Question: Name the eight primitive Java.... Question: Is "abc" a primitive value? Answer: The String literal... as public or abstract. Question: Is a class a subclass of itself? Answer: A class 

Programming Tutorials

Core Java Interview Question, Interview Question
? Answer: Frame Question: How are commas used in the intialization... value? Answer: No, an object cannot be cast to a primitive value. Question: What... Core Java Interview Question Page 16   

Programming Tutorials

Core Java Interview Question, Interview Question
a container to be laid out and redisplayed? Answer: validate() Question: What... associative? Answer: The = operator is right associative. Question: What.... Question: Can a double value be cast to a byte? Answer: Yes, a double value can 

Programming Tutorials

Core Java Interview Question, Interview Question
? Answer: Garbage collection. Question: What comes to mind when someone mentions a shallow copy in Java? Answer: Object cloning. Question: If you're... consider? Answer: hashCode() Question: You are planning to do an indexed search 

Programming Tutorials

Core Java Interview Question, Interview Question
;     Question: What is an Iterator interface? Answer...? Answer: setBounds() Question: How many bits are used to represent Unicode... interface support event processing. Question: Is sizeof a keyword? Answer: The sizeof 

Programming Tutorials

Core Java Interview Question, Interview Question
Answer: Yes constructors can be overloaded Question: What happens when... in the constructor Question: What is an inner class Answer: An inner class is same... the static data Question: Can an inner class be defined inside a method Answer: Yes 

Programming Tutorials

Core Java Interview Question, Interview Question
an exception be rethrown? Answer: Yes, an exception can be rethrown. Question: Which... is the immediate superclass of the Container class? Answer: Component Question... of an identifier Question: What restrictions are placed on method overloading? Answer: Two 

Hibernate Questions

hibernate configuration with eclipse 3.1 - Hibernate
hibernate configuration with eclipse 3.1  Dear Sir, i got your mail... simple hibernate program code and with struts also. so please tell me the step by step process. i have that folder in d:/hibernate i thing 

Hibernate Questions

Problem in running first hibernate program.... - Hibernate
/FirstExample Exception in thread "main" " http://www.roseindia.net/hibernate/runninge...Problem in running first hibernate program....  Hi...I am using... programs.It worked fine.To run a hibernate sample program,I followed the tutorial below 

Programming Tutorials

Core Java Interview Question, Interview Question
. Question: What method must be implemented by all threads? Answer: All tasks must... label displayed by a Button object? Answer: getLabel() and setLabel() Question... Question: What are synchronized methods and synchronized statements? Answer 

Programming Tutorials

Core Java Interview Question, Interview Question
;     Question: Name four Container classes. Answer... unreachable. Question: How are this() and super() used with constructors? Answer.... Question: What Checkbox method allows you to tell if a Checkbox is checked? Answer 

Programming Tutorials

Core Java Interview Question, Interview Question
Question: What is the ultimate ancestor of all java classes Answer... with StringBuffer Question: What is Collection API Answer... an element Question: Difference between ArrayList and Vector Answer 

Java Beginners

java related question
java related question  How can we make a program in which we make mcqs question file and then make its corresponding answer sheet....like if we make 15 mcqs then java should generate it answer sheet of 15 mcqs with a,b,c d 

Java Beginners

Java Class Question?
Java Class Question?  1. Create an application names Numbers whose... but not display the answer instead it should return the answer to the calling method which displays the answer 

Programming Tutorials

Core Java Interview Question, Interview Question
it to byte stream Question: What are the rules of serialization Answer: Rules.... Question: What is the difference between parameters and arguments Answer.... Question: What is reflection in java Answer: Reflection allows Java code 

Hibernate Questions

JAVA - Hibernate
JAVA  hello friends please answer me. 1. what is hibernate...? 2. why hibernate..? 3. Hibernate Vs JDBC...? plz plz plz answer me, i have seminar in that topic..  Hi friend, Hibernate It is a free, open 

Programming Tutorials

Core Java Interview Question, Interview Question
using Interfaces Question: What are virtual function  Answer... be called. Question: Does java support virtual functions Answer: No java... Question: What is JVM Answer: When we install a java package 

Programming Tutorials

Core Java Interview Question, Interview Question
Question: When the thread gets to execute, what does it execute Answer... Question: What happens when the run() method returns Answer: When... Question: What are the different states of the thread Answer 

Programming Tutorials

Core Java Interview Question, Interview Question
Question: When do we say an exception is handled Answer: When... wrong data or I/O problems Question: What are runtime exceptions Answer... Answer: Yes it is perfectly legal Question: Explain the user 

Hibernate Questions

myfaces,hibernate and spring integration - Hibernate
_hibernate" inside ur MySql. 7)save the jdbc.properties file 8)run the server 9...myfaces,hibernate and spring integration  sorry, in the previous... followed:- 1) downloaded the .zip file from ur website. 2)then unzipped it. 3 

Interview Questions

Hibernate Interview Questions - What is Hibernate Framework?
Interviewer might ask this question just to guess how much you know about the Hibernate Framework. Should tell about the Hibernate framework, its features in brief and the current version of the Hibernate framework. What is Hibernate 

Hibernate Interview Questions

real time question
real time question  can you just give me the example of using hibernate in DAO classes   Hi Friend, Please visit the following link: Hibernate Tutorials Thanks 

Programming Tutorials

Core Java Interview Question, Interview Question
references Question: When can conversion happen Answer:  It can... Core Java Interview Question Page 28       Conversion Casting and Promotion Question: What 

Advertisements Advertisements
 

 

 

DMCA.com