Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » persistence.xml management
persistence.xml management [message #433720] Thu, 13 April 2006 12:37 Go to next message
Kevin Sutter is currently offline Kevin Sutter
Messages: 104
Registered: July 2009
Senior Member
Hi,
Can I get a few more words on what the "management of persistence.xml"
feature in M2 will include? I was thinking of writing a bugzilla
enhancement report for some ideas that I was having regarding the
generation and management of xml configuration files. But, maybe you are
already one step ahead of me. If you could elaborate a bit or point me at
more detailed documentation, it would be appreciated.

Thank you,
Kevin
Re: persistence.xml management [message #433723 is a reply to message #433720] Thu, 13 April 2006 15:03 Go to previous messageGo to next message
Paul Fullbright is currently offline Paul Fullbright
Messages: 199
Registered: July 2009
Senior Member
Hi Kevin,

Right now our intended support for M2 will is summarized by the following
bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=136725

After that functionality is added, the following bugs are going to be
addressed (in the order shown):
https://bugs.eclipse.org/bugs/show_bug.cgi?id=136726
https://bugs.eclipse.org/bugs/show_bug.cgi?id=130580

If you have any use cases you'd like for us to capture or any
functionality that hasn't been described as of yet, please feel free to
post here, add to any of these bugs, or create new ones. We would
*greatly* appreciate the feedback of people who are going to be using this
tool. (And obviously we're not necessarily ahead of you, as two of these
bugs were just created. We're still ramping up our public visibility.)

Thanks,
- Paul


Kevin wrote:

> Hi,
> Can I get a few more words on what the "management of persistence.xml"
> feature in M2 will include? I was thinking of writing a bugzilla
> enhancement report for some ideas that I was having regarding the
> generation and management of xml configuration files. But, maybe you are
> already one step ahead of me. If you could elaborate a bit or point me at
> more detailed documentation, it would be appreciated.

> Thank you,
> Kevin
Re: persistence.xml management [message #433931 is a reply to message #433723] Tue, 25 April 2006 16:14 Go to previous messageGo to next message
Kevin Sutter is currently offline Kevin Sutter
Messages: 104
Registered: July 2009
Senior Member
Paul,
Thanks for the reply. Somehow I missed your reply, otherwise I would have
replied sooner...

What I am looking for is the ability to generate the persistence.xml from
the annotated source. The annotated source is what I would be using for
development. I would tweak the annotations until I got the desired
functionality. But, once I go into production with this "Persistence
Unit" with all of the associated classes and jars, I don't want to have to
modify source and re-build just to get some different behaviour. At this
point, I would like to deal with xml files to modify the configuration.

It would be great if Dali could generate the "base" xml files for me.
I've done the annotations in the code, now create the corresponding xml
file(s) so that I know what I have as the base configuration (template, if
you will).

Make sense?

Thanks,
Kevin
Re: persistence.xml management [message #433934 is a reply to message #433931] Tue, 25 April 2006 17:10 Go to previous messageGo to next message
Paul Fullbright is currently offline Paul Fullbright
Messages: 199
Registered: July 2009
Senior Member
Kevin,

Are you speaking of the orm.xml file (though it may have many different
names) that replicates, for the most part, all the information captured in
the annotations? Or the persistence.xml file (and it *must* have that
name) that describes to the persistence provider runtime where to find all
the persistence information (classes, jars, orm.xml files) that it will
use?

The enhancements that I entered all deal with the latter. As for the
former, orm.xml support has not been targeted for our 0.5 release.
Re: persistence.xml management [message #433937 is a reply to message #433934] Tue, 25 April 2006 18:21 Go to previous messageGo to next message
Kevin Sutter is currently offline Kevin Sutter
Messages: 104
Registered: July 2009
Senior Member
Paul,
I guess I was referring more to the orm.xml file, wasn't I? I was just
clumping the two xml files together. So, the orm.xml file management is
not part of the 0.5 release, huh? Do you know if the generation of the
orm.xml based on the annotated Entities considered one of the requirements
for a future release?

Thanks,
Kevin

Paul Fullbright wrote:

> Kevin,

> Are you speaking of the orm.xml file (though it may have many different
> names) that replicates, for the most part, all the information captured in
> the annotations? Or the persistence.xml file (and it *must* have that
> name) that describes to the persistence provider runtime where to find all
> the persistence information (classes, jars, orm.xml files) that it will
> use?

> The enhancements that I entered all deal with the latter. As for the
> former, orm.xml support has not been targeted for our 0.5 release.
Re: persistence.xml management [message #433938 is a reply to message #433937] Tue, 25 April 2006 18:39 Go to previous messageGo to next message
Paul Fullbright is currently offline Paul Fullbright
Messages: 199
Registered: July 2009
Senior Member
Kevin,
Actually, the requirements post-0.5 haven't been solidified (or even
liquefied) yet, but an enhancement request, especially one with detailed
information, will do nothing but help your request make the list.

Thanks for input!
- Paul

Kevin wrote:

> Paul,
> I guess I was referring more to the orm.xml file, wasn't I? I was just
> clumping the two xml files together. So, the orm.xml file management is
> not part of the 0.5 release, huh? Do you know if the generation of the
> orm.xml based on the annotated Entities considered one of the requirements
> for a future release?

> Thanks,
> Kevin
Re: persistence.xml management [message #433939 is a reply to message #433938] Wed, 26 April 2006 09:38 Go to previous message
Kevin Sutter is currently offline Kevin Sutter
Messages: 104
Registered: July 2009
Senior Member
Paul Fullbright wrote:

> Kevin,
> Actually, the requirements post-0.5 haven't been solidified (or even
> liquefied) yet, but an enhancement request, especially one with detailed
> information, will do nothing but help your request make the list.

> Thanks for input!
> - Paul

Done. Enhancement 138622 was just opened. Thank you.
Re: persistence.xml management [message #581865 is a reply to message #433720] Thu, 13 April 2006 15:03 Go to previous message
Paul Fullbright is currently offline Paul Fullbright
Messages: 199
Registered: July 2009
Senior Member
Hi Kevin,

Right now our intended support for M2 will is summarized by the following
bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=136725

After that functionality is added, the following bugs are going to be
addressed (in the order shown):
https://bugs.eclipse.org/bugs/show_bug.cgi?id=136726
https://bugs.eclipse.org/bugs/show_bug.cgi?id=130580

If you have any use cases you'd like for us to capture or any
functionality that hasn't been described as of yet, please feel free to
post here, add to any of these bugs, or create new ones. We would
*greatly* appreciate the feedback of people who are going to be using this
tool. (And obviously we're not necessarily ahead of you, as two of these
bugs were just created. We're still ramping up our public visibility.)

Thanks,
- Paul


Kevin wrote:

> Hi,
> Can I get a few more words on what the "management of persistence.xml"
> feature in M2 will include? I was thinking of writing a bugzilla
> enhancement report for some ideas that I was having regarding the
> generation and management of xml configuration files. But, maybe you are
> already one step ahead of me. If you could elaborate a bit or point me at
> more detailed documentation, it would be appreciated.

> Thank you,
> Kevin
Re: persistence.xml management [message #584844 is a reply to message #433723] Tue, 25 April 2006 16:14 Go to previous message
Kevin Sutter is currently offline Kevin Sutter
Messages: 104
Registered: July 2009
Senior Member
Paul,
Thanks for the reply. Somehow I missed your reply, otherwise I would have
replied sooner...

What I am looking for is the ability to generate the persistence.xml from
the annotated source. The annotated source is what I would be using for
development. I would tweak the annotations until I got the desired
functionality. But, once I go into production with this "Persistence
Unit" with all of the associated classes and jars, I don't want to have to
modify source and re-build just to get some different behaviour. At this
point, I would like to deal with xml files to modify the configuration.

It would be great if Dali could generate the "base" xml files for me.
I've done the annotations in the code, now create the corresponding xml
file(s) so that I know what I have as the base configuration (template, if
you will).

Make sense?

Thanks,
Kevin
Re: persistence.xml management [message #584881 is a reply to message #433931] Tue, 25 April 2006 17:10 Go to previous message
Paul Fullbright is currently offline Paul Fullbright
Messages: 199
Registered: July 2009
Senior Member
Kevin,

Are you speaking of the orm.xml file (though it may have many different
names) that replicates, for the most part, all the information captured in
the annotations? Or the persistence.xml file (and it *must* have that
name) that describes to the persistence provider runtime where to find all
the persistence information (classes, jars, orm.xml files) that it will
use?

The enhancements that I entered all deal with the latter. As for the
former, orm.xml support has not been targeted for our 0.5 release.
Re: persistence.xml management [message #584917 is a reply to message #433934] Tue, 25 April 2006 18:21 Go to previous message
Kevin Sutter is currently offline Kevin Sutter
Messages: 104
Registered: July 2009
Senior Member
Paul,
I guess I was referring more to the orm.xml file, wasn't I? I was just
clumping the two xml files together. So, the orm.xml file management is
not part of the 0.5 release, huh? Do you know if the generation of the
orm.xml based on the annotated Entities considered one of the requirements
for a future release?

Thanks,
Kevin

Paul Fullbright wrote:

> Kevin,

> Are you speaking of the orm.xml file (though it may have many different
> names) that replicates, for the most part, all the information captured in
> the annotations? Or the persistence.xml file (and it *must* have that
> name) that describes to the persistence provider runtime where to find all
> the persistence information (classes, jars, orm.xml files) that it will
> use?

> The enhancements that I entered all deal with the latter. As for the
> former, orm.xml support has not been targeted for our 0.5 release.
Re: persistence.xml management [message #584930 is a reply to message #433937] Tue, 25 April 2006 18:39 Go to previous message
Paul Fullbright is currently offline Paul Fullbright
Messages: 199
Registered: July 2009
Senior Member
Kevin,
Actually, the requirements post-0.5 haven't been solidified (or even
liquefied) yet, but an enhancement request, especially one with detailed
information, will do nothing but help your request make the list.

Thanks for input!
- Paul

Kevin wrote:

> Paul,
> I guess I was referring more to the orm.xml file, wasn't I? I was just
> clumping the two xml files together. So, the orm.xml file management is
> not part of the 0.5 release, huh? Do you know if the generation of the
> orm.xml based on the annotated Entities considered one of the requirements
> for a future release?

> Thanks,
> Kevin
Re: persistence.xml management [message #584940 is a reply to message #433938] Wed, 26 April 2006 09:38 Go to previous message
Kevin Sutter is currently offline Kevin Sutter
Messages: 104
Registered: July 2009
Senior Member
Paul Fullbright wrote:

> Kevin,
> Actually, the requirements post-0.5 haven't been solidified (or even
> liquefied) yet, but an enhancement request, especially one with detailed
> information, will do nothing but help your request make the list.

> Thanks for input!
> - Paul

Done. Enhancement 138622 was just opened. Thank you.
Previous Topic:Dali plugin problem
Next Topic:DDL Generation observations
Goto Forum:
  


Current Time: Fri Apr 18 19:23:39 EDT 2014

Powered by FUDForum. Page generated in 0.02041 seconds