Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE hibernate-configuration PUBLIC
- "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
- "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
- <hibernate-configuration>
- <session-factory>
- <property name="hibernate.connection.driver_class">org.postgresql.Driver</property>
- <property name="hibernate.connection.password">the_pass</property>
- <property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/the_db</property>
- <property name="hibernate.connection.username">me</property>
- <property name="hibernate.default_schema">the_schema</property>
- <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property>
- <property name="hibernate.dialect">org.hibernate.spatial.dialect.postgis.PostgisDialect"</property>
- <!-- "Import" the mapping resources here -->
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE hibernate-reverse-engineering PUBLIC "-//Hibernate/Hibernate Reverse Engineering DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd" >
- <hibernate-reverse-engineering>
- [...]
- <table-filter match-name="coordinates"></table-filter>
- <table-filter match-name="polygon"></table-filter>
- </hibernate-reverse-engineering>
- private Serializable geom;
- public Serializable getGeom() {
- return this.geom;
- }
- public void setGeom(Serializable geom) {
- this.geom = geom;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement