I think my hbm.xml, cfg, and table's class and the main class are all ok but when I run the application as
java application I get an error saying
Exception in
thread "main" java.lang.NullPointerException
at hibTest.AddName.main(AddName.java:20)
Can somehelp.
adding the code here
testt.hbm.xml
hibernate.cfg.xml here
i have oracle database and i m omitting connection url and username and password
testt.java
AddName.java