Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 2b1ec7df41933ca2600dd67ba6216e0820087d5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/***************************************************************************
 * Copyright (c) 2004 - 2008 Martin Taal and others
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *    Martin Taal - initial API and implementation
 **************************************************************************/
package org.eclipse.emf.cdo.server.hibernate;

import org.hibernate.cfg.Configuration;

/**
 * A mappingprovider adds a hibernate mapping to a hibernate configuration object.
 * 
 * @author Martin Taal
 */
public interface IHibernateMappingProvider
{
  /** Adds a mapping to a configuration object */
  public void addMapping(Configuration configuration);

  /** Sets the Store in the mapping provider, is called before addMapping. */
  public void setHibernateStore(IHibernateStore hibernateStore);
}

Back to the top