hibernate.cfg.xml

Фрагмент hibernate.cfg.xml

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

< hibernate-configuration >
   < session-factory >
       < property name="connection.driver_class" >com.relx.jdbc.LinterDriver< /property >
       < property name="connection.url" >
          jdbc:linter:linapid:localhost:1070:local
       < /property >
       < property name="connection.username" >SYSTEM< /property >
       < property name="connection.password" >MANAGER8< /property >
       < property name="connection.datasource" >java:comp/env/jdbc/DB< /property >
       < property name="dialect" >org.hibernate.dialect.LinterDialect< /property >
...
   < /session-factory >
< /hibernate-configuration >