Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dali-dev] Dali comments regarding generated artifacts/wizards

Hi Neil,

Appreciate the responses. What you mentioned regarding supporting multiple persistence units for 1.0 sounds reasonable. And the Platform support sounds like exactly what I was expecting.
Thanks,
Tom


Neil Hauge wrote:
> Tom,
>
>
> I think we can be somewhat accommodating regarding multiple persistence
> units for 1.0. Our plan as of now is to give the user only one warning
> when multiple persistence units are detected. At that point, we won't
> provide validation or defaulting support, so the user can continue to
> manually edit their Entities without problems being reported everywhere.
> The complexity we are trying to avoid for 1.0 involves the cases where
> there is overlap between the persistence units, such as having an Entity
> that is a part of more than one persistence unit. Since we can't ignore
> this possibility, due to the erratic behavior that would result, we
> would have to be able to detect where this overlap occurs. As you
> mention, we are only avoiding this complexity due to time constraints.
> We will certainly consider multiple PU support for post 1.0 releases.
>
> The Platform concept is still mostly concept and not very well
> documented yet. But yes, it involves selecting a provider from a list
> during project creation, and will provide a way to set provider specific
> properties. Your example is exactly the kind of thing that a provider
> would choose to do as a part of the persistence.xml creation. Our
> thought is that the connection details would be auto-populated into the
> persistence.xml in accordance with the provider's custom properties.
>
> Let us know if you have any other thoughts,
>
>
> Neil



Back to the top