Skip to content
Snippets Groups Projects
Commit 9b20706a authored by ribeaudc's avatar ribeaudc
Browse files

[LMS-639] change: - Improve logging of 'EntityPropertyTypeDAO'.

add: - Add role 'IIdentifierHolder'.

SVN: 9116
parent 38cef3ac
No related branches found
No related tags found
No related merge requests found
/*
* Copyright 2008 ETH Zuerich, CISD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package ch.systemsx.cisd.openbis.generic.shared.dto;
/**
* A role that holds a identifier.
*
* @author Christian Ribeaud
*/
public interface IIdentifierHolder
{
/**
* Returns a <code>String</code> that uniquely identifies this object.
*/
public String getIdentifier();
}
......@@ -23,14 +23,8 @@ import ch.systemsx.cisd.openbis.generic.shared.dto.properties.EntityKind;
*
* @author Christian Ribeaud
*/
public interface IMatchingEntity
public interface IMatchingEntity extends IIdentifierHolder
{
/**
* Returns an identifier which uniquely identifies the matching entity.
*/
public String getIdentifier();
/**
* Returns the registrator of the entity.
*/
......
......@@ -73,7 +73,9 @@
</property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.cache.use_query_cache">true</prop>
<!-- Uncomment this if you want globally disable the second-level cache.
<prop key="hibernate.cache.use_second_level_cache">false</prop>
-->
<prop key="hibernate.cache.provider_class">
org.hibernate.cache.EhCacheProvider
</prop>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment