net.sf.easyweb4j.repository.orm.hibernate
Annotation Type UseSessionFactory


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface UseSessionFactory

Sepecifies the SessionFactory whose Session is to be used in the repository.

Author:
Chandra Sekar S

Required Element Summary
 String value
          The name of the SessionFactory to be used as specified in /repositories.properties.
 

Element Detail

value

public abstract String value
The name of the SessionFactory to be used as specified in /repositories.properties.

Returns:
Name of the SessionFactory.


Copyright © 2009-2010 Chandra Sekar S. All Rights Reserved.