mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-06 00:32:18 +00:00
#196 - Add support for using java.net.InetAddress in entity beans
This commit is contained in:
1 parent
241f6f3d6d
commit
de201715fc
1 file changed
+5
@@ -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