I mean in the @Table annotation not in @Entity

2013/3/12 José Luis Cetina <[email protected]>

> I connect to multiple databases using multiple persistence units and in
> each entity define the schema in the entity annotation. Did you try this?
> El 12/03/2013 05:38, "ostwdd" <[email protected]>
> escribió:
>
> Hello Rick,
>>
>>
>>
>> thx, but this doesn’t work with managed transactions.
>>
>>
>>
>> Any idea?
>>
>>
>>
>> Olaf
>>
>>
>>
>> Von: Rick Curtis [via OpenJPA]
>> [mailto:[email protected]]
>> Gesendet: Montag, 11. März 2013 20:49
>> An: ostwdd
>> Betreff: Re: connecting to multible databases
>>
>>
>>
>> Define multiple persistence units?
>>
>> Thanks,
>> Rick
>>
>>
>> On Sat, Mar 9, 2013 at 8:29 AM, ostwdd <[hidden email]>wrote:
>>
>>
>> > How can I connect to multible databases?
>> >
>> > persistence.xml allows only one persistence-unit tag under geronimo.
>> >
>> > thx
>> >
>> > Olaf
>> >
>> >
>> >
>> >
>> >
>>
>> --
>> *Rick Curtis*
>>
>>
>>
>>   _____
>>
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>>
>> http://openjpa.208410.n2.nabble.com/connecting-to-multible-databases-tp75830
>> 55p7583088.html<http://openjpa.208410.n2.nabble.com/connecting-to-multible-databases-tp7583055p7583088.html>
>>
>> To unsubscribe from connecting to multible databases, click here
>> <
>> http://openjpa.208410.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscr
>>
>> ibe_by_code&node=7583055&code=b3N0b2V3ZXJAc3RyYXVzcy1pdC1jb25zdWx0aW5nLmRlfD<http://openjpa.208410.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7583055&code=b3N0b2V3ZXJAc3RyYXVzcy1pdC1jb25zdWx0aW5nLmRlfD>
>> c1ODMwNTV8MTAwNzk1MTkzMQ==> .
>>
>> <
>> http://openjpa.208410.n2.nabble.com/template/NamlServlet.jtp?macro=macro_vi
>>
>> ewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.Basic
>>
>> Namespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.
>>
>> NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_e
>> mails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml<http://openjpa.208410.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>>
>> NAML
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://openjpa.208410.n2.nabble.com/connecting-to-multible-databases-tp7583055p7583094.html
>> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>
>


-- 
-------------------------------------------------------------------
*SCJA. José Luis Cetina*
-------------------------------------------------------------------

Reply via email to