Skip to content

Commit

Permalink
OGM-152 MongoDB remove persisting of Long as String not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
ozoli committed May 4, 2012
1 parent 1acb2a8 commit 6385c92
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 54 deletions.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
import org.hibernate.ogm.logging.mongodb.impl.Log; import org.hibernate.ogm.logging.mongodb.impl.Log;
import org.hibernate.ogm.logging.mongodb.impl.LoggerFactory; import org.hibernate.ogm.logging.mongodb.impl.LoggerFactory;
import org.hibernate.ogm.type.GridType; import org.hibernate.ogm.type.GridType;
import org.hibernate.ogm.type.LongStringType;
import org.hibernate.ogm.type.StringCalendarDateType; import org.hibernate.ogm.type.StringCalendarDateType;
import org.hibernate.persister.entity.Lockable; import org.hibernate.persister.entity.Lockable;
import org.hibernate.ogm.type.ByteStringType; import org.hibernate.ogm.type.ByteStringType;
Expand Down Expand Up @@ -308,9 +307,6 @@ public GridType overrideType(Type type) {
else if ( type == StandardBasicTypes.BYTE ) { else if ( type == StandardBasicTypes.BYTE ) {
return ByteStringType.INSTANCE; return ByteStringType.INSTANCE;
} }
else if ( type == StandardBasicTypes.LONG ) {
return LongStringType.INSTANCE;
}
return null; // all other types handled as in hibernate-ogm-core return null; // all other types handled as in hibernate-ogm-core
} }
} }

This file was deleted.

0 comments on commit 6385c92

Please sign in to comment.