Skip to content

Instantly share code, notes, and snippets.

@thjanssen
Created October 12, 2016 12:43
Show Gist options
  • Save thjanssen/58872e73f7f0b1982b15e7e43d125db9 to your computer and use it in GitHub Desktop.
Save thjanssen/58872e73f7f0b1982b15e7e43d125db9 to your computer and use it in GitHub Desktop.
10:33:49,612 DEBUG [org.hibernate.SQL] – insert into Author (firstName, lastName, version, id) values (?, ?, ?, ?)
10:33:49,620 DEBUG [org.hibernate.SQL] – select author_.lastUpdate as lastUpda4_0_ from Author author_ where author_.id=?
10:33:49,644 DEBUG [org.hibernate.SQL] – update Author set firstName=?, lastName=?, version=? where id=? and version=?
10:33:49,646 DEBUG [org.hibernate.SQL] – select author_.lastUpdate as lastUpda4_0_ from Author author_ where author_.id=?
@Entity
public class Author {
@Column
@Generated(GenerationTime.ALWAYS)
private LocalDateTime lastUpdate;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment