Исходники Java
Hibernate - Simple Update
 
Hibernate HSQL connection

<!DOCTYPE hibernate-configuration PUBLIC
 "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
 "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">

<hibernate-configuration>
 <session-factory>
 <!-- Database connection settings -->
 <property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
 <property name="connection.url">jdbc:hsqldb:mem:testdb</property>
 <property name="connection.username">sa</property>
 <property name="connection.password"></property>

 <!-- JDBC connection pool (use the built-in) -->
 <property name="connection.pool_size">2</property>

 <!-- SQL dialect -->
 <property name="dialect">org.hibernate.dialect.HSQLDialect</property>

 <!-- Echo all executed SQL to stdout -->
 <property name="show_sql">true</property>

 <!-- Drop and re-create the database schema on startup 
 <property name="hbm2ddl.auto">create</property>-->

 <mapping resource="Keyword.hbm.xml"/>
 </session-factory>
</hibernate-configuration>

 
Use Two Sessions
 
Session Disconnect And Reconnect
 
Java Mail Flags
 
How to use the FileDataSource to send a file via mail
 
Get Attachment File Name
 
Send E-Mail
 
Java Mail Secure POP3 Client
 
Java Mail POP3 Client
 
Setting LDAP Connection Request Controls
 
Getting LDAP Response Controls
 
How to make modifications to an object's attributes
 
How to retrieve all attributes of a named object
 
LDAP Search