title: Where to I put my import.sql file, not sure where the root of my class path is?
body: <p>In my hibernate properties in my servlet-context.xml I have:</p>
  
  <pre><code>    &lt;property name="hibernateProperties"&gt;
          &lt;value&gt;
              hibernate.dialect=org.hibernate.dialect.MySQLDialect
              hibernate.query.substitutions=true 'Y', false 'N'
              hibernate.show_sql=true
              hibernate.hbm2ddl.auto=create-drop
          &lt;/value&gt;
      &lt;/property&gt;
  </code></pre>
  
  <p>And I read that I can seed my database if I put my import.sql file in the root of my class path.</p>
  
  <p>Im' using IntelliJ, where would the root of my classpath be?  Is it where I set the source path for my module?</p>
  
  <p>i.e.</p>
  
  <pre><code>/src/main/java
  </code></pre>
  
  <p>Ideally what I want is also to have a import.sql run for my test cases also, probably have that in a seperate file, is that a job for something like ant?</p>