IntelliJ Java IDE
The moose likes Groovy and the fly likes Grails - Connecting to existing Oracle Database Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Other Languages » Groovy
Reply Bookmark "Grails - Connecting to existing Oracle Database" Watch "Grails - Connecting to existing Oracle Database" New topic
Author

Grails - Connecting to existing Oracle Database

Bill Lee
Greenhorn

Joined: Feb 02, 2007
Posts: 20
Hi, I have just started using Grails and I am trying to connect to an existing Oracle database. I modified the ApplicationDataSource.groovy file and added the oracle.jar to the appropriate location. Is there anything else that I need to do? Also, as for the domain classes, how would I map to the specific table? Thanks.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 4875

I will assume that you are following a tutorial the uses a database such as MySQL and you are attempting to use Oracle instead and you have run into problems. Care to share what the problems are?


JBoss In Action
 
IntelliJ Java IDE
 
subject: Grails - Connecting to existing Oracle Database
 
Threads others viewed
Web services and Grails
adding grails to a current webapp
Enterprise Development with Groovy
Oracle Database showing existing tables and their relationships .
Grails and legacy database
developer file tools