-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ScalaReflectException in createCompositeArrayJdbcType #476
Comments
I've found a workaround which is to manually create the AdvancedArrayJdbcType constructing and parsing strings manually. |
Here's related codes for def createCompositeArrayJdbcType[T <: Struct](sqlTypeName: String, cl: ClassLoader = getClass.getClassLoader)(implicit ev: u.TypeTag[T], tag: ClassTag[T]) = {
val util = new PgCompositeSupportUtils(cl, emptyMembersAsNull)
new AdvancedArrayJdbcType[T](sqlTypeName, util.mkCompositeSeqFromString[T], util.mkStringFromCompositeSeq[T])
} Maybe |
Try |
Won't compile:
|
Hi,
I'm getting a very weird and very long ScalaReflectException in runtime when trying to insert data into DB.
Here's the part that fails:
The exact point of failure is
PgCompositeSupport.scala:71
(typeOf
), the message is that classCordialFeedVariant
is not found.Please let me know you need any additional info.
Thanks.
The text was updated successfully, but these errors were encountered: