Subject Re: [Firebird-Java] Re: Database Application using the wizard of Netbeans 6.0
Author David Jencks
On Jan 15, 2008, at 12:47 AM, tilo_ht wrote:

> Hi David,
>
> thank you very much for your input! I will search some information
> about OpenJPA.
>
> Do you work with Netbeans? I still didn't figure out how to switch
> correctly from Toplink to an alternative persistence project when I
> use the wizard of Netbeans 6.0. Yesterday I didn't find the time to go
> on working on that issue..
>
I've never used NetBeans for anything.... I like IDEA. However, if
you can escape from the wizards and edit persistence.xml, you just
need to have it start like

<persistence xmlns="http://java.sun.com/xml/ns/persistence"
version="1.0">

<persistence-unit transaction-type="JTA" name="test-unit">



<provider>org.apache.openjpa.persistence.PersistenceProviderImpl</
provider>

...

(setting the tx type and name you want, of course).

hope this helps
david jencks

>
> Anyone has experiences on that?
>
> Best regards,
>
> Tilo
>
>