Your attempt to provide code markers is laudable, but our editor has a "Code" button that wraps special tags around code and it has the advantage that it keeps the message formatter from mangling your examples. I've added appropriate code tags to your examples.
As for the problem itself, I think that it's the "hibernate.properties not found" message in the stack trace. If I'm not mistaken, hibernate.properties is where you tell Hibernate to construct the database objects. And that by default (I hope!) it does not construct them automatically.
Beyond that, it appears that you are using legacy Hibernate and not Hibernate JPA. I don't know why you would do that, as JPA, unlike legacy Hibernate, is supported by the JEE standard, has several years of proven use behind it, and, as far as I know, it does everything legacy Hibernate did, including the option to dynamically create schema objects.
An IDE is no substitute for an Intelligent Developer.
posted 4 months ago
Thanks for the update,
please see the attached document for the reference whether I am using correct jar file for this program or not.
if jar file is not correct then please advice what jar file to be used.
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database