hello, i have a question on how small your picture is? I encountered that any image can result exceeded length of the column size in MySQL database(although i increased the length value by a lot). It's purely because common images contain large size bytes. I've seen many people saying this can be solved using Blob but it's very impractical to store images into database. Could you kindly explain how to save image path or just image url to database only but still fulfill all functionalities of retrieving images to display on the web? Thanks.
hi I have an error in my code on execute "Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blogRepository' defined in com.example.demo.BlogRepository defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: class com.example.demo.Blog "
Please provide explanation of all the things being used. I know Angular and Spring a little so most of the things didn't bother me but it'd have been great if you had explained deflater and inflater and compressBytes function. Thanks for pointing in right direction though.
Hi when I follow all the steps and try to run my springboot app it throws an error. "Could not create connection to database server. Attempted reconnect 3 times. Giving up." I dont think I am connecting to MySql correctly? can you help set up MySql database?
@@JavaInUse I just made a container through docker to run thru it and it has worked. I have now come to another issue where when I select a file and try to upload it, it throws an 500 error. any suggestions
@@samiabrahim1123 Actually it happens when u give wrong username or password in your application.properties ..!! ...Also u need a driver of mySQL which you have to add it in your classpath.....Hope it helps!
@@JavaInUse got a chance to run your source code... it gives me org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
Hi bro, Can you please make a video about designing a Text Formatter in websites. I mean... Textarea with Bold, Italic, Font style and Size etc... options and saving it into the Database and retrieving the same formatted text using the same angular spring hibernate technologies....Please tell how to do this...bro
I have question, I tried to upload it through postman it said Data too long for column 'image'
Hi, thanks for the explanation. My Angular aplication give an 500 error when I try to upload the image And I can´t solved it
im getting errors while im doing this
in ts file can you solve the issue
hello, i have a question on how small your picture is? I encountered that any image can result exceeded length of the column size in MySQL database(although i increased the length value by a lot). It's purely because common images contain large size bytes. I've seen many people saying this can be solved using Blob but it's very impractical to store images into database. Could you kindly explain how to save image path or just image url to database only but still fulfill all functionalities of retrieving images to display on the web? Thanks.
Storing blob is quite the norm in industry projects..we can use various compression algorithms to decrease blob size
How Can we Fetch Multiple Images From the DB ?
Thanks Sir, You explained all major concepts. You nicely guide other developers.
does the process of uploading a file the same procedure or it differs ?
thanks in advance
what type do you use to handle the file in backend of both java and angular?
hi
I have an error in my code on execute "Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blogRepository' defined in com.example.demo.BlogRepository defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: class com.example.demo.Blog
"
I'm getting a multipart form exception..
Can i use the same thing for file upload
Please provide explanation of all the things being used. I know Angular and Spring a little so most of the things didn't bother me but it'd have been great if you had explained deflater and inflater and compressBytes function. Thanks for pointing in right direction though.
i know I am kind of randomly asking but do anybody know of a good site to stream newly released series online?
@@vincentari6483 Use telegram
@Vincent Ari Flixportal :)
@Ezra Garrett thanks, I went there and it seems to work =) I really appreciate it!!
@Vincent Ari You are welcome :)
what should be the datatype for pic byte field in mysql?
storing files in the database is not scalable
Hi, when doing getImage it shows me novalue present error but data is present in my datbases. Need help immediately.
Will need more details..May be share you project on GitHub..will need to take a look
Hi when I follow all the steps and try to run my springboot app it throws an error. "Could not create connection to database server. Attempted reconnect 3 times. Giving up." I dont think I am connecting to MySql correctly? can you help set up MySql database?
What is your MySQL version?
@@JavaInUse In my pom it does not specify a version
mysql
mysql-connector-java
runtime
this is all it shows
i meant the version of MySQL you are running externally?
@@JavaInUse I just made a container through docker to run thru it and it has worked. I have now come to another issue where when I select a file and try to upload it, it throws an 500 error. any suggestions
@@samiabrahim1123 Actually it happens when u give wrong username or password in your application.properties ..!! ...Also u need a driver of mySQL which you have to add it in your classpath.....Hope it helps!
great video.... right time when i needed this... thanks a lot!!
Welcome :)
@@JavaInUse got a chance to run your source code... it gives me
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
Best video ever.. Kudos for ur work 🙌
how to fetch all images in another component plz explain
Can i stock a pdf file 2 ?
Great video Sir 👍
Glad could help you Siyed :)
Can we use same thing for video upload
Hi , you can use this for video upload ?
Hi bro,
Can you please make a video about designing a Text Formatter in websites.
I mean... Textarea with Bold, Italic, Font style and Size etc... options and saving it into the Database and retrieving the same formatted text using the same angular spring hibernate technologies....Please tell how to do this...bro
You are great man. Thank you very much!
Have you downloaded My sql already
yes
great video
Sir plzz can you make a video for authentication user login page using angular 8 + spring boot + mysql.
Do have a look at - www.javainuse.com/spring/ang7-jwt