Hi,
I have a connection problem with hibernate i got my hibernate.cfg.xml like that :
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">
<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.driver_class">net.sourceforge.jtds.jdbc.Driver</property>
<property name="hibernate.connection.password">password</property>
<property name="hibernate.connection.url">jdbc:jtds:sqlserver://127.0.0.1:1433/database;domain=DOMAINNAME</property>
<property name="hibernate.connection.username">login</property>
<property name="hibernate.default_catalog">database</property>
<property name="hibernate.default_schema">dbo</property>
<property name="hibernate.dialect">org.hibernate.dialect.SQLServerDialect</property>
<!-- Mapping files -->
<mapping resource="systeme/sysutil/Sysutil.hbm.xml"/>
</session-factory>
</hibernate-configuration>
My problem is that i would like to connect to this database, on a local computer, without any domain name, and still with a Windows authentification..
The computer has a name "TEST1" and a group "WORKGROUP", but no domain name...
The user is "toto" and his password is "password"
Is it possible to work like this ?
Thank you for the answer.
Michel