| JPA settings [message #434435] |
Tue, 08 May 2007 18:02  |
|
Originally posted by: d.dimitroff.mail.bg
Hi,
I'm studying DALI 1.0 and I'm wondering what are differences between
"Platform" and of "JPA implementation library", when JPA settings have to be
configured? I suppose that JPA implementation library should include
persistence API, but what about implementation library? Could you explain me
in short how can I set this setting, respectively Platform (what Generic
mean and how an specific one could be created), using glassfish RI as
example? Any clarification or additional links will be very helpful.
kind regards,
Dim
|
|
|
| Re: JPA settings [message #434437 is a reply to message #434435] |
Fri, 11 May 2007 12:53  |
Neil Hauge Messages: 460 Registered: July 2009 |
Senior Member |
|
|
Hi,
"Platform" is a Dali specific concept that provides a mechanism for JPA
vendors or others to extend Dali by creating their own platforms. The
Generic Platform is a non-vendor-specific platform provided by Dali as an
implementation of tooling for JPA as defined by the spec. By default,
only the Generic platform is available. Other platforms would be obtained
outside of Eclipse.
The JPA implementation library is generally a jar or jars that contain a
JPA Implementation. An example would be toplink-essentials.jar. This
library is needed to compile classes with JPA annotations and also may be
needed for deployment, depending on your environment.
To create a new platform, take a look at
org.eclipse.jpt.core.internal.IJpaPlatform and
org.eclipse.jpt.ui.internal.IJpaPlatformUi. By looking at the hierarchy
of IJpaPlatform, you can get an idea of how the Generic Platform works.
We plan to provide more documentation on this in the future, but for the
moment the documentation for extension is light, so I will be glad to help
out on the newsgroups. Much of what we need to refine the extensibility
will be gathering feedback from those who are attempted to extend.
Neil
Dimo wrote:
> Hi,
> I'm studying DALI 1.0 and I'm wondering what are differences between
> "Platform" and of "JPA implementation library", when JPA settings have to be
> configured? I suppose that JPA implementation library should include
> persistence API, but what about implementation library? Could you explain me
> in short how can I set this setting, respectively Platform (what Generic
> mean and how an specific one could be created), using glassfish RI as
> example? Any clarification or additional links will be very helpful.
> kind regards,
> Dim
|
|
|
| Re: JPA settings [message #593801 is a reply to message #434435] |
Fri, 11 May 2007 12:53  |
Neil Hauge Messages: 460 Registered: July 2009 |
Senior Member |
|
|
Hi,
"Platform" is a Dali specific concept that provides a mechanism for JPA
vendors or others to extend Dali by creating their own platforms. The
Generic Platform is a non-vendor-specific platform provided by Dali as an
implementation of tooling for JPA as defined by the spec. By default,
only the Generic platform is available. Other platforms would be obtained
outside of Eclipse.
The JPA implementation library is generally a jar or jars that contain a
JPA Implementation. An example would be toplink-essentials.jar. This
library is needed to compile classes with JPA annotations and also may be
needed for deployment, depending on your environment.
To create a new platform, take a look at
org.eclipse.jpt.core.internal.IJpaPlatform and
org.eclipse.jpt.ui.internal.IJpaPlatformUi. By looking at the hierarchy
of IJpaPlatform, you can get an idea of how the Generic Platform works.
We plan to provide more documentation on this in the future, but for the
moment the documentation for extension is light, so I will be glad to help
out on the newsgroups. Much of what we need to refine the extensibility
will be gathering feedback from those who are attempted to extend.
Neil
Dimo wrote:
> Hi,
> I'm studying DALI 1.0 and I'm wondering what are differences between
> "Platform" and of "JPA implementation library", when JPA settings have to be
> configured? I suppose that JPA implementation library should include
> persistence API, but what about implementation library? Could you explain me
> in short how can I set this setting, respectively Platform (what Generic
> mean and how an specific one could be created), using glassfish RI as
> example? Any clarification or additional links will be very helpful.
> kind regards,
> Dim
|
|
|
Powered by
FUDForum. Page generated in 0.01739 seconds