Re: Datasource configuration with Jonas 5.1 and JPA
"Hans J. Prueller" <[email protected]> Thu, 16 Jun 2011 07:12:03 +0200
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Organization | LBS logics GmbH |
| Message-ID | <1308201123.2055.3.camel@kodos> |
take jdbc-ds.xml as an example for how to configure your datasource via xml descriptor, copy or adapt the file (and ensure it is put into the depoy folder of JOnAS). if you choose the xml-deployment way this should be all you have to do, no editing of jonas.properties or something else. regards, hans Am Mittwoch, den 15.06.2011, 14:07 -0700 schrieb Celinio Fernandes: > Hi, > a very basic question : > I need to configure a datasource in Jonas for use with my JPA project > (persistence.xml). > > The database is Oracle. > Which files do i need to configure ? > Oracle1.properties and jonas.properties ? > Do i also need to configure jdbc-ds.xml ? > > Thanks for your explanations ! >