Install tomcat9 on linux ubuntu: https://phoenixnap.com/kb/how-to-install-tomcat-ubuntu https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-ubuntu-16-04 Install Ubuntu20 alongside Windows 10 as dual boot https://www.youtube.com/watch?v=-iSAyiicyQY Create Windows 10 bootable flash in ubuntu https://www.youtube.com/watch?v=rHFR-L7CtOY Install Windows Fonts on ubuntu https://ostechnix.com/install-microsoft-windows-fonts-ubuntu-16-04/ Install Configuration for Ubuntu https://wiki.ubuntu-tr.net/index.php?title=Ana_Sayfa JDK11 https://www.youtube.com/watch?v=72mz0-98vg8 jdk1.8 and netbeans 8.2 Install : https://www.youtube.com/watch?v=hyw0CHKGQ_Y UnInstall: https://netbeans.org/community/releases/82/install.html#uninstall_sollinux MYSQL https://www.youtube.com/watch?v=ug0TFsort24 GIT https://www.youtube.com/watch?v=ZMgLZUYd8Cw&t=522s Skype https://www.youtube.com/watch?v=58qlQREr_3E Docker https://www.youtube.com/watch?v=W7BvS942UZA h...
hibernate 2 cur cache memory var: L1(Level bir) burada entitymanager a aiddir. bazadan gelen entityler cacheda saxlanir ve her entitymanagere xasdir L2(level 2) burada ise umumiyyetle EntityManagerFactory ye xidmet eden entiymanagerler arasinda shared cache memorydir ve level 1 den daha uzun muddetlidir level 2 cache i aktivleshdirmek uchun dependency elave edilir projecte ve 1-2 config edilir Javada 4 cur reference type var : https://dzone.com/articles/reference-types-java-part-1 Strong references. Soft references. Weak references. Phantom references entitymanager de weak referance var , ve o strongla muqayisede GC terefinden istenilen an siline biler ram lazim olsa. soft referance - strongdan zeif , weakdan gucludur ve GC onu ancaq en vacib hallarda sile biler, weak i her memory chatmiyanda sile biler ama softu ancaq outofmemory alacagi teqdirde silib ishlede biler ve soft un omru uzun olur . ve Level 2 cache da istifade edir bunu hibernate. burda da bele shey varki , LRU(last r...
varchar2 max character size is 32767 , that's why writing huge texts into column is problem. CLOB type is used for this, it can store 2,147,483,647 characters. But it is a bit problematic to write more than 32767 characters into CLOB typed column. For doing that either we should read from file or divide into small chunks. In example we will do this by chunks Firstly: package org.example; import java.io.*; import java.util.ArrayList; import java.util.List; public class FileChunker { private static final int CHUNK_SIZE = 21000; // Size of each chunk public static void main(String[] args) { String filePath = "/Users/bbb/Documents/aaa/new_license/license_en.html"; // Path to your file String outputDir = "/Users/bbb/Documents/aaa/new_license/chunks_en"; // Directory to save chunks try { List<String> chunks = splitFileIntoChunks (filePath); createFilesFromChunks (chunks, outputDir); System. out...
Comments
Post a Comment