1. How to deal with JBoss MarshalledValue serialized columns forum.hibernate.orgI'm using Hibernate to access data that was created with JBoss CMP. I have some big String fields that are stored as Objects and thus seralized into a BLOB (in particular, a MySQL longblob). I seem to remember that JBoss actually stores these serialized values as org.jboss.invocation.MarshalledValue types (for example, see http://www.jboss.org/index.html?module=bb&op=viewtopic&t=22588), making them difficult to read without JBoss. Aside from ... |
2. UserTypes should implement Serializable? forum.hibernate.orgI'm getting warnings in my log file to the effect of: Code: 13:15:14,335 WARN CustomType:49 - custom type does not implement Serializable: class com.foo.bar.TimeIntervalUserType My TimeInterval class implements Serializable but the TimeIntervalUserType does not. The code in net.sf.hibernate.type.CustomType seems to want the UserType to be Serializable: Code: public CustomType(Class userTypeClass) throws MappingException { ... |
3. Serializable - completely confused forum.hibernate.orgNewbie Joined: Fri Aug 20, 2004 8:26 am Posts: 5 Location: Karlsruhe, Germany Hello, I'm totally lost. I succeeded in reproducing the strange behaviour occurring in my (quite big) app with simple classes. Please, if anybody could help me - why is this happening? I have the following code in my main()-method (hibernate-version 2.1.4): Code: ... |
4. Cannot de-serialize in Tomcat 5: ClassCast exception forum.hibernate.orgHibernate version: 2.1.7 Mapping documents: USER: |
5. net.sf.hibernate.cache.QueryKey NOT Serializable! forum.hibernate.orgHibernate version: 2.1.7[c] We're trying to use the StandardQueryCache with a Remote Cache (JCS), which WILL serialize the keys and values put into it. Doing a get on the StandardQueryCache causes a NotSerializableException: java.lang.reflect.Method. Browsing through the code, I see that it's doing a cache.get on a QueryKey, which clearly has a reference to an Object with a java.lang.reflect.Method on it. ... |
6. Enhancement to serialization forum.hibernate.orgGavin requested I post this here: During serialization (writing to an ObjectOutputStream), rather then serialize an uninstantiated object reference as a proxy, I would like to instantiate the proxy target (call getImplementation()) during calls to writeReplace() so I will never get proxies written to the stream. Currently the class LazyInitializer intercepts writeReplace() and replaces the proxy with the object returned by ... |
7. SerializationException: Could not deserialize a serializable forum.hibernate.orgGuys, I'm in the throes of debugging and need some guidance on the following log output. Specifically, I'm wondering if this is implying that the problem lies with "PRICE_ID", since no "returning" values are logged after that point. thanks, Matt Quote: 2005-01-25 12:48:24,743 DEBUG [net.sf.hibernate.impl.SessionImpl] initializing collection [com.iris.cm.bean.Retailer.releaseRetailers#18] 2005-01-25 12:48:24,743 DEBUG [net.sf.hibernate.impl.BatcherImpl] about to open: 0 open PreparedStatements, 0 open ResultSets ... |
8. Serialize object not being returned by Hibernate forum.hibernate.orgHibernate version: 2 Mapping documents: |
9. Serialization issue of proxy object forum.hibernate.orgHibernate version: 3 Full stack trace of any exception that occurs: java.lang.InstantiationException: org.hibernate.proxy.CGLIBLazyInitializer Continuing ... java.lang.RuntimeException: failed to evaluate: |
10. ???Blob being read by Hibernate as Serializable type??? forum.hibernate.orgOK, here's the deal. When I run this program command line, or a few days ago, it worked fine. The Blob was converted to a Java blob, and it was fine. Since then I mapped another class CmsNoContent to the same table with the exception that the blob is not mapped (for queries), and now it tries to get the Blob ... |
11. error while serializing MapLazyInitializer forum.hibernate.orgHibernate version:3-0 Hi, I've created simple dynamic model using dynamic-map. There are only two entities connected with one-to-many relation. this is my mapping file: Mapping documents: |
12. serialize objects in DB using xstream forum.hibernate.org |
13. Serialize hibernate objects - Hessian/HttpInvoker... forum.hibernate.orgHi! I've got system where bussiness side and client view (web) are separated. Connection between them is done by Hessian (or HtppInvoker). Hibernate is used on bussiness side and "spring" is used on both. I want to transmit thorugh network some POJO-Hibernate objects but I've got two problems: 1) not so important - client has to have hibernate jar. is this ... |
14. Transfering lazy many to many over RMI (Serialization) forum.hibernate.orgHello all, I'm relatively new to Hibernate, but i have already built an application with it. The application works :), but now we want to make an addition to it. I'll sketch the required situation: There will be one main server with a database (using Hibernate). This server contains all available data and should always remain that way. On top of ... |
15. Serializing the Configuration in 2.x forum.hibernate.orgI am looking into Serializing the Hibernate Configuration in 2.x and came across that fact that it had been done before in the 2.2 branch but I its not there now. Looking at the CVS history it looks like the changes got lost with a merge "merging of the tip of v21branch onto HEAD". Is there a reason why this is ... |
16. Proxies and Serialization: How do they live together? forum.hibernate.orgHello everyone, When the proxy of a persistent class is being serialized (for example because it is contained in a HTTPSession), the de-serialization fails because the serialization mechanism cannot instantiate the proxy again. Is the only way to serialize/de-serialize a persistent class by making sure that I don't serialize a proxy instead? Or can I somehow tell Hibernate or the Proxies ... |
17. Serialization Isolation database fails with 3.0 example forum.hibernate.orgI have implemented a Hibernate solution that I belive should greatly reduce the chances of a concurrent serializable transaction conflict from occurring when using databases with serializable isolation. I would appreciate a review of this solution, by the users of this forum, to make sure I haven't missed something. A user on the Mckoi forum was having trouble with running the ... |
18. Serialization issue with many-to-many data structure. forum.hibernate.orgAuthor Message VampBoy Post subject: Serialization issue with many-to-many data structure. Posted: Wed Oct 05, 2005 6:06 pm Expert Joined: Sat Jan 17, 2004 2:57 pm Posts: 317 Location: In the basement in my underwear This isn't really a Hibernate code base issue but I am hoping that someone might be able to shed some insight on the following ... |
19. Blobs may not be accessed after serialization forum.hibernate.orgFYI: I just ran a local test and it seems to confirm what I suspected, Session.merge() creates a new SerializableBlob so you can use Blob properties across sessions or serialization. If I don't use Session.merge() I get the same exception as wouterv reported. Gavin, can you please mention this in the documentation? |
20. serializable objects throw servlet forum.hibernate.orgim using a servlet that response with a serializable object using an Outputstream, my question is: what content type do i have tu use, beacuse im gettin a java.lang.ClassNotFoundException: org.hibernate.proxy.SerializableProxy actually im setting the content type like this: response.setContentType("application/x-java-serialized-object"); im in the right way? or maybe the exception is for another reason. |
21. org.hibernate.impl.ScrollableResultsImpl is NOT serializable forum.hibernate.org |
22. Object Serialization in hibernate forum.hibernate.orgHi all, I am having some problem in understanding serialization.When we serialize an object we first implement Serializable interface and then write the object into a stream(file). But when we make an object Serializable in hibernate we do not write it manually in stream.We just implement Serializable interface and nothing else.I want to know ,does hibernate writes this object into stream ... |
23. Hibernate Serialization Exceptions when deploying forum.hibernate.orgorg.hibernate.HibernateException: org.hibernate.type.SerializationException: could not deserialize .... Caused by: java.io.InvalidClassException: org.dom4j.tree.AbstractNode; local class incompatible: stream classdesc serialVersionUID = 4188621179618565246, local class serialVersionUID = 4436254242831845461 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) ... |
24. Session.save(Object, Serializable)... removed? forum.hibernate.orgI was using Hibernate 3.1beta3, and I just upgraded to 3.1, and much to my surprise, the Session interface is missing a save signature - Session.save(Object, Serializable) to be precise. I checked the changelogs and didn't see any mention of it being removed (or deprecated). I'm sure I missed something, but I was just checking. Thanks! ~Andy |
25. Serialization errors on Sun's app server forum.hibernate.orgHi all, i am using hibernate on Sun's app server and i have the following problem testing two classes like: class name="A" table="A"> |
26. hibernate + other non hibernate db updates, serializable tx forum.hibernate.orgYou should read about locking strategies in the reference and versioning You should trust your session very little. You may consider to lock objects when you update them. You should analyse your application to find out specific situations, where concurrency can be a problem. serializable transaction could bring your dead locks and performance problems. Sebastian |
27. Serializing a HB Object from Weblogic 8.1 SP5 to Tomcat forum.hibernate.orgHi, I try to receive a Hibernate Object from the Bea Weblogic Server 8.1 SP5 from Tomcat 5.0 over RMI/IIOP (t3). The object will be fetched without problems, but if I try to send it to the Tomcat the following exception occurs: <27.01.2006 18.53 Uhr CET> |
28. Issue related to proxy serialization forum.hibernate.orgHi, I've recently had this issue during the migration of an application from hibernate 2 to hibernate 3, which I want to discuss on this forum with other Hibernate users: I implemented the following form of entity serialization: during serialization, I write only the entity id (primary key) on the stream. For deserialization, I implement readResolve(), in which I get the ... |
29. Hibernate does not serialize foreign-key objects properly forum.hibernate.orgHi everyone! I am using hibernate with Sun App Server and Oracle. I have classes referencing eachother. No master-detail, just simple foreign keys. eg: a Product class has a foreig key from the ProductType class. If ProductType has primitive properties and I just want to get the Product (without getting the ProductType along) then I get serialization errors ("Class short not ... |
30. Serialization and Hibernate custom collection types forum.hibernate.orgHello. I've looked at the past topics, but i have not found a real anwser... I'm sure someone has a smart solution ! A server application, in a J2EE EAR, uses Hibernate to read and write objects to and from a database. The object model presents different cases of associations. All that works as expected within the application. The object model ... |
31. Serialization exception forum.hibernate.org |
32. newbie question - why implement Serializable forum.hibernate.orgHi! I'm new to Hibernate and I have been playing around with it a bit, and notised when I was using HibernateTool to do som reverse-engieneering that it implemented Serializable in most of my persistent classes. Can any one tell me the reason for this? When I manually reverse-engineer my classes, should I implement it as well? Is it some 'rules' ... |
33. Unable to serialize/deserialize SessionFactory forum.hibernate.org2006-04-18 10:56:29,909 INFO [main] impl.SessionFactoryImpl: building session factory 2006-04-18 10:56:32,221 INFO [main] impl.SessionFactoryObjectFactory: Factory name: inventory 2006-04-18 10:56:32,221 INFO [main] util.NamingHelper: JNDI InitialContext properties:{} 2006-04-18 10:56:32,221 WARN [main] impl.SessionFactoryObjectFactory: Could not bind factory to JNDI javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: ... |
34. serialized/deserialized criteria and query cache issue forum.hibernate.orgHibernate version: 3.2.0 rc1 A serialized/deserialized DetachedCriteria do not work correctly with the query cache. The problem is the ResultTransformer in QueryKey. In CriteraImpl the resultTransformer will be set to Criteria.ROOT_ENTITY. This makes it down into the QueryKey. After serialize/deserialize the instance of resultTransformer in CriteriaImpl has changed (not that a surprise ;-) ) and thus - in the end - ... |
35. Serialization forum.hibernate.orgHi All, I searched the forum, but didn't find this issue solved I try to serialize my object graph (in order to pass it to the servlet, which is working with POJOs and unaware of Hibernate). I tried binary and xml serialization, but I'm not completely able to rid off all Hibernate staff (proxy, PersistentCollection,etc.). Do you know way/tool that allows ... |
36. CacheEntry huge serialization size - Production problems forum.hibernate.orgcampers Post subject: Posted: Fri Jun 29, 2007 1:16 am Newbie Joined: Tue Jul 20, 2004 8:52 pm Posts: 6 For anyone else that is searching for this, I just created a version of org.hibernate.cache.entryCacheEntry with the following additions below, and replaced the original Hibernate version with it. A public default contructor is also required. Useing a modified serialisation ... |
37. session.save(Object obj, Serializable id) forum.hibernate.org |
38. key-many-to-one class must be serializable? forum.hibernate.orgI still am not sure why the class for composite-id must be serializable. But implement equals() and hashCode() methods so that your dont face some problems( possible ). This was mandatory in version 2.x and optional in 3.x for some reason. Will give an example where implementing those methods can be helpful. Always want to check, if a child object is ... |
39. Deprecated session.save(Object, Serializable) forum.hibernate.orgHi everybody, I've been struggling with the same problems for a few days now and still can't find a solid solution. I just upgraded to Hibernate 3.1.3 from 2.1 and when going though the code realized that session.save(Object, Serializable) is deprecated now. I am in a pretty complicated situation now, as I relied on this method for restoring key persistent objects. ... |
40. SQLServerDialect and varbinary type for Serializable objects forum.hibernate.orgHibernate version: 3.1.3 and above The schema export generates "varbinary(xxx)" if the mapping document specifies "serializable" for a particular field. In SQL server varbinary has a limit of 8000 bytes (less if there is more data on the row). In order to store more than this, the data type should to be "IMAGE" instead of "varbinary(xxx)". This problem has already been ... |
41. Session serialization, I think. forum.hibernate.orgGood afternoon, I am having this strange problem, I think it has to do with session serialization. With jboss I have created a session bean which retrives the session factory from the jndi tree. This bean has a method called createSession() which returns a hibernate session object. If I call this method from a servlet the session object is closed. I ... |
42. Serialize a class into two tables - one-to-one relationship forum.hibernate.orgHi all this is my first attempt to use hibernate. I have a class Contact that contains a class History. Those 2 classes must be serialized into two different tables CONTACTS and HISTORIES. The relationship between contact and history is one-to-one. In HISTORIES table there is a foreign key that point to Contact where the history record belongs to. My problem ... |
43. Clobs may not be accessed after serialization forum.hibernate.org |
44. Serialization and proxies forum.hibernate.orgHibernate version: 3.0.5 (or any) Name and version of the database you are using: Postgres 8.1 This isn't a bug or problem as much as a general question. I've been slow to ask this because I'm sure the answer is out there, yet I've spent a lot of time and haven't really gotten the answer that I want. So here I ... |
45. " implements Serializable " required or not?? forum.hibernate.org |
46. when will Configuration serialize and why its some field set forum.hibernate.orgCode: Configuration configuration=null; try { Configuration configurationSerializable = new Configuration(); FileOutputStream fos = new FileOutputStream("serial"); ... |
47. serializable problem with session.get(...) forum.hibernate.orgMyClass mc = null; long id=1; try { if (lock) { mc = (MyClass) session.get(MyClass.class, id,LockMode.UPGRADE); } else { mc = (MyClass) session.get(MyClass.class, id); } } |
48. Long session serializable objects cause duplicate exception forum.hibernate.orgWe have a web application with a swing remote client that comunicate using http invoker protocol (Spring + Hibernate). We can't use version or timestamp columns to implement offline optimistic locking...so we need to keep open hibernate session between different client calls. We save the session in the httpsession using a servlet filter. We have this problem: when we try to ... |
49. Serializable type and Derby forum.hibernate.orgHi, I'm doing some sort of experiment with Hibernate, and I've found a problem I can't solve. The class I'm trying to persist has a java.lang.Serializable attribute, and I've mapped it to a property of type serializable. The test application stores some BigInteger and String values succesfully. The problem arises when storing a little bean class with 4 attributes using Apache ... |
50. Use of hibernate serializable type in HQL where clause forum.hibernate.org |
51. Serialize uninitialized intrumented classes and a patch forum.hibernate.orgNewbie Joined: Fri Dec 17, 2004 2:38 pm Posts: 11 Location: Buenos Aires Hi people! I've a problem with Javassist Instrumented clases (I mean, classes instrumented with the javassist InstrumentTask ). After serialize and deserialize my entity and make a session.lock(), all my lazy properties are null. After some debugging I think I've found the problem. The property created in the ... |
52. synchronize, serialized access and caches forum.hibernate.orgHallo, ich habe ein sehr seltsames Verhalten zu dem mir keine Lsung einfllt. Ich habe Hibernate, der innerhalb von synchronize ausgefhrt wird. Am besten zeige ich die Logik per Pseudocode: foo(); synchronize(this) { beginTransaction(); readData(); deleteTheReadData(); flush(); clearSession(); commitTransaction(); } Wenn nun zwei Threads sich kreuzen, also whrend der erste luft ein zweiter startet, wird der zweite Thread wie erwartet am ... |
53. Serializing a hibernate java object into xml forum.hibernate.orgH'guys, I was trying to serialize a hibernate 'person' object, that i retrieved from the database, into xml and this is the output i got. |
54. How to serialize a transient object using EntityMode.DOM4J? forum.hibernate.org |
55. Problem with SerializableProxy when de-serializing forum.hibernate.org |
56. Understanding array serialization forum.hibernate.orgI use Hibernate to persist some of my Java classes to a database. Often I will write scripts in other programs (such as Python) to do some analysis on the persisted data. However, some of these classes have arrays of primitive types (such as Integer[][]) which appear to be persisted as a byte stream to the database. I'd like to figure ... |
57. Make sure applet gets all data from serialize DTO's forum.hibernate.org |
58. Serialize object forum.hibernate.org |
59. Serialize hibernate object with Axis2 forum.hibernate.orgHi! I'm serializing hibernate POJO via Axis2 and it works fine. One problem though is that I've read that permitting setting the ID for a mapped class is not a good practise, therefor I have excluded the setId() method for my pojos. When I try to serialize the pojo the getId() returns null. Hibernate sets the id but when I serialize ... |
60. Serialization question forum.hibernate.org |
61. Serialization question forum.hibernate.org |
62. Serialization of lazy persistent objects for use across RMI forum.hibernate.orgNewbie Joined: Sat Oct 07, 2006 4:57 pm Posts: 7 I know this topic has been covered before, but I'd like to post my solution to the problem of serializing lazy persistent objects. I wrote the following code to initialize a DeviceRepositoryObject, which is the base class for all of our persistent objects. It walks the graph and eagerly loads all ... |
63. Should objects implement serializable? forum.hibernate.orgI don't think Hibernate doesn't need the objects to be serializable (with the possible exception of any composite-id mapping objects). That said, a lot of people need to make their domain model classes Serializable because they use it for lots of other stuff. Lots of things you can do with the domain model will force you to need to make them ... |
64. Reattaching of serialized/deserialized objects forum.hibernate.orgHibernate version: 3.1.3 Hi all, Could find any usable answer on the forums, so here's my question. We have a wizard oriented application and we modify our hibernate mapped domain model after each wizardstep. However, if we go back to previous steps, we have to restore the original model, otherwise we would, for example, execute an add or remove operation multiple ... |
65. must every class implement serializable? forum.hibernate.org |
66. Hibernate - Serializable type - Data too long forum.hibernate.orgGoo Day, i have problem with Hibernate, when i want to use type="serializable". It is writen, that Data too long ... I had tried to set length, but it dont help. Do you have some idea? Thanks for help Petr Hibernate version:hibernate-3.2.5.ga Mapping documents: |
67. How to serialize DTOs forum.hibernate.org |
68. Is there a way to make proxies truly Serializable? forum.hibernate.orgHello all, When I get a CGLIB entity proxy from hibernate, it is in an un-initialized state, but I can serialize it anyway... if I do, and then de-serialize it, by the moment I call any of its "getX()" methods, it tries to get initialized and... it fails with: Code: LazyInitializationException: could not initialize proxy - no Session This is normal ... |
69. LazyInitializationException when trying to serialize class? forum.hibernate.orgHibernate 3.2, Java 1.5, MS-Windows XP I am currently in the process of transitioning a project from Hibernate 2 to Hibernate 3.2 and I am running into a few problems. The current issue is that I have a class 'User.java' which is being lazy loaded and then at some point it is meant to be serialized to be sent over a ... |
70. Serializing objects for network transfer? forum.hibernate.orgHibernate 3.2, JDK 1.5 I have a client/server application, where the server side accesses the database and sends back data to the client (swing application). The communication protocol is designed to support serializing of Java objects. Some of the objects read from the database are marked to be lazy loaded. For example the class 'User' has an attribute address which refers ... |
71. Persisting blobs (type=serialize) forum.hibernate.orgAs shown below, I have a class Foo with a data member of type Bar. The data member, bar, is mapped as "Serializable". Hence during a hibernate commit to the database its Serialization code is called (readExternal and writeExternal). During performance testing we noticed that each call to commit an instance of "Foo" calls the Serialization code for the "bar" data ... |
72. Serializing/Deserializing a DetatchedCriteria/ICriteria obj forum.hibernate.orgHello, I posted this message on NHibernate users forum, but as the latest NHibernate 2.0 version is very closed with the last Hibernate version, I will post it here too. So, it seems to be a hard task for me getting an answer to my question. I want to serialize a DetachedCriteria in order to save it and use it later ... |
73. Problem with XStream serialization forum.hibernate.org |
74. Serialization using hibernate and flexjson forum.hibernate.orgI am using hibernate 3.3.1 and I am facing some problems when I try to serialize hibernate proxies to json string using flexjson. My objects are using flexjson annotations in order to avoid serializing some attributes (@JSON include=false), however when proxies are created by javassist framework these annotations are being ignored. When proxies are created by cglib everything works perfectly. Has ... |
75. Serialization of hibernate controlled objects forum.hibernate.orgI use Hessian protocol for sending my data objects. My client calls a Hessian servlet which retrieves objects using a hibernate (actually Springs HibernateTemplate) and returns it using Hessian over HTTP to a client. However deserialization on a client side fails because my object contains org.hibernate.collection.PersistentList which can not be deserialized on a client side. How can I tell to hibernate ... |
76. Serializing PersistentBag forum.hibernate.orgI use Lists everywhere in my code. I'm sure I don't have to explain why. The problem though is everytime I serialize an object as XML that comes out of hibernate that contains a List it gets spit out as total garbage. For instance... an object containing a List of locations results in: Code: |
77. Proxy serialization/deserialization forum.hibernate.orgHi I am trying to have an object (containing an hibernate proxy) being passed from and back a business tier via a Spring http invoker. There is this test class who create a Company and which contain a User which have a Role. Company cie = new Company("name"); cie = remoteService.createCompany(cie); System.out.println(cie.getUser().getUsername()); //user.getRole() returns an hibernate proxy. remoteService.saveCompany(cie); The last line ... |
78. Hibernate set and serializable forum.hibernate.orgHi, I have a question about one-to-many association and serializable. In my project there is an Invoice and Item mapping. One invoice contain many items. In Invoice pojo I have getItems and setItems methods. In Invoice.hbm.xml I have Code: |
79. ChainedPropertyAccessor not Serializable forum.hibernate.org2009-05-13 15:21:15,502 [Store org.hibernate.cache.StandardQueryCache Spool Thread] ERROR net.sf.ehcache.store.DiskStore - ettele.org.hibernate.cache.StandardQueryCacheCache: Failed to write element to disk 'sql: select ...; max rows: 100; transformer: org.hibernate.transform.AliasToBeanResultTransformer@377a0c88'. Initial cause was org.hibernate.property.ChainedPropertyAccessor java.io.NotSerializableException: org.hibernate.property.ChainedPropertyAccessor at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at java.io.ObjectOutputStream.writeSerialData(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) at ... |
80. bytecode instrumentation and serialization - serious error? forum.hibernate.orgI have a table with field byte[] annotated with @Lob = Blob field. This field holds attachments and documentation says that by default it's lazy, so there were no problem with such organization (now I know it's best to have table dedicated for blob). So this field is lazy, but (as i've read) only in Postgres... Oracle doesn't implement lazy for ... |
81. when to implement Serializable forum.hibernate.org |
82. Store Serialized Java object inside the database column usin forum.hibernate.orgJust to summarize what i understood In case i have an ArrayList objArraylist; String completeArray =objArraylist.toString(); and finally Map this string directly to a specific column of Database I have one doubt for the above specified method While retriveing the same String arraylist how would i be able to typecast the same back to Arraylist object?? Regards, Mehak |
83. is "implements Serializable" mandatory? forum.hibernate.org |
84. Java Serializable with Hibernate and DB2 Problem forums.oracle.com |