Skip to content

Commit

Permalink
OGM-717 Using unique type names
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarmorling committed May 18, 2015
1 parent b283b57 commit d2bf029
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -12,7 +12,7 @@
import org.hibernate.ogm.type.impl.AbstractGenericBasicType;

/**
* Maps {@link Boolean} to {@code T} or {@code F} strings.
* Maps {@link Boolean} to {@code T} or {@code F} strings, as Cassandra doesn't store {@link Character}s.
*
* @author Davide D'Alto
*/
Expand All @@ -31,6 +31,6 @@ public int getColumnSpan(Mapping mapping) throws MappingException {

@Override
public String getName() {
return "true_false";
return "cassandra_true_false";
}
}
Expand Up @@ -12,7 +12,7 @@
import org.hibernate.ogm.type.impl.AbstractGenericBasicType;

/**
* Maps {@link Boolean} to {@code Y} or {@code N} strings.
* Maps {@link Boolean} to {@code Y} or {@code N} strings, as Cassandra doesn't store {@link Character}s.
*
* @author Davide D'Alto
*/
Expand All @@ -31,6 +31,6 @@ public int getColumnSpan(Mapping mapping) throws MappingException {

@Override
public String getName() {
return "yes_no";
return "cassandra_yes_no";
}
}

0 comments on commit d2bf029

Please sign in to comment.