Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Why my property's value don't save to database?  RSS feed

 
Dana Ucaed
Ranch Hand
Posts: 389
6
Netbeans IDE Oracle Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have to table which had two fields named: DataIn and DataOut.

These fields are calculated in set property.




and

 

I have a web project using Java EE6, GlassFish, Derby DB and JSF pages.

I generated Entity from Database and JSF from Entity files.

In my JSF file, I don't want to complete DataIn and DataOut.

The values from others fields from database are completed but DataIn and DataOut aren't.

What can do to complete DataIn and DataOut cf cu properties in database?

Thanks,













 
Dana Ucaed
Ranch Hand
Posts: 389
6
Netbeans IDE Oracle Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I set my properties in no-args constructor and it is Ok now.

But I have the other issue: in database I have a field named Passwordhash who is calculated according with Password filed.

How can complete this filed in the database?

Thanks again,

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!