mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#196 - Add support for using java.net.InetAddress in entity beans
This commit is contained in:
@@ -13,6 +13,11 @@ public class ScalarTypeInetAddress extends ScalarTypeBaseVarchar<InetAddress> {
|
||||
super(InetAddress.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getLength() {
|
||||
return 50;
|
||||
}
|
||||
|
||||
@Override
|
||||
public InetAddress convertFromDbString(String dbValue) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user