Hello all!
Environment: JBoss 4.2 / EJB3
I want to make my application compatible to several databases. One EAR, different possible datasources.
For some reason (which is not topic of this post), when using Oracle as database, I have to supply my own dialect.
I can put a hibernate.dialect property into my persistence.xml, but persistence.xml is inside EAR, so changing datasource won't be that simple anymore.
Is there some other place where I can put the dialect property? Or do you have any other idea?
Thank you very much!
Marcus.
|