and what is your error?
Its curios cause hbernate didn't change between version 1.1 and Version 1.2.


Sebastian

2010/3/9 HMiles <[email protected]>

> Having a problem connecting to SQL server.  I bleive the problem is in
> the hybernate.config.xml
> This was working under the previous Red five but I canst seem to get
> it wo work now.
> Can anyone see what migght be wrong with this.
> <?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<http://hibernate.sourceforge.net/hibernate-%0Aconfiguration-3.0.dtd>
> ">
>
> <!-- Generated file - Do not edit! -->
>
> <hibernate-configuration>
>
>        <!-- a SessionFactory instance listed as /jndi/name -->
>        <session-factory>
>
>                <!-- User  / Password -->
>                <property name="connection.username">xx</property>
>                <property name="connection.password">xxxxxxxxx</property>
>
>                <!-- Database Settings -->
>                <property
>
> name="connection.driver_class">com.microsoft.sqlserver.jdbc.SQLServerDriver</
> property>
>                <!--  for performance reasons changed to MyISAM from
> org.hibernate.dialect.MySQLInnoDBDialect -->
>                <property
> name="dialect">org.hibernate.dialect.SQLServerDialect</
> property>
>                <property name="connection.url">jdbc:sqlserver://
> 127.0.0.1:1433
> ;databaseName=openmeetings;autoReconnect=true;useUnicode=true;createDatabaseIfNotExist=true;characterEncoding=utf-8</
> property>
>
>                <property
> name="hibernate.connection.CharSet">utf8</property>
>                <property
> name="hibernate.connection.characterEncoding">utf8</
> property>
>                <property
> name="hibernate.connection.useUnicode">true</property>
>
>
>
>                <!-- Database Scheme Auto Update -->
>                <property name="hbm2ddl.auto">update</property>
>
>                <!-- properties -->
>
>                <property name="show_sql">false</property>
>                <property name="use_outer_join">false</property>
>                <property
>
> name="hibernate.query.factory_class">org.hibernate.hql.ast.ASTQueryTranslatorFactory</
> property>
>        <property
>
> name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</
> property>
>        <!--
>        <property name="connection.provider_class
> ">org.hibernate.connection.C3P0ConnectionProvider</property>
>         -->
>        <property
> name="hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</
> property>
>        <property name="hibernate.cache.use_query_cache">false</
> property>
>        <property name="hibernate.cache.use_second_level_cache">false</
> property>
>        <property name="hibernate.generate_statistics">false</
> property>
>        <property name="hibernate.cache.use_structured_entries">false</
> property>
>
>
>                <property name="c3p0.max_size">20</property>
>                <property name="c3p0.min_size">2</property>
>        <property name="c3p0.idle_test_period">100</property>
>                <property name="c3p0.max_statements">100</property>
>                <property name="c3p0.timeout">100</property>
>
>                <!-- mapping files -->
>    <mapping resource="org/openmeetings/app/hibernate/beans/adresses/
> Adresses.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/adresses/
> States.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/basic/
> Configuration.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/basic/
> ErrorType.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/basic/
> ErrorValues.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/basic/
> Naviglobal.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/basic/
> Navimain.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/basic/
> Navisub.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/basic/
> SOAPLogin.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/basic/
> Sessiondata.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/calendar/
> Appointment.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/calendar/
> AppointmentCategory.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/calendar/
> AppointmentReminderTyps.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/calendar/
> MeetingMember.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/domain/
> Organisation.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/domain/
> Organisation_Users.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/flvrecord/
> FlvRecording.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/flvrecord/
> FlvRecordingLog.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/flvrecord/
> FlvRecordingMetaData.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/flvrecord/
> FlvRecordingMetaDelta.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/invitation/
> Invitations.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/lang/
> FieldLanguage.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/lang/
> Fieldlanguagesvalues.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/lang/
> Fieldvalues.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/logs/
> ConferenceLog.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/logs/
> ConferenceLogType.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/recording/
> ChatvaluesEvent.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/recording/
> Recording.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/recording/
> RecordingClient.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/recording/
> RecordingConversionJob.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/recording/
> RoomClient.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/recording/
> RoomRecording.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/recording/
> RoomStream.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/recording/
> WhiteBoardEvent.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/rooms/
> RoomModerators.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/rooms/
> RoomTypes.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/rooms/
> Rooms.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/rooms/
> Rooms_Organisation.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/user/
> Salutations.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/user/
> UserSipData.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/user/
> Userdata.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/user/
> Usergroups.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/user/
> Userlevel.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/user/
> Users.hbm.xml"/>
>    <mapping resource="org/openmeetings/app/hibernate/beans/user/
> Users_Usergroups.hbm.xml"/>
>
>        </session-factory>
>
> </hibernate-configuration>
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings User" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<openmeetings-user%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/openmeetings-user?hl=en.
>
>


-- 
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.laszlo-forum.de
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.

Reply via email to