Question about the TIME binding
See original GitHub issuewe are going to insert time 00:00 to database, but sometimes the data is incorrect after inserted to database.
we have LocalTime in the entity
@Column(name = "time")
private LocalTime time;
the insert statement from hibernate.show_sql log
insert into `TABLE` (`time`) values (?)
the bindings from the hibernate type trace log
[BasicBinder.java] - binding parameter [1] as [TIME] - [00:00]
but when the data inserted to the database, the data changed randomly, for example
id | time |
---|---|
1 | -838:59:59 |
2 | 00:00:20 |
3 | 00:00:00 |
4 | 00:02:57 |
May I know is there anything do after the binding and any ideas about it?
Environment
- Version: 1.0.0.CR6
- Database: ProxySQL 5.5.30 with MySQL 5.7.25-log
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:16 (11 by maintainers)
Top Results From Across the Web
Time-Binding - LessWrong
The central question of Manhood of Humanity is: "What is a human?" Answering this question correctly could help us design a civilization ...
Read more >Question: ______-time binding is the method of ... - Chegg
Question: ______-time binding is the method of binding instructions and data to memory performed by most general-purpose operating systems.
Read more >java - Is it true to say that every run time binding was a static ...
As we can see from the results of the above code, the answer is yes. Static binding happens at compile time, dynamic binding...
Read more >The neural binding problem(s) - PMC - NCBI
In its most general form, “The Binding Problem” concerns how items that are encoded by distinct brain circuits can be combined for perception,...
Read more >Static vs Dynamic Binding in Java - GeeksforGeeks
The binding which can be resolved at compile time by the compiler is ... Tip: Geeks, now the question arises why binding of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Nice, now I can see the exception. It seems to only occurs with the proxy in front of the server so I suspect it’s not a bug in Hibernate Reactive. I will check a bit better later.
@tsegismont I’ve created the issue: https://github.com/eclipse-vertx/vertx-sql-client/issues/1016