fivesmallq

Results 9 comments of fivesmallq

@ptyagi108 maybe you can use filter to process this. ``` java .extract("config.pollInterval", xpath("//activity/config/pollInterval/text()")) //if pollInterval is null set to default '5' .filter(value -> value == null ? value : "5")...

@ptyagi108 OK, I Will think about it.

@ptyagi108 maybe i should add a method called `extractBean` in `Extractors` and it will set the bean to the field?

I think you can try the latest version like 1.5.0 or 1.4.4 , refer to this link https://stackoverflow.com/a/20584128 , which mentions that `` The 426 response code on upgrade is...

Confirmed, thanks for the report. I will fix it soon. 👍

no libraries, just check https://fivesmallq.github.io/curl-to-java/

You can use ``GenericModel`` like this. ```java package models; import org.hibernate.annotations.GenericGenerator; import play.db.jpa.GenericModel; import javax.persistence.Id; import javax.persistence.MappedSuperclass; @MappedSuperclass public class BaseModel extends GenericModel { @Id @GenericGenerator(name = "uuid", strategy =...

You can extends BaseModel. If you every table id strategy is not the same, it seems there is no good way

Can we add an option to the settings? You can set whether to allow duplication. I feel that there may be both requirements. It would be great to have this...