Hitachi

uCosminexus Application Server Compatibility Guide


9.12.5 Types of persistence fields and persistence properties of the entities

Set the persistence fields/ persistence properties of the entities to the following types:

When you use Cosminexus JPA Provider, the operations might not function properly if you specify types other than those mentioned above. An exception might also occur when the application is executed.

However, when you use Cosminexus JPA Provider, you must associate the instance variable type of the entity with the database column type. The JDBC driver associates the Java types and the database types. With Cosminexus JPA Provider, to connect to Oracle, you use Oracle JDBC Thin Driver provided by Oracle as the JDBC driver. To connect to HiRDB, you use HiRDB Type4 JDBC Driver as the JDBC driver. The user must convert the types supported by the JDBC driver as well as determine the instance variable type of the entity.