GeeCON Prague 2014*
The moose likes Object Relational Mapping and the fly likes Where i make mistake? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Where i make mistake?" Watch "Where i make mistake?" New topic
Author

Where i make mistake?

Mandar Khire
Ranch Hand

Joined: Sep 11, 2007
Posts: 499

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...?


Millions saw the apple fall, but Newton asked why.
 
Consider Paul's rocket mass heater.
 
subject: Where i make mistake?