摘要:
Before we come to the story of Struts2, let's first look at what MVC is. Model - The lowest level of the pattern which is responsible for maintaining 阅读全文
摘要:
Firstly, we need to understand what "One to One mapping" is Suppose we have two tables Table A and Table B if each row in Table A is linked to each ro 阅读全文
摘要:
1. hbm2ddl.auto property it will have four values "Create": Every time you run your hibernate application to insert, hibernate will drop off existing 阅读全文
摘要:
1. What is Hibernate Simply said hibernate is a ORM framework, where ORM stands for Object (Java) - Relational (DB) mapping, Hibernate is developed ba 阅读全文
摘要:
Based on previous example, I have made a few enhancements. 1. I have used class actor (JavaBean) as parameter for search, delete and insert method. As 阅读全文
摘要:
A regular expression is a special string that describes a search pattern. It is a powerful tool that gives us a concise and flexible strings of text e 阅读全文
摘要:
Through previous practice, we have successfully connected our application to the Database using JDBC. But allowing user and application to connect to 阅读全文
摘要:
In previous blog, we have written on how to connect to DB using JDBC, but in that example, we have hard-coded our DB setting in the variables in the c 阅读全文
摘要:
InterfacesRecommended Use Statement Use this for general-purpose access to your database. Useful when you are using static SQL statements at runtime. 阅读全文
摘要:
JDBC stands for Java Database Connectivity JDBC API is a Java API that can access any kind of tabular data, especially data stored in a Relational Dat 阅读全文