Grails

Support for JNDI DataSources

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 0.2.1
  • Fix Version/s: 0.2.2
  • Component/s: Persistence
  • Labels:
    None

Description

Grails needs to be able to play in corporate environments where database URLs and passwords are not hard-coded in the war file. Also, developers generally should not have access to production database passwords. The way J2EE does this is with JNDI data sources that are managed by the DBAs or appserver administrators.

Please allow Grails to use J2EE JNDI DataSources. I hope it's OK that I marked this as being "Critical". It's actually a "Blocker" for me, but I didn't want to assume that the world revolves around me.

Thanks!

  • Jonathan

Activity

Hide
Graeme Rocher added a comment -

Ok If you define a data source bean in the spring/resource.xml it will use this instead:

<bean id="dataSource" class="..">
//etc.
</bean>

Show
Graeme Rocher added a comment - Ok If you define a data source bean in the spring/resource.xml it will use this instead: <bean id="dataSource" class=".."> //etc. </bean>
Hide
Graeme Rocher added a comment -

Bulk closing bunch of resolved issues

Show
Graeme Rocher added a comment - Bulk closing bunch of resolved issues

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: