[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[eclipselink-users] M9 osgi problems
|
- From: "Tim Hollosy" <hollosyt@xxxxxxxxx>
- Date: Wed, 25 Jun 2008 08:34:11 -0400
- Delivered-to: eclipselink-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=eKDmSROqhf7/KllCXZ05/AHDeBbiLxj/0Q3LygISAuM=; b=QjqZ5FALKvYgiKsASxmMhubY+y5Bz5JOwT0KSZ53Vt5BO8mbmgsjj05jdaOeju98W6 EbjdBHp3XOFb0wBdON3V2UJt1orlwfJ3MxQRmIqZk1g2ZTI2vCRb9MBEnM0FiPk4NTYN YOSirjA2qmGEMmrsEmXTSWCDFH0o3vJCD2Mtg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=ZJRm1op0ptXgZFPsdluI0th22FdhBHJBPCkJLvtOgcs5bB49BYKHb5EqEyA0++fKuo XtcGchsTxXeHuPwmGR34osoc72pFYP/J/Kcs5etFZvN1KhEwFbdbXewnqk9rIh17UC3v qouTcUOVGYcp+GZYGDCoIeqj8tXxFGxMlo40k=
I upgraded to 3.4 (yay!) and M9 today, and am having problems with the
PersistenceProvider changes, the constructor now takes a String
"initializerClassName",
I'm creating my EMF like this (This is in a seperate bundle from my
persistence unit):
EntityManagerFactory emf = new
PersistenceProvider(initializerClassName).createEntityManagerFactory(persitanceUnit,properties,yourClassLoader);
However when it starts I get this exception:
Exception Description: An attempt has been made to use PersistenceUnit
[com.redacted.plugin.dataeng.ipdata.persist], but no bundle is
available that defines that persistence unit.
I've tried passing Activator.getClass().getName(), plugin_id of the
bundle, and the pu name as initialilzerClassName and I get the same
error.
Any ideas? Like I said this method worked great up until M9.
As an aside, is there a reason the M9 incubation jar's don't have any
source or javadoc in them anymore? Makes it tricky to debug :)
Thanks,
Tim