You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by Maxim Solodovnik <so...@gmail.com> on 2012/06/26 11:33:22 UTC

simplifying of *persistence.xml files

Hello Sebastian,

I would like to modify build to auto enhance @Entities and remove its
listing from *persistence.xml files.
What do you think is it good idea?

-- 
WBR
Maxim aka solomax

Re: simplifying of *persistence.xml files

Posted by Maxim Solodovnik <so...@gmail.com>.
It seems to be impossible (or too much effort)
I give up :(

On Tue, Jun 26, 2012 at 4:58 PM, Maxim Solodovnik <so...@gmail.com>wrote:

> Yes,
> I'll try to implement it that way (the should be placed under
> **/persistence/beans/**) and be annotated.
> I'm not sure if it possible using OpenJPA, but I'm going to try :)
>
>
> On Tue, Jun 26, 2012 at 4:50 PM, seba.wagner@gmail.com <
> seba.wagner@gmail.com> wrote:
>
>> I don't know what concrete consequences that would have.
>> Does that mean that the persistence entities are read from the
>> annotations so that you don't need to write them from the XML file?
>>
>> Sebastian
>>
>>
>> 2012/6/26 Maxim Solodovnik <so...@gmail.com>
>>
>>> Hello Sebastian,
>>>
>>> I would like to modify build to auto enhance @Entities and remove its
>>> listing from *persistence.xml files.
>>> What do you think is it good idea?
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.openmeetings.de
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wagner@gmail.com
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: simplifying of *persistence.xml files

Posted by Maxim Solodovnik <so...@gmail.com>.
Yes,
I'll try to implement it that way (the should be placed under
**/persistence/beans/**) and be annotated.
I'm not sure if it possible using OpenJPA, but I'm going to try :)

On Tue, Jun 26, 2012 at 4:50 PM, seba.wagner@gmail.com <
seba.wagner@gmail.com> wrote:

> I don't know what concrete consequences that would have.
> Does that mean that the persistence entities are read from the annotations
> so that you don't need to write them from the XML file?
>
> Sebastian
>
>
> 2012/6/26 Maxim Solodovnik <so...@gmail.com>
>
>> Hello Sebastian,
>>
>> I would like to modify build to auto enhance @Entities and remove its
>> listing from *persistence.xml files.
>> What do you think is it good idea?
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>



-- 
WBR
Maxim aka solomax

Re: simplifying of *persistence.xml files

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
I don't know what concrete consequences that would have.
Does that mean that the persistence entities are read from the annotations
so that you don't need to write them from the XML file?

Sebastian

2012/6/26 Maxim Solodovnik <so...@gmail.com>

> Hello Sebastian,
>
> I would like to modify build to auto enhance @Entities and remove its
> listing from *persistence.xml files.
> What do you think is it good idea?
>
> --
> WBR
> Maxim aka solomax
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com