mysql connection optimization

master
Markus Kreth 7 years ago
parent 748ef126d7
commit 9636234dce
  1. 2
      .settings/com.vaadin.integration.eclipse.prefs
  2. 2
      src/main/resources/application.properties
  3. 44
      src/main/resources/schema/ClubEvent.hbm.xml
  4. 22
      src/main/webapp/VAADIN/themes/vaadin-clubhelpertheme/addons.scss

@ -1,2 +1,2 @@
com.vaadin.integration.eclipse.mavenLatestVersionsUpgrade=["8.4.5","8.5.0"]
com.vaadin.integration.eclipse.mavenLatestVersionsUpgrade=["8.4.5","8.5.1"]
eclipse.preferences.version=1

@ -1,4 +1,4 @@
spring.datasource.url=jdbc:mysql://192.168.0.8:3306/clubhelper
spring.datasource.url=jdbc:mysql://localhost:3306/clubhelper?useUnicode=yes&characterEncoding=utf8&serverTimezone=Europe/Berlin
spring.datasource.username=markus
spring.datasource.password=0773
security.ignored=/**

@ -2,24 +2,30 @@
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class
name="de.kreth.vaadin.clubhelper.vaadinclubhelper.data.ClubEvent" table="ClubEvent">
<id column="id" name="id" type="string"/>
<property column="caption" generated="never" lazy="false"
name="caption" type="string"/>
<property column="description" generated="never" lazy="false"
name="description" type="string"/>
<property column="iCalUID" generated="never" lazy="false"
name="iCalUID" type="string"/>
<property column="location" generated="never" lazy="false"
name="location" type="string"/>
<property column="start" generated="never" lazy="false" name="start" />
<property column="end" generated="never" lazy="false" name="end" />
<property column="allDay" generated="never" lazy="false" name="allDay" type="true_false"/>
<property column="organizerDisplayName" generated="never" lazy="false"
name="organizerDisplayName" type="string"/>
</class>
<query name="ClubEvent.findAll">
<class
name="de.kreth.vaadin.clubhelper.vaadinclubhelper.data.ClubEvent"
table="ClubEvent">
<id column="id" name="id" type="string" />
<property column="caption" generated="never" lazy="false"
name="caption" type="string" />
<property column="description" generated="never" lazy="false"
name="description" type="string" />
<property column="iCalUID" generated="never" lazy="false"
name="iCalUID" type="string" />
<property column="location" generated="never" lazy="false"
name="location" type="string" />
<property column="start" generated="never" lazy="false"
name="start" />
<property column="end" generated="never" lazy="false"
name="end" />
<property generated="never" lazy="false"
name="allDay">
<column sql-type="BOOLEAN" not-null="true" name="allDay" />
</property>
<property column="organizerDisplayName" generated="never"
lazy="false" name="organizerDisplayName" type="string" />
</class>
<query name="ClubEvent.findAll">
<![CDATA[from ClubEvent]]>
</query>
</query>
</hibernate-mapping>

@ -1,12 +1,12 @@
/* This file is automatically managed and will be overwritten from time to time. */
/* Do not manually edit this file. */
/* Provided by calendar-component-2.0-BETA4.jar */
/* This file is automatically managed and will be overwritten from time to time. */
/* Do not manually edit this file. */
/* Provided by calendar-component-2.0-BETA4.jar */
@import "../../../VAADIN/addons/calendar/calendar-addon.scss";
/* Import and include this mixin into your project theme to include the addon themes */
@mixin addons {
@include calendar-addon;
}
/* Import and include this mixin into your project theme to include the addon themes */
@mixin addons {
@include calendar-addon;
}

Loading…
Cancel
Save