Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Where i make mistake?

 
Mandar Khire
Ranch Hand
Posts: 572
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for i am not following HowToAskQuestionsOnJavaRanch properly...but i hope then also i get answer...because by seeing my question there can be lots to learn...i think so...may be wrong...
I write program with the help of swing & ORM.
I use mysql for db & eclipse helios for write program.
I create table 'testing_ltp' in 'temp' database in mysql. 5 columns
1. panel_number 2. old_x 3.old_y 4.new_x 5.new_y

I create java project with the help of eclipse named 'mytest'.
In that i make 3 different directories each has .java file

mytest -->
1. important --> Testing.java,holdingPanel.java
2. manage --> manage.java
3. parameter --> Testing_ltp.java,Testing_ltp.hbm.xml
hibernate.cfg.xml
hibernate.reveng.xml

I add jars for support

1. JRE system library
resources.jar
rt.jar
jsse.jar
jce.jar
charsets.jar
dnsns.jar
localedata.jar
sunjce_provider.jar
sunmscapi.jar
sunpkcs11.jar
----------------------------
User Defined Library for hibernate
log4j-1.2.13.jar
antlr-2.7.6.jar
asm.jar
asm-attrs.jar
asterisk-java-1.0.0.M3.jar
cglib-2.1.3.jar
commons-collections-2.1.1.jar
commons-logging-1.1.jar
dom4j-1.6.1.jar
ehcache-1.2.3.jar
ejb3-persistence.jar
ejb3unit-2.0.0-RC-1.jar
hibernate3.jar
hibernate-annotations.jar
hibernate-commons-annotations.jar
hibernate-entitymanager.jar
hibernate-tools.jar
iText-5.0.3.jar
javassist.jar
jdbc2_0-stdext.jar
jta.jar
-----------------------------------------------
mysql-connector-java-5.0.4-bin.jar

All codes(for identify where i made mistake):-
1. holdingPanel.java

2 Testing.java


3. Testing_ltp.java


4. Testing_ltp.hbm.xml

5.hibernate.cfg.xml

6.hibernate.reveng.xml


When i run Testing.java i get exceptions which are followings, but program runs also even data also save...?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!