Hi Michael,

How mean I am?   Sorry I did not reply back. Thanks for the replies  I have 
installed Dali 2.1 plugin. Um... one more question though. This plugin is for 
JPA or OpenJPA? it never says anything about OpenJPA and keeps talking about 
JPA.

Thanks.




Hi Arjun,

Without the plugin (or one of the other enhancement mechanisms) you'll still
be able to maintain the state of the database in your pojos. OpenJPA won't
be as efficient as it can be though. Many applications will work without
enhancement, but performance may be worse and they'll consume more memory
than needed.

The plugin installs via the Eclipse update site mechanism from the site:

The plugin is available from the update site

    http://people.apache.org/~ppoddar/eclipse/

Use Update Manager Help->Software Updates... to install it in Eclipse
platform.

Regards,
-mike


On Wed, Apr 1, 2009 at 11:26 PM, ArjunReddy <[email protected]> wrote:

>
> Hi Mike,
>
> So without the plugin, we cannot maintain the same state of the database in
> our pojo classes? In hibernate we do not need any such plugin for this to
> happen right or do we need? Also I do not find any download link here :(
> http://people.apache.org/~ppoddar/eclipse/<http://people.apache.org/%7Eppoddar/eclipse/>,
>
> Thanks.
>
>
>
> Hi Arjun,
>
> I'm not fluent enough at this hour to give you many details. At least not
> without giving you another link [1] :-).
>
> In JPA a single row in a table is represented by a plain old java object
> called an Entity. OpenJPA keeps track of the changes the application makes
> to an entity in order to be intelligent when it issues SQL to your database
> (among other things). We do that by enhancing the entities (effectively we
> take your compiled bytecode and weave in some additional logic).
>
> Normally you'd have to run a special tool after compiling your classes.
> Pinaki's Eclipse plugin ties in to the Eclipse compiler and eliminates that
> step. There are also ant tasks and maven plugins which do much the same
> thing.
>
> I've really only gotten you started with enhancement and OpenJPA. There's a
> lot to cover, but feel free to ask questions here or on
> [email protected].
>
> -mike
>
> On Wed, Apr 1, 2009 at 10:29 PM, ArjunReddy <[email protected]>
> wrote:
>
> >
> > Michael, thanks a lot for replying but I am really new to all this. Can
> you
> > please elaborate what you meant by
> >
> > "it enhances entities
> > on the classpath so they are ready for use with OpenJPA. ". Thanks for
> the
> > links.
> >
> > -Arjun
> >
> >
> > Indeed there is one written by our own Pinaki Poddar. See this thread [1]
> > for more information on what the plugin does. In short it enhances
> entities
> > on the classpath so they are ready for use with OpenJPA.
> >
> > You may also be interested in the Dali plugin [2] for Eclipse which
> > provides
> > a GUI and some assistance in developing your entities.
> >
> > [1] http://markmail.org/thread/jhvj34vqgjie6xxc
> > [2] http://www.eclipse.org/webtools/dali/main.php
> >
> > Hope this helps,
> > -mike
> >
> > On Wed, Apr 1, 2009 at 8:29 PM, ArjunReddy <[email protected]>
> > wrote:
> >
> > >
> > > Hi All,
> > >
> > > Is there an OpenJPA plugin for Eclipse? I so, what does it do and is it
> > > available for Eclipse version 3.2.2?
> > >
> > > Thanks.
> > >
> > > --
> > > View this message in context:
> > >
> http://n2.nabble.com/OpenJPA-plugin-for-Eclipse--tp2572643p2572643.html
> > > Sent from the OpenJPA Developers mailing list archive at Nabble.com.
> > >
> > >
> >
> >
> >
> > --
> > View this message in context:
> > http://n2.nabble.com/OpenJPA-plugin-for-Eclipse--tp2572643p2573068.html
> > Sent from the OpenJPA Developers mailing list archive at Nabble.com.
> >
> >
>
>
>
> --
> View this message in context:
> http://n2.nabble.com/OpenJPA-plugin-for-Eclipse--tp2572643p2573253.html
> Sent from the OpenJPA Developers mailing list archive at Nabble.com.
>
>



-- 
View this message in context: 
http://n2.nabble.com/OpenJPA-plugin-for-Eclipse--tp2572643p2583194.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.

Reply via email to