Hibernate not creating tables
<p>Hibernate is not creating the tables in the database I have no idea why I tried to change the hibernate.hbm2ddl.auto to create but nothing seems to be working can someone check what I'm doing wrong here:</p>

<pre><code>&lt;bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"&gt;
    &lt;property name="driverClassName" value="org.h2.Driver"/&gt;
    &lt;property name="url" value="jdbc:h2:tcp://localhost/~/database"/&gt;
    &lt;property name="username" value="sa"/&gt;
    &lt;property name="password" value=""/&gt;
&lt;/bean&gt;

&lt;bean id="sessionFactory" class="org.springframework.orm.hibernate4.LocalSessionFactoryBean"&gt;
    &lt;property name="dataSource" ref="dataSource"&gt;&lt;/property&gt;
    &lt;property name="hibernateProperties"&gt;
        &lt;props&gt;
            &lt;prop key="hibernate.dialect"&gt;org.hibernate.dialect.H2Dialect&lt;/prop&gt;
            &lt;prop key="hibernate.hbm2ddl.auto"&gt;create&lt;/prop&gt;
            &lt;prop key="hibernate.show_sql"&gt;true&lt;/prop&gt;
            &lt;prop key="hibernate.format_sql"&gt;true&lt;/prop&gt;
        &lt;/props&gt;
    &lt;/property&gt;
    &lt;property name="packagesToScan"&gt;
        &lt;list&gt;
            &lt;value&gt;com.vacature.controller&lt;/value&gt;
        &lt;/list&gt;
    &lt;/property&gt;
&lt;/bean&gt;
</code></pre>

<p>.
    
        
    </p>

<pre><code>@Entity
public class Vacature {
@Id
@Column(name="id")
@GeneratedValue(strategy= GenerationType.IDENTITY)
public String vacatuurId;

public String naam;

public String getVacatuurId() {
    return vacatuurId;
}

public void setVacatuurId(String vacatuurId) {
    this.vacatuurId = vacatuurId;
}

public String getNaam() {
    return naam;
}

public void setNaam(String naam) {
    this.naam = naam;
}
}

   .JavaReflectionManager &lt;clinit&gt;
INFO: HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
jul 01, 2016 12:52:41 PM org.hibernate.Version logVersion
INFO: HHH000412: Hibernate Core {4.3.8.Final}
jul 01, 2016 12:52:41 PM org.hibernate.cfg.Environment &lt;clinit&gt;
INFO: HHH000206: hibernate.properties not found
jul 01, 2016 12:52:41 PM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: HHH000021: Bytecode provider name : javassist
jul 01, 2016 12:52:41 PM org.hibernate.dialect.Dialect &lt;init&gt;
INFO: HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
jul 01, 2016 12:52:41 PM org.hibernate.engine.transaction.internal.TransactionFactoryInitiator initiateService
INFO: HHH000399: Using default transaction strategy (direct JDBC transactions)
jul 01, 2016 12:52:41 PM org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory &lt;init&gt;
INFO: HHH000397: Using ASTQueryTranslatorFactory
jul 01, 2016 12:52:42 PM org.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: HHH000228: Running hbm2ddl schema update
jul 01, 2016 12:52:42 PM org.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: HHH000102: Fetching database metadata
jul 01, 2016 12:52:42 PM org.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: HHH000396: Updating schema
jul 01, 2016 12:52:42 PM org.hibernate.tool.hbm2ddl.SchemaUpdate execute
INFO: HHH000232: Schema update complete
jul 01, 2016 12:52:42 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping registerHandlerMethod
INFO: Mapped "{[/],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.vacature.controller.HomeController.home(org.springframework.ui.Model)
jul 01, 2016 12:52:42 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache
INFO: Looking for @ControllerAdvice: Root WebApplicationContext: startup date [Fri Jul 01 12:52:40 CEST 2016]; root of context hierarchy
jul 01, 2016 12:52:42 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache
INFO: Looking for @ControllerAdvice: Root WebApplicationContext: startup date [Fri Jul 01 12:52:40 CEST 2016]; root of context hierarchy
jul 01, 2016 12:52:42 PM org.springframework.web.servlet.handler.SimpleUrlHandlerMapping registerHandler
INFO: Mapped URL path [/resources/**] onto handler 'org.springframework.web.servlet.resource.ResourceHttpRequestHandler#0'
jul 01, 2016 12:52:42 PM org.springframework.orm.hibernate4.HibernateTransactionManager afterPropertiesSet
INFO: Using DataSource [org.springframework.jdbc.datasource.DriverManagerDataSource@21722714] of Hibernate SessionFactory for HibernateTransactionManager
jul 01, 2016 12:52:42 PM org.springframework.web.context.ContextLoader initWebApplicationContext
 INFO: Root WebApplicationContext: initialization completed in 1467 ms
</code></pre>