This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.hibernate.Session session = entityManager.unwrap(org.hibernate.Session.class); | |
org.hibernate.query.Query<?> query = session.createQuery(criteriaQuery); | |
SharedSessionContractImplementor sessionImplementor = entityManager.unwrap(SharedSessionContractImplementor.class); | |
String sql = sessionImplementor.getFactory() | |
.getQueryPlanCache() | |
.getHQLQueryPlan(query.getQueryString(), false, Collections.emptyMap()) | |
.getSqlStrings()[0]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "session", | |
"style": "diamond", | |
"foreground": "#ffffff", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
virtualenv venv -p python3.6 | |
// Activate the created venv ... | |
pip install ipykernel | |
pip install notebook | |
pip install jupyter_contrib_nbextensions | |
pip install autopep8 | |
pip install yapf | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is configuration for VSCode such that the `go to definitions` work for the current project. | |
// Side Note: The PYTHONPATH for the current project was set. | |
{ | |
"python.formatting.provider": "autopep8", | |
"python.linting.enabled": true, | |
"python.pythonPath": "<VENV_PATH>\\Scripts\\python.exe", | |
"python.languageServer": "Microsoft" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div#notebook { | |
color: #f8f8f0; | |
font-family: 'Dank Mono' sans-serif; font-style:italic; | |
font-size: 9pt; | |
line-height: 170%; | |
padding-top: 25px !important; | |
zoom: 110%; | |
-webkit-font-smoothing: antialiased !important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This file was initially generated by Windows Terminal 1.0.1811.0 | |
// It should still be usable in newer versions, but newer versions might have additional | |
// settings, help text, or changes that you will not see unless you clear this file | |
// and let us generate a new one for you. | |
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-07-31T07:17:47.018Z","extensionVersion":"v3.4.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mxfile host="app.diagrams.net" modified="2020-05-15T19:55:03.379Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" etag="KWAAKfc1jvhACMIfshkV" version="13.1.1" type="device"><diagram name="Page-1" id="c7488fd3-1785-93aa-aadb-54a6760d102a">7LvXsuRIkiX4NS37NC3g5BGAg3PmIG/gnHN8/QA3IrMqq2p6emenZWRX9kqEO2CAmxlU1VTPUVP8G8x0Jz9HY6kOadb+GwSk57/Bn3+DIBCAiefrbbl+taDI74ZirtLfN/2twa7u7I9f/m7dqjRb/nLjOgztWo1/bUyGvs+S9S9t0TwPx19vy4f2r6OOUZH9U4OdRO0/t3pVupa/W0EA+NsFIauK8vfQBPr7QhwlTTEPW/97vH+D4Pzn79flLvqjr9/3L2WUDsffNcHsv8HMPAzrr6PuZLL2le0fYvv1O+5/cPXPec9Zv/5nfgDFSEaAEBkDUIoQeP7ffvewR+32WxbMo1016tc5+r+W58ony8bnS8miua/64jnk2ucJngtVVMxR9/u51usPWS5H1bVR/5zR5dq1TyP4HCZl1aZKdA3bO89lfeT2xxldDnN1D/0a/XHzc3lef1vJ80B/f4f9/vJpflt/5J6lv8/+FO170kZx1tJ/KocZ2mF+LvXDz7yWdR6aPzX9jpg/nXNRV7WvAX+zOY366Hfz73kQz2nUVkX/HCePtLP5vV617R99P6rHgIgE8T8H+Lsr0AfHAOB3j3/X/ttYYPqfFfmHZrJ5zc6/a/qtWD4bumydr+eWP64Sv43s9yIE4d/nx99MGoeRfwfQX83l3xk0CGK/b45+L6Xiz/7/Zk7PwW+L+k9aF/RP1vWJ1uhpeUTQ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Date; | |
import java.util.List; | |
public class Assets { | |
public String formatId; | |
public String formatName; | |
public String assetId; |
NewerOlder