Advertisement
Guest User

Untitled

a guest
Feb 10th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.94 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
  3. <!--
  4. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
  5.  
  6. Copyright (c) 2008, 2016 Oracle and/or its affiliates. All rights reserved.
  7.  
  8. Oracle and Java are registered trademarks of Oracle and/or its affiliates.
  9. Other names may be trademarks of their respective owners.
  10.  
  11. The contents of this file are subject to the terms of either the GNU
  12. General Public License Version 2 only ("GPL") or the Common
  13. Development and Distribution License("CDDL") (collectively, the
  14. "License"). You may not use this file except in compliance with the
  15. License. You can obtain a copy of the License at
  16. http://www.netbeans.org/cddl-gplv2.html
  17. or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  18. specific language governing permissions and limitations under the
  19. License. When distributing the software, include this License Header
  20. Notice in each file and include the License file at
  21. nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
  22. particular file as subject to the "Classpath" exception as provided
  23. by Oracle in the GPL Version 2 section of the License file that
  24. accompanied this code. If applicable, add the following below the
  25. License Header, with the fields enclosed by brackets [] replaced by
  26. your own identifying information:
  27. "Portions Copyrighted [year] [name of copyright owner]"
  28.  
  29. If you wish your version of this file to be governed by only the CDDL
  30. or only the GPL Version 2, indicate your decision by adding
  31. "[Contributor] elects to include this software in this distribution
  32. under the [CDDL or GPL Version 2] license." If you do not indicate a
  33. single choice of license, a recipient has the option to distribute
  34. your version of this file under either the CDDL, the GPL Version 2 or
  35. to extend the choice of license to its licensees as provided above.
  36. However, if you add GPL Version 2 code and therefore, elected the GPL
  37. Version 2 license, then the option applies only if the new code is
  38. made subject to such option by the copyright holder.
  39.  
  40. Contributor(s):
  41. -->
  42. <hibernate-configuration>
  43. <session-factory>
  44. <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
  45. <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
  46. <property name="hibernate.connection.url">jdbc:mysql://localhost:8889/festivali?zeroDateTimeBehavior=convertToNull</property>
  47. <property name="hibernate.connection.username">root</property>
  48. <property name="hibernate.connection.password">root</property>
  49. <property name="hibernate.show_sql">true</property>
  50. <property name="hibernate.current_session_context_class">thread</property>
  51. <property name="hibernate.query.factory_class">org.hibernate.hql.internal.classic.ClassicQueryTranslatorFactory</property>
  52. </session-factory>
  53. </hibernate-configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement