Thanks a lot for your help Milosz!
Miłosz Tylenda wrote: > > Hi Andiqo, > > That "compatible" property seems promising. I once used it when needed to > tweak how String parameters are sent to PostgreSQL. > > I am not sure what you mean by "directly specify properties". If I want to > specify a JDBC driver property, usually I add it to the database URL or > configure the data source in an application server-specific way. If what > you want > is to set a property when OpenJPA runs outside an application server you > can > try the openjpa.ConnectionProperties property [1]. That should work when > used > in a persistence.xml file and also as a JVM property > (-Dopenjpa.ConnectionProperties=...). > > Cheers, > Milosz > > [1] > http://openjpa.apache.org/builds/latest/docs/manual/manual.html#openjpa.ConnectionProperties > > >> Hi Milosz, >> >> LOB support using InputStream looks great in OpenJpa. But I would like to >> conform to JPA-2 specifications... >> >> Is there a way to directly specify JDBC connection properties with >> OpenJPA, >> as 'compatible' parameter could do the trick >> (http://jdbc.postgresql.org/documentation/83/connect.html#connection-parameters)?! >> >> Thanks a lot! >> >> andiqo >> >> > > > -- View this message in context: http://n2.nabble.com/postgres-%3A-storing-binary-data-using-OID-tp2482851p2493727.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
