A common database term for a character or byte-based object that can be very large (up to the gigabyte range) is large object, or LOBfor short. Database columns that can store these types of large objects require special JDBC calls to be accessed from Java. To signal to the provider that it should use the LOB methods when passing and retrieving this data to and from the JDBC driver, an additional annotation must be added to the basic mapping. The @Lobannotation acts as the marker annotation to fulfill this pur pose and might appear in conjunction with the @Basicannotation, or it might appear when @Basic is absent and implicitly assumed to be on the mapping.
Because the @Lobannotation is really just qualifying the basic mapping, it can also be
accompanied by a @Columnannotation when the name of the LOB column needs to be overridden from
the assumed default name.
đang được dịch, vui lòng đợi..
