This content has been marked as final.
Show 4 replies
-
1. Re: Partial override of MapValue not working
alesj Jul 2, 2008 7:44 AM (in response to wolfc)This is wrong forum for this sort of question: MC != XB. ;-)
Try here:
- http://www.jboss.com/index.html?module=bb&op=viewforum&f=212
ps: this post is doomed for bad post forum ;-) -
2. Re: Partial override of MapValue not working
wolfc Jul 2, 2008 8:06 AM (in response to wolfc)Parsing is already done and has finished correctly. This has nothing to do with XB. It's all about MC juggling meta data.
-
3. Re: Partial override of MapValue not working
alesj Jul 2, 2008 8:11 AM (in response to wolfc)Aha, add some more info.
Looks like MC cannot guess the type.
RTFM:
- http://www.jboss.org/file-access/default/members/jbossmc/freezone/docs/2.0.x/userGuide/ch11s01.html
There is also a dummy _Warning_ ... ;-) -
4. Re: Partial override of MapValue not working
wolfc Jul 2, 2008 9:40 AM (in response to wolfc)"ch11s01" wrote:
Warning
The type of each value must be specified using either the elementClass or type/class attribute in order for the collection to be created.
Which I already did in the annotation.
I agree that MC is pretty dumb to not be able to create meta data that amounts to this: :-P<bean name="PersistenceUnitDeployer" class="org.jboss.jpa.deployers.PersistenceUnitDeployer"> <property name="defaultPersistenceProperties"> <map keyClass="java.lang.String" valueClass="java.lang.String"> <entry> <key>hibernate.transaction.manager_lookup_class</key> <value>org.hibernate.transaction.JBossTransactionManagerLookup</value> </entry> </map> </property> </bean>