[hibernate-dev] database names and identifier length
Sanne Grinovero
sanne at hibernate.org
Sat Jul 25 14:23:03 EDT 2015
Hi Max, could you make an example please?
Looks like you are interpreting Steve's email in a different way than me.
On 24 Jul 2015 21:43, "Max Rydahl Andersen" <manderse at redhat.com> wrote:
> On 24 Jul 2015, at 16:48, Steve Ebersole wrote:
>
> > Do we want to consider automatically applying known database limits on
> > various identifier lengths? This is trickier to implement than it
> > might
> > sound. And it would definitely need to wait for the reworking of
> > annotation binding. But in general I wonder if y'all see this as a
> > desirable feature. And if so, should that be just for implicit names?
> > Or
> > explicit names as well?
>
> I could see it be valuable for easier cross db testing, but all users
> custom queries
> would be easily broken unless you have something very deterministic.
>
> If we do it think I as a user would prefer at least get a warning or be
> able to turn on "strict" mode
> to catch issues where I did not realise
> "MY_SUPER_AWESOME_COLUMN_NAME_CANT_ALWAYS_BE_USED".
>
> /max
> http://about.me/maxandersen
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
More information about the hibernate-dev
mailing list