Hibernate bug using Oracle?
        Posted  
        
            by Lothar
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Lothar
        
        
        
        Published on 2010-03-05T10:49:23Z
        Indexed on 
            2010/05/02
            17:07 UTC
        
        
        Read the original article
        Hit count: 296
        
Hello,
I've got the problem, that I use a property in the persistence.xml which forces Hibernate to look only for tables in the given schema.
<property name="hibernate.default_schema" value="FOO"/>
Because we are using now 4 different schemas the actual solution is to generate 4 war files with a modified persistence.xml.
That not very elegant.
Does anybody know, how I can configure the schema with a property or by manipulation the JDBC connection string?
I'm using Oracle 10g, 10_2_3 Patch.
Thanks a lot.
© Stack Overflow or respective owner