Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE hibernate-configuration PUBLIC
  3. "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
  4. "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
  5. <hibernate-configuration>
  6. <session-factory>
  7. <property name="hibernate.connection.driver_class">org.postgresql.Driver</property>
  8. <property name="hibernate.connection.password">the_pass</property>
  9. <property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/the_db</property>
  10. <property name="hibernate.connection.username">me</property>
  11. <property name="hibernate.default_schema">the_schema</property>
  12. <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property>
  13. <property name="hibernate.dialect">org.hibernate.spatial.dialect.postgis.PostgisDialect"</property>
  14. <!-- "Import" the mapping resources here -->
  15.  
  16. private Serializable geom;
  17.  
  18. public Serializable getGeom() {
  19. return this.geom;
  20. }
  21.  
  22. public void setGeom(Serializable geom) {
  23. this.geom = geom;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement