root « JPA « Spring Q&A





1. WPF + IoC: "Specified Visual is already a child of another Visual or the root of a CompositionTarget."    stackoverflow.com

[Edit: Rethinking architecture along mvvm lines made this problem largely fall away - thanks @kent] Using Spring.NET + WPF. Load two WPF buttons in the config:

<object name="Button1" type="System.Windows.Controls.Button, PresentationFramework" >
  <property ...

2. Spring 3.1 without persistence.xml gives "Unable to resolve persistence unit root URL"    stackoverflow.com

I'm trying to use JPA EntityManagerFactory bootstrapping without persistence.xml, which is new in Spring 3.1 (since M2), but it appears that spring is still searching for a persistence.xml file, ...

3. Where to I put my import.sql file, not sure where the root of my class path is?    stackoverflow.com

In my hibernate properties in my servlet-context.xml I have:

    <property name="hibernateProperties">
        <value>
          ...

5. Document root element "hibernate-mapping", must match...    forum.springsource.org

Mar 11th, 2009, 09:11 AM #1 anatoliyva View Profile View Forum Posts Private Message Junior Member Join Date Mar 2009 Posts 14 Document root element "hibernate-mapping", must match... Hello, all! problem: ...