|
From: Max R. A. <max...@jb...> - 2006-03-29 17:25:24
|
On Wed, 29 Mar 2006 19:11:07 +0200, Jonathan O'Connor =20
<jon...@xc...> wrote:
> Max,
> I saw you exposed the AnnotationConfiguration object in the latest
> Ejb3Configuration. That only goes some of the way to help the tools.
It was exposed by Emmanuel and that is exactly what I have used ;)
> I
> guess your last comment indicates you will refactor the Ejb3Configurati=
on
> so that you don't have to create an EntityManagerFactory to populate th=
e
> object. A method like:
> Ejb3Conguration.configurePersistentUnit(String persistentUnitName=
)
> would be great.
I opened an issue for that which I hope emmanuel will look into since
currently the SF is actually created and thrown away which is a waste of =
=20
cycles
at the moment. It also prevents using ejb3configuration capabilities for =
=20
autodetection
of hbm.xml etc. to use for codegeneration so that will have to wait until=
=20
the
Ejb3Configuration supports it.
> Also, there's a bug in PersistenceXmlLoader.java (line 102)
> for ( Map.Entry entry : (Set<Map.Entry>) overrides.keySet() ) {
I found, reported and fixed that earlier today. also in jira.
/max
> The call to keySet() should be to entrySet(). There's an issue raised i=
n
> the User Forum with an excellent description given:
> http://forum.hibernate.org/viewtopic.php?t=3D957348
>
> Ciao,
> Jonathan O'Connor
> XCOM Dublin
>
>
> "Max Rydahl
> Andersen"
> <max.andersen@jbo =
=20
> To
> ss.com> "Hibernate development"
> Sent by: =20
> <hib...@li....
> hibernate-devel-a net>
> dm...@li... =
=20
> cc
> forge.net
> Subj=
ect
> [Hibernate] ejb3configuration
> 28/03/2006 17:02 support in ant tools
>
>
>
>
>
> A FAQ has now been implemented.
> http://opensource.atlassian.com/projects/hibernate/browse/HBX-632
>
> meaning ejb3 autodiscovery is now possible to use with the ant tools.
> (will probably only add it to the eclipse ui once I can get a bit more
> control over when the sessionfactory is actually created)
>
> --
> --
> Max Rydahl Andersen
> callto://max.rydahl.andersen
>
> Hibernate
> ma...@hi...
> http://hibernate.org
>
> JBoss Inc
> max...@jb...
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting =20
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding =20
> territory!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=
=3D121642
> _______________________________________________
> hibernate-devel mailing list
> hib...@li...
> https://lists.sourceforge.net/lists/listinfo/hibernate-devel
>
>
>
>
> *** XCOM AG Legal Disclaimer ***
>
> Diese E-Mail einschliesslich ihrer Anhaenge ist vertraulich und ist =20
> allein
> f=FCr den Gebrauch durch den vorgesehenen Empfaenger bestimmt. Dritten =
ist
> das Lesen, Verteilen oder Weiterleiten dieser E-Mail untersagt. Wir =20
> bitten,
> eine fehlgeleitete E-Mail unverzueglich vollstaendig zu loeschen und un=
s
> eine Nachricht zukommen zu lassen.
>
> This email may contain material that is confidential and for the sole u=
se
> of the intended recipient. Any review, distribution by others or =20
> forwarding
> without express permission is strictly prohibited. If you are not the
> intended recipient, please contact the sender and delete all copies.
>
> Hauptsitz: Bahnstrasse 33, D-47877 Willich, USt-IdNr.: DE 812 885 664
> Kommunikation: Telefon +49 2154 9209-70, Telefax +49 2154 9209-900,
> www.xcom.de
> Handelsregister: Amtsgericht Krefeld, HRB 10340
> Vorstand: Matthias Albrecht, Renate Becker-Grope, Marco Marty
> Vorsitzender des Aufsichtsrates: Stephan Steuer
--=20
--
Max Rydahl Andersen
callto://max.rydahl.andersen
Hibernate
ma...@hi...
http://hibernate.org
JBoss Inc
max...@jb...
|