jdk/src/share/classes/com/sun/rowset/providers/RIOptimisticProvider.java
changeset 6530 bfb7b294dd14
parent 5506 202f599c92aa
child 6671 c5fbc05d7347
equal deleted inserted replaced
6529:bdf98f8db729 6530:bfb7b294dd14
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   243      *      SyncProvider
   243      *      SyncProvider
   244      */
   244      */
   245     public String getVendor() {
   245     public String getVendor() {
   246         return this.vendorName;
   246         return this.vendorName;
   247     }
   247     }
       
   248 
       
   249     private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException {
       
   250         // Default state initialization happens here
       
   251         ois.defaultReadObject();
       
   252         // Initialization of transient Res Bundle happens here .
       
   253         try {
       
   254            resBundle = JdbcRowSetResourceBundle.getJdbcRowSetResourceBundle();
       
   255         } catch(IOException ioe) {
       
   256             throw new RuntimeException(ioe);
       
   257         }
       
   258 
       
   259     }
       
   260     static final long serialVersionUID =-3143367176751761936L;
       
   261 
   248 }
   262 }