| Author |
Problem with schema/postgres
|
Hebert Coelho
Ranch Hand
Joined: Jul 14, 2010
Posts: 754
|
|
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
|
[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
|
 |
Hebert Coelho
Ranch Hand
Joined: Jul 14, 2010
Posts: 754
|
|
Problem resolved.
I putted the the option hibernate.default_schema in the persistence.xml and cleaned the cache! 8)
C ya! \o_
|
 |
 |
|
|
subject: Problem with schema/postgres
|
|
|