Hola!
me gustaria hacer este cambio, ya que lo necesito par ala insercion en una base de datos.
Código:
//Almaceno los datos obtenidos en el bean
String des = new String(entrada.getDescription());
String tit = new String(entrada.getTitle());
String url = new String(entrada.getLink());
Feed fuente = new Feed();
fuente.setTitle(tit);
fuente.setDescription(entrada.getDescription());
fuente.setURL(url);
Tengo ese codigo, y en el caso de la vble des me da este error:
The constructor String(SyndContent) is undefined
Que puedo hacer?? porque si no hago el casting tambien me da error:
Código:
fuente.setDescription(entrada.getDescription());
The method setDescription(String) in the type Feed is not applicable for the arguments (SyndContent)
Si cambio todos los metodos de description a SyndContent, eclipse me dice esto:
Could not determine type for: com.sun.syndication.feed.synd.SyndContent, at table: feeds_object, for columns: [org.hibernate.mapping.Column(Description)]
Ya no se que mas inte ntar!!!
Gracias y un saludo!