• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Where i make mistake?

 
Ranch Hand
Posts: 630
Android Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...?
 
reply
    Bookmark Topic Watch Topic
  • New Topic