I have persistence.xml file in my project and in this file one property is being set, so I am curious, Why it is being set? What it does?
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect" />
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Although basic SQL is a standard, different databases use different data types for certain things outside the standard, have different methods of quoting identifiers, etc. The dialect is hibernate’s way to abstract away from these differences – think of it as the translation layer between HQL and the right SQL for each database.