users@glassfish.java.net

RE: Generic DAO - problems with Toplink

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Tue, 18 Aug 2009 16:27:56 -0400

supposedly fixed by Guy Pelletier last year for Toplink 1.0M9
https://bugs.eclipse.org/bugs/show_bug.cgi?id=232975

do you have 1.0M9 Toplink installed:
http://wiki.eclipse.org/EclipseLink/Development/Release/1.0#1.0_Milestone_9_.28RC1.29_-_June_18.2C_2008

does the generic testcase not working for you?
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




> Date: Tue, 18 Aug 2009 12:36:09 -0700
> From: Ludovic.Champenois_at_Sun.COM
> To: users_at_glassfish.dev.java.net
> Subject: Re: Generic DAO - problems with Toplink
>
> On 8/18/09 12:27 PM, Felipe Gaúcho wrote:
> > humm.. I tried Glassfish V3, same problem :(
> >
> With the old toplink or the bundled new eclipselink?
> > perhaps it is time to accept Hibernate :(
> >
> Let us know how it goes,
> Ludo
> >
> > 2009/8/18 Felipe Gaúcho<fgaucho_at_gmail.com>:
> >
> >> Trying to deploy a generic DAO to Glassfish v2.1 with TopLink, I got
> >> the following exception:
> >>
> >> [#|2009-08-18T20:28:55.696+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=47;_ThreadName=Thread-2714;_RequestID=2253f10e-6a78-43f3-bbf7-cd2db430e763;|Exception
> >> occured in J2EEC Phase
> >> com.sun.enterprise.deployment.backend.IASDeploymentException:
> >> Exception [TOPLINK-28018] (Oracle TopLink Essentials - 2.0.1 (Build
> >> b04-fcs (04/17/2008))):
> >> oracle.toplink.essentials.exceptions.EntityManagerSetupException
> >> Exception Description: predeploy for PersistenceUnit [arenapuj] failed.
> >> Internal Exception: java.lang.ClassCastException:
> >> sun.reflect.generics.reflectiveObjects.TypeVariableImpl cannot be cast
> >> to java.lang.Class
> >>
> >>
> >> googling around I found a lot of blogs talking about a TopLink limitation..
> >>
> >> question: is it solved in EclipseLink ?
> >>
> >> if I adopt Glassfish V3 I fixed my problems ?
> >>
> >>
> >> --
> >> Looking for a client application for this service:
> >> http://fgaucho.dyndns.org:8080/footprint-service/wadl
> >>
> >>
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>

_________________________________________________________________
Hotmail® is up to 70% faster. Now good news travels really fast.
http://windowslive.com/online/hotmail?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_faster:082009