[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-874) Ability to add configuration information for database when config file points to a DataSource

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Fri Feb 16 11:25:48 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-874?page=comments#action_26141 ] 

Max Rydahl Andersen commented on HBX-874:
-----------------------------------------

I tried to this once but ran into all kinds of troubles with jndi and eclipse classloading fun.

You are welcome to show me how to create a data source and make it available in a temporary classloader so it does not leak memory.

Do remember that you still have to specify the datasource should actually point too....

> Ability to add configuration information for database when config file points to a DataSource
> ---------------------------------------------------------------------------------------------
>
>          Key: HBX-874
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-874
>      Project: Hibernate Tools
>         Type: Improvement

>   Components: consoleconfiguration
>     Versions: 3.2beta9
>  Environment: Hibernate 3.2, Postgres 8.2.3
>     Reporter: Mark Spritzler

>
>
> When setting up the Hibernate Console to use a hibernate.cfg.xml or point to a persistence unit, if either configurations point to a DataSource JNDI name, then the console cannot create a SessionFactory/EntityManagerFactory. There should be a way to put the database connectivity information on the configuration for the console for just these cases.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list