Announcement

Collapse
No announcement yet.

Problem mit Hibernate

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem mit Hibernate

    Hallo ich hab ein Problem bei Hibernate. Ich möchte eine Mapping Datei von einer Datenbank erstellen, aber ich kann mcih nicht mit MS SQL2005 Express Edition verbinden

    Originally posted by hibernate Config File
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE hibernate-configuration
    PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN"
    "http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd">

    <hibernate-configuration>
    <session-factory >

    <!-- local connection properties -->
    <property name="hibernate.connection.url">jdbc:sqlserver://127.0.0.1;database=Base1;</property>
    <property name="hibernate.connection.driver_class">com.micro soft.sqlserver.jdbc.SQLServerDriver</property>
    <property name="hibernate.connection.username">Bellerophon/Naitch</property>
    <property name="hibernate.connection.password"></property>
    <!-- property name="hibernate.connection.pool_size"></property -->

    <!-- dialect for Microsoft SQL Server -->
    <property name="dialect">net.sf.hibernate.dialect.SQLServerD ialect</property>

    <property name="hibernate.show_sql">false</property>
    <property name="hibernate.use_outer_join">true</property>
    <property name="hibernate.transaction.factory_class">net.sf. hibernate.transaction.JTATransactionFactory</property>
    <property name="jta.UserTransaction">java:comp/UserTransaction</property>

    </session-factory>
    </hibernate-configuration>
    Eclipe schmeißt mir ne Exception, dass ich zu Host"" nicht verbinden kann. Ich muss am Donnerstag nämlich einen Vortrag halten über Hibernate in der Datenbank Vorlesung und würde mich auf eine schnelle Antwort freuen
    Zuletzt editiert von bellerophon; 17.06.2007, 15:13.
Working...
X