Reputation
215
Top tag
Next privilege 250 Rep.
View close votes
Badges
1 8
Newest
 Commentator
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 145 votes cast
Mar
8
comment Using counter or constant for parameter position
@Snowman that is the whole point of the code review, we are saying that using the counter is error prone. I am not talking about getting SQL fields using the ResultSet, but about setting parameters to a PreparedStatement.
Mar
8
comment Using counter or constant for parameter position
@Snowman I just checked the PreparedStatement API and I do not see a way to bind parameters by name.
Mar
8
comment Using counter or constant for parameter position
@Ixrec see my previous comment
Mar
8
comment Using counter or constant for parameter position
@Snowman is that available in plain JDBC (and we are also stuck on Java 6)
Mar
8
comment Using counter or constant for parameter position
@Snowman what do you mean by bind/rebind parameters?
Feb
21
comment Am I doing it wrong with Hibernate DAO layer? i.e. Feature Bloat
Well, recently I have been using Spring Data JPA repositories to avoid the boilerplate of creating my own search methods yet I think that maybe you're right about factor out the business logic.
Dec
23
comment Effective way to estimate dead code removal?
Well, we use subversion but with our workflow I think it won't help much.
Sep
14
comment Should We Code for Performance or Stability?
I am aware of performance metrics in the web layer but I do not think they apply for the backend process I am talking about. I truly do not know for sure if performance there is lacking but if I had to say something I think it will be no, the performance is not a problem now.
Sep
14
comment Should We Code for Performance or Stability?
@rossipedia I think the consensus there is that "too many records will be locked" because the process has many factors that could make it last from 2 to 30 minutes. We even have alerts for the last case.
Oct
4
comment Downgrading from GPL v3 to GPL v2
You are right, let's just hope it was with the optional text.