Danyas playground
1System.out.println("Hello World");
<dependency>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-core</artifactId>
<version>6.3.1.Final</version>
</dependency>
123456789101112131415161718192021<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE hibernate-configuration SYSTEM "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd"> <hibernate-configuration> <session-factory> <!-- JDBC set up--> <property name="hibernate.connection.driver_class">com.mysql.cj.jdbc.Driver</property> <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/testDatabase</property> <property name="hibernate.connection.username">yourUsername</property> <property name="hibernate.connection.password">yourPassword</property> <!-- Dialect setup --> <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property> <!-- SQL Display and Formatting Settings --> <property name="show_sql">true</property> <property name="format_sql">true</property> <property name="hibernate.current_session_context_class">thread</property> </session-factory> </hibernate-configuration>
Tout était clair ?
Merci pour vos commentaires !
Section 5. Chapitre 7
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 1.18
Danyas playground
Glissez pour afficher le menu
1System.out.println("Hello World");
<dependency>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-core</artifactId>
<version>6.3.1.Final</version>
</dependency>
123456789101112131415161718192021<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE hibernate-configuration SYSTEM "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd"> <hibernate-configuration> <session-factory> <!-- JDBC set up--> <property name="hibernate.connection.driver_class">com.mysql.cj.jdbc.Driver</property> <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/testDatabase</property> <property name="hibernate.connection.username">yourUsername</property> <property name="hibernate.connection.password">yourPassword</property> <!-- Dialect setup --> <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property> <!-- SQL Display and Formatting Settings --> <property name="show_sql">true</property> <property name="format_sql">true</property> <property name="hibernate.current_session_context_class">thread</property> </session-factory> </hibernate-configuration>
Tout était clair ?
Merci pour vos commentaires !
Section 5. Chapitre 7