![]() On next run got an exception for which I had to add the following jar - " jboss-archive-browsing.jar " On one of the exceptions - I needed to add the jar - " hibernate-entitymanager.jar " ![]() I kept adding one jar at a time till the example ran successfully. Not using caching or connection pooling so none of the additional jars are specified here. Surprising regarding the difference between the number of files required for compilation as compared to running the code. D:\zzz\ejb3-persistence.jar D:\zzz\hibernate3.jar D:\zzz\hibernate-entitymanager.jar D:\zzz\jboss-archive-browsing.jar D:\zzz\dom4j.jar D:\zzz\hibernate-annotations.jar D:\zzz\commons-logging.jar D:\zzz\javassist.jar D:\zzz\commons-collections.jar D:\zzz\ D:\zzz\cglib.jar D:\zzz\jta-spec1_0_1.jar D:\zzz\ejb3-persistence.jar com\embeddable\Client.java My list of jars required ( at run time )were ::ฤก0> ( Postgres db driver ) OK finally got a simple example of JPA ( using Hibernate ) to run from the prompt.
0 Comments
Leave a Reply. |