You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Takeichi Kanzaki Cabrera <tk...@gmail.com> on 2007/09/10 20:26:55 UTC

Java 6

Have some one compile OpenJPA for Java 6?. Can shared it?

-- 
Regards,
Takeichi Kanzaki Cabrera
Linux Registered User #308138

If you want to be original,
be your self.

Re: Java 6

Posted by Patrick Linskey <pl...@gmail.com>.
Cool, thanks. I just changed the wording to clarify things for the next release.

-Patrick

On 9/10/07, Takeichi Kanzaki Cabrera <tk...@gmail.com> wrote:
> My native language is Spanish, not English, so it should be my
> mistake. In the release notes [1], the prerequisites it say: "OpenJPA
> requires Java 1.5 but will not compile with Java 6" and have a link to
> a patch. I thought that I have to recompile OpenJPA applying this
> patch to use OpenJPA with Java 6.
>
> [1] http://openjpa.apache.org/builds/1.0.0/apache-openjpa-1.0.0/RELEASE-NOTES.html
>
> --
> Regards,
> Takeichi Kanzaki Cabrera
> Linux Registered User #308138
>
> If you want to be original,
> be your self.
>


-- 
Patrick Linskey
202 669 5907

Re: Java 6

Posted by Takeichi Kanzaki Cabrera <tk...@gmail.com>.
My native language is Spanish, not English, so it should be my
mistake. In the release notes [1], the prerequisites it say: "OpenJPA
requires Java 1.5 but will not compile with Java 6" and have a link to
a patch. I thought that I have to recompile OpenJPA applying this
patch to use OpenJPA with Java 6.

[1] http://openjpa.apache.org/builds/1.0.0/apache-openjpa-1.0.0/RELEASE-NOTES.html

-- 
Regards,
Takeichi Kanzaki Cabrera
Linux Registered User #308138

If you want to be original,
be your self.

Re: Java 6

Posted by Patrick Linskey <pl...@gmail.com>.
Out of curiosity, what bits of the website were confusing? It'd be
good to clarify things for future readers.

-Patrick

On 9/10/07, Takeichi Kanzaki Cabrera <tk...@gmail.com> wrote:
> OK, that's perfect, I think that when I read the information on the
> openjpa project web site I don't properly undertands this point.
>
> I'll probe some little example developed by me, I hope it work fine.
> Thank's a lot.
>
> --
> Regards,
> Takeichi Kanzaki Cabrera
> Linux Registered User #308138
>
> If you want to be original,
> be your self.
>


-- 
Patrick Linskey
202 669 5907

Re: Java 6

Posted by Takeichi Kanzaki Cabrera <tk...@gmail.com>.
OK, that's perfect, I think that when I read the information on the
openjpa project web site I don't properly undertands this point.

I'll probe some little example developed by me, I hope it work fine.
Thank's a lot.

-- 
Regards,
Takeichi Kanzaki Cabrera
Linux Registered User #308138

If you want to be original,
be your self.

Re: Java 6

Posted by Patrick Linskey <pl...@gmail.com>.
This shouldn't be a problem for you, assuming that you want to use
OpenJPA in jar form. It would only be a problem if you needed to build
your own OpenJPA jars using Java 6 for some reason.

In other words, OpenJPA works with Java 6 just fine; it just doesn't
compile with it.

(Shameless plug: if you're using BEA's Kodo product, note that you can
use JDO and JPA at the same time.)

-Patrick

On 9/10/07, Takeichi Kanzaki Cabrera <tk...@gmail.com> wrote:
> Yes, the point is that I'm developing a library that take adventage of
> Java 6 new features and I'm was planning to give persistence to this
> library using JDO, but a friend tall me about JPA and OpenJPA and
> after take a look to OpenJPA I'm thinking on use it. Can you help me?
>
> --
> Regards,
> Takeichi Kanzaki Cabrera
> Linux Registered User #308138
>
> If you want to be original,
> be your self.
>


-- 
Patrick Linskey
202 669 5907

Re: Java 6

Posted by Takeichi Kanzaki Cabrera <tk...@gmail.com>.
Yes, the point is that I'm developing a library that take adventage of
Java 6 new features and I'm was planning to give persistence to this
library using JDO, but a friend tall me about JPA and OpenJPA and
after take a look to OpenJPA I'm thinking on use it. Can you help me?

-- 
Regards,
Takeichi Kanzaki Cabrera
Linux Registered User #308138

If you want to be original,
be your self.

Re: Java 6

Posted by Patrick Linskey <pl...@gmail.com>.
Currently, because OpenJPA supports older Java versions, and because
of changes in the java.sql package, it is not possible to compile all
of OpenJPA with Java 6.

It is possible to build your own applications that use OpenJPA with
Java 6, however.

Is there a particular use case where you need to compile from source
with Java 6?

-Patrick

On 9/10/07, Takeichi Kanzaki Cabrera <tk...@gmail.com> wrote:
> Have some one compile OpenJPA for Java 6?. Can shared it?
>
> --
> Regards,
> Takeichi Kanzaki Cabrera
> Linux Registered User #308138
>
> If you want to be original,
> be your self.
>


-- 
Patrick Linskey
202 669 5907