This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I want to get the range of ipadresses stored postgres table with column type cidr .
But I am getting an exception when trying to insert any row through my javacode whenever I pass ipaddress value as String ERROR: column "ipaddress" is of type cidr but expression is of type character varying
So does anyone know which JavaType is mapped with postgres cidr datatype?
Or is there any other way to find ipaddress range using Java and storing ipaddress as varchar in postgres table?