-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Exportierte Schema werden glöscht.
PostPosted: Sun Jul 10, 2005 4:58 pm 
Newbie

Joined: Tue Jul 05, 2005 3:06 am
Posts: 2
Hibernate version: 3.0.5

Name and version of the database you are using: HSQLDB 1.8.0.0

Hallo Zusammen!

Herbante löscht die erstellten Datenbankschema nach einem session.close()., obwohl ich in der Konfiguration nur hbm2ddl.auto = create angebe. Kann jemand helfen?

Vielen Dank im Vorraus!
Franz^

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">

<!-- Generated file - Do not edit! -->

<hibernate-configuration>

   <!-- a SessionFactory instance listed as /jndi/name -->
   <session-factory>

      <!-- properties -->
      <property name="dialect">org.hibernate.dialect.HSQLDialect</property>
      <property name="show_sql">true</property>
      <property name="use_outer_join">false</property>
         <property name="connection.username">sa</property>
         <property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
         <property name="connection.url">jdbc:hsqldb:file:data/mediadb</property>
      <property name="hbm2ddl.auto">create</property>
      <!-- mapping files -->
      <mapping resource="de/*******/mediadb/pojos/MediaTypePOJO.hbm.xml"/>
   </session-factory>

</hibernate-configuration>

[/code]


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.