openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Linskey <plins...@gmail.com>
Subject Re: Compiling
Date Sat, 03 May 2008 14:49:44 GMT
Hi,

Inserts are handled by ClassMappings and their FieldMappings and  
associated strategies.

What does INSERT RETURNING do? Can you describe how you want to  
utilize it from OpenJPA?

-Patrick

On May 3, 2008, at 4:59 AM, Nikolas Everett wrote:

> I'm pretty much lost in the source code.  I'm looking for the piece  
> who's
> job it is to run inserts.  I'm specifically wondering whether it  
> would be
> possible for OpenJPA to take advantage of Postgres's INSERT RETURNING
> clauses.
>
> On Fri, May 2, 2008 at 9:38 PM, Nikolas Everett <nik9000@gmail.com>  
> wrote:
>
>> I guess I should have read more closely.  OpenJPA only compiles on  
>> java
>> 1.5, not 1.6.  That is funky.
>>
>> Sorry to bother the list.
>>
>>
>> On Fri, May 2, 2008 at 9:12 PM, Nikolas Everett <nik9000@gmail.com>  
>> wrote:
>>
>>> I'm interested in hacking on OpenJPA a little.  I downloaded the  
>>> nightly
>>> snapshot, but it doesn't compile on a fresh install of maven:
>>>
>>> /home/nik/Documents/Programming/OpenJPA/apache-openjpa-1.1.0- 
>>> SNAPSHOT-source/openjpa-lib/src/main/java/org/apache/openjpa/lib/ 
>>> jdbc/DelegatingConnection.java:[47,7]
>>> org.apache.openjpa.lib.jdbc.DelegatingConnection is not abstract  
>>> and does
>>> not override abstract method
>>> createStruct(java.lang.String,java.lang.Object[]) in  
>>> java.sql.Connection
>>>
>>> /home/nik/Documents/Programming/OpenJPA/apache-openjpa-1.1.0- 
>>> SNAPSHOT-source/openjpa-lib/src/main/java/org/apache/openjpa/lib/ 
>>> jdbc/DelegatingDatabaseMetaData.java:[31,7]
>>> org.apache.openjpa.lib.jdbc.DelegatingDatabaseMetaData is not  
>>> abstract and
>>> does not override abstract method
>>> getFunctionColumns 
>>> (java 
>>> .lang.String,java.lang.String,java.lang.String,java.lang.String)
>>> in java.sql.DatabaseMetaData
>>>
>>> /home/nik/Documents/Programming/OpenJPA/apache-openjpa-1.1.0- 
>>> SNAPSHOT-source/openjpa-lib/src/main/java/org/apache/openjpa/lib/ 
>>> jdbc/DelegatingStatement.java:[37,7]
>>> org.apache.openjpa.lib.jdbc.DelegatingStatement is not abstract  
>>> and does not
>>> override abstract method isPoolable() in java.sql.Statement
>>>
>>> /home/nik/Documents/Programming/OpenJPA/apache-openjpa-1.1.0- 
>>> SNAPSHOT-source/openjpa-lib/src/main/java/org/apache/openjpa/lib/ 
>>> jdbc/DelegatingPreparedStatement.java:[51,7]
>>> org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement is not  
>>> abstract and
>>> does not override abstract method setNClob(int,java.io.Reader) in
>>> java.sql.PreparedStatement
>>>
>>> /home/nik/Documents/Programming/OpenJPA/apache-openjpa-1.1.0- 
>>> SNAPSHOT-source/openjpa-lib/src/main/java/org/apache/openjpa/lib/ 
>>> jdbc/DelegatingResultSet.java:[50,7]
>>> org.apache.openjpa.lib.jdbc.DelegatingResultSet is not abstract  
>>> and does not
>>> override abstract method  
>>> updateNClob(java.lang.String,java.io.Reader) in
>>> java.sql.ResultSet
>>>
>>> /home/nik/Documents/Programming/OpenJPA/apache-openjpa-1.1.0- 
>>> SNAPSHOT-source/openjpa-lib/src/main/java/org/apache/openjpa/lib/ 
>>> jdbc/DelegatingDataSource.java:[35,7]
>>> org.apache.openjpa.lib.jdbc.DelegatingDataSource is not abstract  
>>> and does
>>> not override abstract method isWrapperFor(java.lang.Class<?>) in
>>> java.sql.Wrapper
>>>
>>> /home/nik/Documents/Programming/OpenJPA/apache-openjpa-1.1.0- 
>>> SNAPSHOT-source/openjpa-lib/src/main/java/org/apache/openjpa/lib/ 
>>> jdbc/DelegatingCallableStatement.java:[49,7]
>>> org.apache.openjpa.lib.jdbc.DelegatingCallableStatement is not  
>>> abstract and
>>> does not override abstract method  
>>> setNClob(java.lang.String,java.io.Reader)
>>> in java.sql.CallableStatement
>>>
>>> What can I do to get a compiling version?
>>>
>>>
>>

-- 
Patrick Linskey
202 669 5907


Mime
View raw message