[Compile hibernate sample file]
javac  SampleTable.java
javac -cp .:$SUNDB_HOME/lib/sundb8.jar:hibernate5.2.jar HibernateSample.java

[Execute class]
java -cp .:$SUNDB_HOME/lib/sundb8.jar:hibernate5.2.jar:antlr-2.7.7.jar:classmate-1.3.0.jar:dom4j-1.6.1.jar:geronimo-jta_1.1_spec-1.1.1.jar:hibernate-commons-annotations-5.0.1.Final.jar:hibernate-jpa-2.1-api-1.0.0.Final.jar:jandex-2.0.3.Final.jar:javassist-3.20.0-GA.jar:jboss-logging-3.3.0.Final.jar HibernateSample

[Download Hibernate]
Download Hibernate at https://sourceforge.net/projects/hibernate/.
After decompressing the downloaded file, many jar files are found in lib directory. 
Use these files to interwork with hibernate.
Hibernate version 5.2.11 is available in SundbDialect.

[Example of compiling SundbDialect]
$ javac -cp lib/required/hibernate5.2.jar  SundbDialect.java
Execute javac as given above, then two class files are created.

[Interworking with Hibernate]
SundbDialect class should be ported to hibernate-core-5.2.11.Final.jar file to interwork with Hibernate.

* Decompress hibernate-core-5.2.11.Final.jar file.
** $ jar -xvf hibernate-core-5.2.11.Final.jar

* Move two SundbDialect*.class files created by compiling to decompressed org/hibernate/dialect directory.
** $pwd
 hibernate-release-5.2.11.Final/lib/required/
** $ mv SundbDialect*.class org/hibernate/dialect/

* Compress it again with Hibernate jar file.
** $ jar -cvf hibernate.5.2.jar  META-INF/MANIFET.MF .

* Add the newly created hibernate.5.2.jar file to classpath, then use it. 
