Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with schema/postgres

 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.

I am having a problem when the application runs, it creates the table in the right schema, but, the sequence in the public schema.

I do not want to leave the schema in the class. Could some one help me?

I really need to leave the schema configuration in a xml file, this app will run in more then one clients.

I will write bellow the codes:

sun-resources.xml



persistence.xml


Even with the hibernate.default_schema is not working. =/

hibernate.cfg.xml


thanks

I do not know if here is the right post, if it is not, could the adm please move to the right one? Thanks
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem resolved.

I putted the the option hibernate.default_schema in the persistence.xml and cleaned the cache! 8)

C ya! \o_
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic