eclipse - Using hibernate tools to reverse engineer pojos from Postgres -


I am trying to reverse engineer Pauses from a database (HyperNet Tools Plugin v3.2.4x incl. 3.4 2) which I created in postgres but my table is not being ignored. This works if I specify 'public' as the value in my hibernate profile for the 'hibernate.default_schema' property, but nothing happens when I try to specify a different schema .

I have tried to modify the case (i.e. low, upper, camel) but I still get the same result here my hibernate cf.xm file is:

  & Lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt ;! DOCTYPE Hibernate-Configuration PUBLIC "- // Hibernate / Hibernate Configuration DTD 3.0 / N" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> & Lt; Hibernate-configuration & gt; & Lt; Session-factory name = "myfactor" & gt; & Lt; Property Name = "hibernate.connection.driver_class" & gt; Org.postgresql.Driver & lt; / Property & gt; & Lt; Property Name = "hibernate.connection.password" & gt; [Mypassword] & lt; / Property & gt; & Lt; Property Name = "Hibernate.Conception.URL" & gt; Jdbc: postgresql: // localhost: 5432 / testgis & lt; / Property & gt; & Lt; Property Name = "Hibernate Connection Username" & gt; Postgrads & lt; / Property & gt; & Lt; Property Name = "hibernate.default_schema" & gt; Locatimus & lt; / Property & gt; & Lt; Property Name = "hibernate.dialect" & gt; Org.hibernate.dialect.PostgreSQLDialect & lt; / Property & gt; & Lt; / Session-Factory & gt; & Lt; / Hibernate-configuration & gt; Here is the photo of my establishment in pgAdmin III - 

I'm pretty sure I'm doing something (or unavailable) is something easy. As I said, if I change the schema to the public, that schema is generated from all tables in that schema!

Can anyone help?

Many thanks, Damian

OK, I got the problem. That table name should be in lowercase or hibernate device, do not see them. I do not know whether this is a bug with PostgresSQL quote or hibernates itself.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -