Posts by John Gomes • 159 points
5 posts
-
1
votes1
answer71
viewsQ: Set ID manually with Hibernate in AUTO mode
Hi, I was wondering if there is a possibility to set the ID manually when using Hibernate in auto increment mode. I want it to use auto increment but in some specific situations I need to query the…
-
7
votes1
answer297
viewsQ: Multi Tenancy with Hibernate update schema
Hello I am with an application that uses multiple databases (multi-tenancy) using Hibernate. I wonder if anyone knows any way Hibernate can update the bank schema. I’ve already set the property…
-
2
votes1
answer180
viewsQ: How to choose which field to serialize - Jackson
I’m using Jackson to convert my objects into Json. The fields I don’t want to serialize milestone with the @Jsonignore annotation, but in some cases I wish I could serialize these fields. Is there…
-
1
votes1
answer906
viewsQ: Doubts in the use of the dataExporter
Guys, I’m using the primeFaces support to pdf the contents of a datatable. The problem is that the pdf does not bear the name of the columns, only the content. In the examples I saw in the showcase,…
-
4
votes1
answer3184
viewsQ: Size of a Java + Hibernate String
Is there any way to persist a string with no size limit for the bank using Hibernate? If I map my class and don’t limit the field, Hibernate automatically creates a limit of 255 characters. I could…