All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.ddlutils.io.DataToDatabaseSink.class Maven / Gradle / Ivy

Go to download

DdlUtils is a small, easy-to-use component for working with Database Definition (DDL) files.

There is a newer version: 1.3
Show newest version
????4?)org/apache/ddlutils/io/DataToDatabaseSinkjava/lang/Objectorg/apache/ddlutils/io/DataSinkdgbLjava/util/HashSet;dIGFLjava/util/HashMap;cZBLjava/util/ArrayList;hL Lorg/apache/commons/logging/Log;ak$Lorg/apache/ddlutils/model/Database;DLorg/apache/ddlutils/Platform;lE
ALLATORIxDEMOLjava/sql/Connection;[(Lorg/apache/ddlutils/model/Table;Lorg/apache/ddlutils/model/ForeignKey;)Ljava/lang/String;$org/apache/ddlutils/model/ForeignKey getName()Ljava/lang/String;"#
!$java/lang/String&length()I()
'*java/lang/StringBuffer,()V./
-0org/apache/ddlutils/model/Table2
3$append,(Ljava/lang/String;)Ljava/lang/StringBuffer;56
-7S9%org/apache/ddlutils/util/SqlTokenizer;&(Ljava/lang/String;)Ljava/lang/String;=
<>getReferenceCount@)
!AyC5org/apache/ddlutils/platform/MetaDataColumnDescriptorE
F>getReference((I)Lorg/apache/ddlutils/model/Reference;HI
!J#org/apache/ddlutils/model/ReferenceLgetLocalColumnNameN#
MOU~6QgetForeignTableNameS#
!TV$XgetForeignColumnNameZ#
M[]toString_#
-`+Lorg/apache/ddlutils/io/DataToDatabaseSink;!Lorg/apache/ddlutils/model/Table;&Lorg/apache/ddlutils/model/ForeignKey;java/lang/ThrowableeE(Lorg/apache/ddlutils/Platform;Lorg/apache/ddlutils/model/Database;)V
0%org/apache/commons/logging/LogFactoryigetLog3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;kl
jm	o	q	s	ujava/util/ArrayListw
x0	z
	|java/util/HashSet~
0		?		?		?java/util/HashMap?
?0
	?	?	?	?"org/apache/ddlutils/model/Database?
getTableCount?)
??getTable$(I)Lorg/apache/ddlutils/model/Table;??
??getSelfReferencingForeignKey(()Lorg/apache/ddlutils/model/ForeignKey;??
3?getPrimaryKeyColumns%()[Lorg/apache/ddlutils/model/Column;??
3? org/apache/ddlutils/model/Column?isAutoIncrement()Z??
??add(Ljava/lang/Object;)Z??
?getLocalColumn$()Lorg/apache/ddlutils/model/Column;??
M?
isRequired??
??#[Lorg/apache/ddlutils/model/Column;?setEnsureForeignKeyOrder(Z)VaddBean*(Lorg/apache/commons/beanutils/DynaBean;)V(org/apache/ddlutils/io/DataSinkException?getDynaClassForT(Lorg/apache/commons/beanutils/DynaBean;)Lorg/apache/ddlutils/dynabean/SqlDynaClass;??
??)org/apache/ddlutils/dynabean/SqlDynaClass?#()Lorg/apache/ddlutils/model/Table;??
??k(Lorg/apache/ddlutils/model/Table;Lorg/apache/commons/beanutils/DynaBean;)Lorg/apache/ddlutils/io/Identity;?
?getForeignKeyCount?)
3?$org/apache/ddlutils/io/WaitingObject?K(Lorg/apache/commons/beanutils/DynaBean;Lorg/apache/ddlutils/io/Identity;)V.?
??
getForeignKey)(I)Lorg/apache/ddlutils/model/ForeignKey;??
3??(Lorg/apache/ddlutils/model/Table;Lorg/apache/ddlutils/model/ForeignKey;Lorg/apache/commons/beanutils/DynaBean;)Lorg/apache/ddlutils/io/Identity;?
?org/apache/ddlutils/io/Identity?equals??
??get&(Ljava/lang/Object;)Ljava/lang/Object;??
??getForeignKeyName?#
??](Lorg/apache/commons/beanutils/DynaBean;Ljava/lang/String;Lorg/apache/ddlutils/io/Identity;)V?
?addPendingFK$(Lorg/apache/ddlutils/io/Identity;)V??
??
hasPendingFKs??
??org/apache/commons/logging/Log?isDebugEnabled????m5m!a=osa={6z'a'Lorg/apache/commons/beanutils/DynaBean;isUseBatchModejava/lang/ExceptionBorg/apache/ddlutils/PlatformDisIdentityOverrideOnF?EG`J;:E9RuB;X0Y!'D"Xu\<_=3@u[:B;_6D9^8E&6J;7Nue??g}Y:\u[>*?t??b?
?(????
?*YZ??+????YM+??N?t??,?ʞ??Y+-??:Y6,?ʢT,??:*,+??Y:?5-?ۚ,*??????Y:?*+??????????????*?p???m?-Y?1Y:???8*,+?Ƕ??8??G?8??:WX???"???8[???8X???*?p?a?
*???W?*Y,+??p???$*?p?Y??G?-???
*?t?=*??,??2*Y,+??:?xY?y:??-?"?xY?yY:-?X?%?*???%???(??:*??????:?+*?.???1LW+???@+???YM?5YN?*,?9-????,????,+?;?9?W????1L+????o+??=M*Y\\??,????YN,??:-,?-,??:	??	?"?X?p?????*?p?Y????????
???????b?@??=R7x!?,?7|?vJV0e2h?x??????e?~???\?<?-?m??
??#dD?VQ_>h?qD{b?I???{?*?n???? ?O?????&???Y.4k9.@wJ?Rf]t??s???/?0=3???Ff?	=3??!????f?=3???H=3??-??&?
?
2?;?xx?>	??xx???+	????xx???	??xx???vf???A??/*?v??b???f>:*???H?g*??+??\+??:*Y+,??:+,??:?ۙ:*??+??-??Y?Y?J?G??L???O??R?>???xY?y:Y6?B?,?K?PL,+?U?,?+?YW??ӿ*Y??_?[*??,?^Y6?B?#,?K?P??(?Y??ܿ*YZ??_?[*??,?a?*YZ??_?[*??,?^?[?f?<*?[?i?N*?r?*Y??_?[?m??Y-?p?*?pr?G-?v??6C??6C?56C? fbfcf@??"?g??"?+?4>8IPsru?y{?|???C???|???????
M
?!p,?5p6?7?>?L?U?e	??
?s3=!????=!x?/f?=!xV?&f?=!x?3=!?=!?=C?C???/?^?*?{?%??*YZ??_?[*Y??_?{?y?[?f?*?[?i*?p????*?p?Y?{???*?{?~????G?O??
?T?L*?r?*Y??_?[?m??Y+?p?*?p?Y?????*?{?~????G?O?+?v*?{?.?
rvC??b?:
?"8-?6#B5rv?wr~?!?m?????$6?>f?C?C?0?????>*?r??b?
????O??Y,??*+,????LY6,?B?3,?K:-?P?UY:???+??\????Ϳ+??*ObOcOdO@?&	??7%03?6e9G?MJ?Y??!=?!f??!=M?f??!=???/*?t??b?????/*?r??b???/?7r*YZ???????.?t?GY<*?????:*????MY>,?ʢ,??:*???????W??ῄ??ÿ*Y?????[?L??Y+?p??Yfg??rb?>	3??"@+?5#<?K?Q?Yf)g4h?q?U??3?!f?3?f?M??	f?????	?+??????:-??::Y6?ʢ<??Y:?U?4???,*?????Y:?????ÿ?>Y6?B?2?KY:Y??M??:+,??-??????Y??̱?*?b?@?????J?1?#?-H;?J?O'S?\?a?m"w?|x?2???m???='?33?6f?	='?33!?f?='?33?='?33!!?=?3!6?/??*Y???[?*?[??*??L??Y+?p?*???%??*?p????*???1L+????+???M*YZ??,?9????,?9??N?p?Y?????-???G?O??
,??YM?????,???N,*?p?Y???-???
????*???~???Y????R???Y?Y?¸G?*???~??ĸ??O??R????b?ZYE=?Z#-?9?J?T?d?lJ???B???G???6?E????L
?f??	@???Y?????3f?.?????:??Y+??N+??LY6+??$-+2??,+2????U????޿-?? :b:c:@?L	Y!b2!8s?5??=??$f??=???+*?v? *Y?{,?W?{?~*?}?*????*+,?ɱ? +b+c+@??,'$/*X??#f?3=?????>*?}??b?
?~???>*?v??b?
b??)?/*?}??b?G?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy