Spring MVC Email API Integration Process

Spring MVC Email API Integration Process -

Write bean dependencies in .xml file and include his dependent jar file in work repository. 

<!-- Spring Email Sender Bean Configuration -->
<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
<property name="host" value="mail.gmail.com" />
<property name="port" value="587" />
<property name="username" value="email@gmail.com" />
<property name="password" value="password" />

Java Instance Of Object Uses

Instance Of Uses

/* (non-Javadoc)
* @see com.techa2zsoln.allcustom.services.IUserService#registerUserCredentials(com.techa2zsoln.allcustom.dto.RegisterUserSelf)
*/
@Override
public boolean registerCredentials(Object object) {


Database Query - Standard Formats.

DB Grants & Synonym.

GRANT PRIVALAGES ON TABLE_NAME TO SCHEMA_NAME
GRANT SELECT ON TABLE_NAME TO SCHEMA_NAME

First Schema Name is target Schema, Second Schema is Actual where table is exists.
CRATE OR REPLACE SYNONYM SCHEMA_NAME.TABLE_NAME FOR SCHEMA_NAME.TABLE_NAME

SQL Query by  With Operation and creating cases.