Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Entities spanning multiple databases

would the @Table(name="customer",schema="customer") work for you?

./tch



On Tue, Dec 15, 2009 at 4:06 PM,  <Christopher.Mathrusse@xxxxxxxxxx> wrote:
> I'm using EclipseLink and working with a legacy Sybase ASE database. The
> model is terrible and spans over multiple databases (but on the same
> server). Is it possible to have EclipseLink access tables residing in other
> databases? I was thinking of something like
>
> @Table(name="customer..customers")
>
> I currently have an existing application using iBatis and this is how I can
> retrieve objects from multiple tables residing in different databases (but
> on the same server). I'm reasonably certain that this would work with
> EclipseLink but I was just wondering if anyone had tried and if there is a
> cleaner way of accomplishing this.
>
> Thanks for the help..
>
> Chris Mathrusse
> christopher.mathrusse@xxxxxxxxxx
> Sybase, Inc
>
> _______________________________________________
> eclipselink-users mailing list
> eclipselink-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/eclipselink-users
>
>


Back to the top