java - Not specifying Hibernate dialect -


i new hibernate. while reading hibernate, came across dialect property. whatever database use in our application, need set dialect related database , hibernate generate appropriate query related database.

just want know if mandatory property set? if not , not specified in hibernate.cfg.xml file, how hibernate generate sql queries i.e. database compliant sql query generated?

no not mandatory per documentation http://docs.jboss.org/hibernate/orm/3.3/reference/en/html/session-configuration.html#configuration-optional-dialects , had not try same. while answer of others points answer experienced here. :)


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -